1powerman-devices(7) powerman powerman-devices(7)
2
3
4
6 powerman‐devices - Powerman Device Configuration Notes
7
9 Following are notes on configuring various remote power controllers and
10 related equipment supported by PowerMan.
11
13 A cyclades TS-1000 configured so that PowerMan can connect to serial-
14 port-based remote power control devices using telnet is set up as fol‐
15 lows:
16
17 Attach console cable between laptop running minicom and console port at
18 9600,8n1 and authenticate with default account: root/tslinux.
19
20 Edit the following files (assumes no off-subnet routing or name service
21 required):
22
23 /etc/portslave/portslave.conf
24 conf.eth_ip 192.168.54.151
25 conf.eth_mask 255.255.255.0
26 conf.dhcp_client 0
27 #
28 all.speed 9600
29 all.datasize 8
30 all.stopbits 1
31 all.parity none
32 all.flow none
33 all.dcd 0
34 all.DTR_reset 1
35 all.protocol socket_server
36 all.authtype none
37 #all.ipno
38 all.socket_port 7001+
39 #
40 s1.tty ttyS1
41 s2.tty ttyS2
42 s3.tty ttyS3
43 s4.tty ttyS4
44 s5.tty ttyS5
45 s6.tty ttyS6
46 s7.tty ttyS7
47 s8.tty ttyS8
48 s9.tty ttyS9
49 s10.tty ttyS10
50 s11.tty ttyS11
51 s12.tty ttyS12
52 s13.tty ttyS13
53 s14.tty ttyS14
54 s15.tty ttyS15
55 s16.tty ttyS16
56
57 /etc/hostname
58 cyclades-ts-test
59
60 /etc/hosts
61 127.0.0.1 localhost
62 192.168.54.151 cycaldes-ts-test
63
64 Next, run signal_ras hup and saveconf and finally, power cycle the
65 unit. It should be possible to configure PowerMan to connect to host‐
66 name:7001 for port 1, hostname:7002 for port 2, etc..
67
69 Attach console cable between laptop running minicom and console port at
70 9600,8n1. Main menu should display.
71
72 From main menu, select 3)...Configuration, then set IP parameters.
73
74 From Configuration menu, select 5)...Access, then disable command con‐
75 firmation, set admin password to baytech, and enable prompt for pass‐
76 word. Exit Access menu by typing return.
77
78 From Configuration menu, select 6)...Outlets. Ensure that 1)...Outlet
79 Status display is disabled, and 2)...Command Confirmation is disabled.
80
81 Exit back to main menu by typing return twice, then answer Y to the
82 Accept changes? prompt.
83
85 Attach console cable between laptop running minicom and console port at
86 9600,8n1. Type return to get RPC-28> prompt. Type Help for a list of
87 commands.
88
89 Select config. Select 3)...Enable/Disable Confirmation and disable
90 confirmation. Select 4)...Enable/Disable Status Menu and disable sta‐
91 tus menu
92
94 Attach console cable between laptop running minicom and console port at
95 9600,8n1. Enter default password of icebox.
96
97 net ip 192.168.54.153
98 Sets IP address.
99
100 net mask 255.255.255.0
101 Sets network mask
102
103 net gw 192.168.54.254
104 Set default gateway. Note: this may need to be set to an
105 address in the same subnet as the ice box regardless of whether
106 it is to be used or not.
107
108 reboot Reboots the icebox.
109
111 Attach console cable between laptop running minicom and console port at
112 9600,8n1. Authenticate with default account admin/icebox. Configura‐
113 tion is the same as the V2 ICE BOX.
114
116 Attach console cable between laptop running minicom and console port
117 (may be labeled ``advanced port'') at 2400,8n1. Press enter, then
118 authenticate with default account apc/apc.
119
120 Choose Network from main menu.
121
122 Choose TCP/IP from Network menu, then diable BOOTP, and accept changes.
123 Set the IP address, subnet mask, and default gateway, and accept
124 changes.
125
126 Pres ESC until the main menu appears, then select Logout.
127
129 Set address of box using the rotary dial on the back. The Master mod‐
130 ule must be set to address 0. Slave modules may be set to unique val‐
131 ues from 1-9. The address corresponds to the plug name in the power‐
132 man.conf file.
133
134 Setup switches on each module should be set to 9600 baud (sw1 down), 5
135 sec toggle delay (sw2 down), power up to previous state (sw3 down).
136
138 Attach console cable between laptop running minicom and console port at
139 9600,8n1. Try password "wti" if prompted.
140
141 Select /N - View/set network parameters, then set the IP address, sub‐
142 net mask, and gateway.
143
144 Select /G - General paramters, then disable command confirmation,
145 enable command echo, and set disconnect timeout to the maximum value
146 (30 minutes).
147
148 Set password to "wti".
149
151 Attach console cable between laptop running minicom and serial port
152 9600,8n1. Press enter, then authenticate with default account
153 admin/pm8.
154
155 Run factory_defaults command.
156
157 The PM8 can run in a mode where it can be daisy chained from a Cyclades
158 terminal server. This mode is not yet supported by PowerMan.
159
161 The dedicated ILOM serial port (SER MGT RJ-45) runs at 9600,8n1 and the
162 default login is root/changeme. Use a Sun/NETRA/Cisco RJ45 adapter to
163 connect to Cyclades TS.
164
165 The dedicated ILOM ethernet port (NET MGT RJ-45) can be configured for
166 DHCP (the default) or static IP settings. To configure static IP via
167 the ILOM serial port, run:
168
169 cd /SP/network
170 set pendingipdiscovery=static
171 set pendingipaddress=xxx.xxx.xxx.xxx
172 set pendingipnetmask=xxx.xxx.xxx.xxx
173 set pendingipgateway=xxx.xxx.xxx.xxx
174 set commitpending=true
175
176 The ILOM network configuration can alternatively be set up via the sys‐
177 tem BIOS setup screen. Hit F2 during boot to access BIOS setup, go to
178 the "Advanced" tab, select "IPMI 2.0 configuration" and "set LAN con‐
179 figuration". Make your changes and commit them.
180
182 IPMI based power control is supported via FreeIPMI's ipmipower. It is
183 configured by running ipmipower in coprocess mode in powerman.conf
184
185 Due to semantic differences between IPMI and traditional remote power
186 control devices, some power control operations may not seem to work
187 properly by default with Powerman. For example, several IPMI power
188 control operations are allowed to return prior to the operation fully
189 completing. A machine that has been powered off by IPMI may be later
190 queried as being powered on. This is because IPMI may successfully
191 return from a power off operation to the user, but the machine may
192 elect to power itself off at a later time. In order to get around sev‐
193 eral of these issues, it is recommended that the user configure
194 ipmipower with the --wait-until-on and --wait-until-off options. With
195 these options set, ipmipower will behave more like traditional remote
196 power control devices.
197
198 In order to hide IPMI usernames and passwords from ps(1), it is also
199 recommended that the user configure the username and password (and at
200 your discretion, the above options) using the FreeIPMI configuration
201 file and not in the powerman.conf file. Please see the ipmipower sec‐
202 tion of the freeipmi.conf(5) manpage for more information.
203
204 Because IPMI usernames and passwords are sensitive, the default
205 FreeIPMI configuration file is only readable and writable by root.
206 This may conflict with the default powermand daemon settings, thus mak‐
207 ing the configuration file non-readable. Administrators may wish to
208 run the powermand daemon as root or adjust the configuration file per‐
209 missions as needed.
210
211
213 The "hpilo" script supports the Integrated Lights-Out management pro‐
214 cessor in HP ProLiant servers, including both rack-mount and blade
215 servers. Configure the iLO to allow Telnet access on port 23, and add
216 a user "Admin" with password "Admin". You may have to reduce the mini‐
217 mum password length on the Administration/Access/Options tab of the web
218 interface.
219
220
222 The "hpmp" script supports the Management Processor in HP non-cellular,
223 rack-mount Integrity servers. Configure the MP to allow Telnet access
224 with the "CM:SA" command, and make sure there's a user "Admin" with
225 password "Admin". If the MP enforces a minimum password length, you
226 may have to use "uc -all default" to restore the default Admin/Admin
227 user.
228
229
231 The "hpmpcell" script supports the Management Processor in HP mid-range
232 cellular servers. Configure the MP to allow Telnet access with the
233 "CM:SA" command, and make sure there's a user "Admin" with password
234 "Admin".
235
236
238 The "hpmpdome" script supports the Management Processor in HP Superdome
239 servers. Configure the MP to allow Telnet access with the "CM:SA" com‐
240 mand, and make sure there's a user "Admin" with password "Admin".
241
242
244 The "hpmpblade" script supports the Management Processor in HP
245 Integrity blade servers. Configure the MP to allow Telnet access with
246 the "CM:SA" command, and make sure there's a user "Admin" with password
247 "Admin".
248
249
251 PowerMan was originally developed by Andrew Uselton on LLNL's Linux
252 clusters. This software is open source and distributed under the terms
253 of the GNU GPL.
254
255
257 powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), power‐
258 man.conf(5), powerman.dev(5), powerman-devices(7).
259
260 http://sourceforge.net/projects/powerman
261
262
263
264powerman-2.3.5 2009-02-09 powerman-devices(7)