1powerman.conf(5) powerman powerman.conf(5)
2
3
4
6 powerman.conf - configuration file for PowerMan
7
8
10 The powerman.conf file typically includes one or more of the remote
11 power controller (RPC) device files provided in the /etc/powerman
12 directory; sets a few global options; instantiates RPC devices with
13 unique names, hostnames, and ports; and maps node names to RPC's and
14 plug numbers.
15
16 Network-attached RPC's are instantiated with device lines of the form:
17
18 device "name" "type" "host:port"
19
20 Serial-attached RPC's are instantiated with device lines of the form:
21
22 device "name" "type" "special file" "flags"
23
24 where special file is the full path to a tty device, and flags is a
25 serial parameter specification in a form similar to that used by lilo,
26 e.g. "9600,8n1". RPC's that are accessed via coprocesses are instan‐
27 tiated as follows:
28
29 device "name" "type" "process |&"
30
31 where process is the full path to a process whose standard output and
32 input will be controlled by powerman, e.g. "/usr/bin/conman -Q -j rpc0
33 |&".
34
36 The following example is a 16-node cluster that uses two 8-plug Baytech
37 RPC-3 remote power controllers.
38
39 include "/etc/powerman/baytech.dev" # include def for "baytech" RPC
40
41 tcpwrappers yes # enable TCP wrappers
42
43 # listen "0.0.0.0:10101" # uncomment to listen on all interfaces
44
45 # Alias example - alias can be used in target specifications
46 alias "pengra_service" "pengra[0-1]"
47 alias "pengra_compute" "pengra[2-15]"
48
49 # Power controller: device <name> <type> <hostname:port> [<flags>]
50 device "pow0" "baytech" "pow0:23" # instantiate pow0
51 device "pow1" "baytech" "pow1:23" # instantiate pow1
52
53 # Plugs: node <name> <device> [<plug>]
54 node "pengra[0-7]" "pow0" "[1-8]" # map pengra0...pengra7 to pow0 plug 1-8
55 node "pengra[8-15]" "pow1" "[1-8]" # map pengra8...pengra15 to pow1 plug 1-8
56
57
59 /etc/powerman/powerman.conf
60 /etc/powerman/*.dev
61
62
64 PowerMan was originally developed by Andrew Uselton on LLNL's Linux
65 clusters. This software is open source and distributed under the terms
66 of the GNU GPL.
67
68
70 powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), power‐
71 man.conf(5), powerman.dev(5), powerman-devices(7).
72
73 http://sourceforge.net/projects/powerman
74
75
76
77powerman-2.3.5 2009-02-09 powerman.conf(5)