1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
# Example powerman.conf file - see powerman.conf(1)
# Uncomment to enable TCP wrappers
#tcpwrappers yes
# Uncomment to listen on all ports (default is 127.0.0.1:10101)
#listen "0.0.0.0:10101"
# Uncomment to set syslog level for power on/off/reset/cycle requests
# (default is debug). Accepts the same level strings as logger(1).
#plug_log_level "info"
# Include device specifications for power controllers
#include "/etc/powerman/apc7900.dev"
#include "/etc/powerman/apc.dev"
#include "/etc/powerman/apcnew.dev"
#include "/etc/powerman/apcold.dev"
#include "/etc/powerman/apcpdu3.dev"
#include "/etc/powerman/apcpdu.dev"
#include "/etc/powerman/bashfun.dev"
#include "/etc/powerman/baytech.dev"
#include "/etc/powerman/baytech-rpc28-nc.dev"
#include "/etc/powerman/baytech-rpc3-nc.dev"
#include "/etc/powerman/cb-7050.dev"
#include "/etc/powerman/cyclades-pm10.dev"
#include "/etc/powerman/cyclades-pm20.dev"
#include "/etc/powerman/cyclades-pm42.dev"
#include "/etc/powerman/cyclades-pm8.dev"
#include "/etc/powerman/dli.dev"
#include "/etc/powerman/hp3488.dev"
#include "/etc/powerman/hpilo.dev"
#include "/etc/powerman/hpmpblade.dev"
#include "/etc/powerman/hpmpcell.dev"
#include "/etc/powerman/hpmp.dev"
#include "/etc/powerman/hpmpdome.dev"
#include "/etc/powerman/ibmbladecenter.dev"
#include "/etc/powerman/icebox3.dev"
#include "/etc/powerman/icebox.dev"
#include "/etc/powerman/ics8064.dev"
#include "/etc/powerman/ilom.dev"
#include "/etc/powerman/ipmi.dev"
#include "/etc/powerman/ipmipower.dev"
#include "/etc/powerman/lom.dev"
#include "/etc/powerman/phantom.dev"
#include "/etc/powerman/plmpower.dev"
#include "/etc/powerman/powerman.dev"
#include "/etc/powerman/swpdu.dev"
#include "/etc/powerman/wti.dev"
#include "/etc/powerman/wti-rps10.dev"
# Define devices (instances of power controllers)
# - Network-attached devices use the form:
# device "name" "type" "host:port"
# - Serial-attached devices use the form
# device "name" "type" "special file" "flags"
# where "flags" specifies baud and params such as "9600,8n1"
# - Devices that are accessed via coprocesses use the form
# device "name" "type" "executable-path [args...] |&"
# - The "name" field should be unique, and will be referenced in node defs.
# - The "type" field should match the quoted string at the beginning of
# the device specification.
#device "b1" "baytech-rpc28-nc" "cyclades1:7032"
#device "b2" "baytech-rpc28-nc" "cyclades1:7016"
#device "b3" "baytech-rpc28-nc" "/usr/bin/conman -j -Q b3 |&"
#device "b4" "baytech-rpc3-nc" "baytech4:23"
#device "lpc" "dli" "/usr/sbin/httppower -u http://192.168.0.100 |&"
#device "plm" "plmpower" "/usr/sbin/plmpower -d /dev/ttyS1 |&"
#device "wti1" "wti-rps10" "/dev/ttyS0" "9600,8n1"
#device "wti2" "wti-rps10" "/dev/ttyS2" "9600,8n1"
#device "ipmi1" "ipmipower" "/usr/sbin/ipmipower --wait-until-on --wait-until-off -h py[0-10] |&"
# Define nodes (the entities you turn on and off with powerman)
# - The longhand form is one line per node like this:
# node "node" "device" "plug"
# where "node" is the name you will use to refer to the node,
# "device" refers to the name you assigned above to the device the
# node is plugged into, and "plug" is the (device specific) plug identifier
# defined in the "plug name" portion of the device specification or
# otherwise following the pattern expected by that device.
# - It is possible to use hostranges to map ranges of nodes to ranges
# of plugs as follows:
# node "noderange" "device" "plugrange"
# - And if you just want to assign all the plugs in order, you can drop
# the plug range:
# node "noderange" "device"
#node "t1" "b1" "4" # first four plugs of 'b1' wired backwards
#node "t2" "b1" "3"
#node "t3" "b1" "2"
#node "t4" "b1" "1"
#node "t[5-20]" "b1" "[5-20]"
#node "t[21-40]" "b2"
#node "t[41-60]" "b3"
#node "x[1-8]" "lpc"
#node "y[0-10]" "ipmi1" "py[0-10]"
#node "porchlight" "plm" "A4.02.B3"
#node "kitchen" "plm" "A4.97.44"
#node "lamp" "plm" "G13"
# Aliases can be used to make new names for plugs, or to have one name
# refer to redundant power supplies.
#node "jimmy-ps1" "wti1" "7"
#node "jimmy-ps2" "wti2" "7"
#alias "jimmy" "jimmy-ps[1-2]"
|