1
2FENCE_AGENT(8)              System Manager's Manual             FENCE_AGENT(8)
3
4
5

NAME

7       fence_ibmblade - Fence agent for IBM BladeCenter over SNMP
8

DESCRIPTION

10       fence_ibmblade  is  an  I/O  Fencing  agent  which can be used with IBM
11       BladeCenter chassis. It issues SNMP Set request to BladeCenter chassis,
12       rebooting, powering up or down the specified Blade Server.
13
14       fence_ibmblade  accepts  options  on  the  command line as well as from
15       stdin. Fenced sends parameters through stdin when it execs  the  agent.
16       fence_ibmblade can be run by itself with command line options.  This is
17       useful for testing and for turning outlets on or off from scripts.
18
19       Vendor URL: http://www.ibm.com
20

PARAMETERS

22
23
24       -o, --action=[action]
25              Fencing action (Default Value: reboot)
26
27       -c, --community=[community]
28              Set the community string
29
30       -a, --ip=[ip]
31              IP address or hostname of fencing device This parameter  is  al‐
32              ways required.
33
34       -u, --ipport=[port]
35              TCP/UDP  port  to use for connection with device (Default Value:
36              161)
37
38       -p, --password=[password]
39              Login password or passphrase
40
41       -S, --password-script=[script]
42              Script to run to retrieve password
43
44       -n, --plug=[id]
45              Physical plug number on device, UUID or  identification  of  ma‐
46              chine This parameter is always required.
47
48       -b, --snmp-auth-prot=[prot]
49              Set authentication protocol (MD5|SHA)
50
51       -P, --snmp-priv-passwd=[pass]
52              Set privacy protocol password
53
54       -R, --snmp-priv-passwd-script
55              Script to run to retrieve privacy password
56
57       -B, --snmp-priv-prot=[prot]
58              Set privacy protocol (DES|AES)
59
60       -E, --snmp-sec-level=[level]
61              Set security level (noAuthNoPriv|authNoPriv|authPriv)
62
63       -d, --snmp-version=[version]
64              Specifies SNMP version to use (1|2c|3) (Default Value: 1)
65
66       -l, --username=[name]
67              Login name
68
69       -q, --quiet
70              Disable logging to stderr. Does not affect --verbose or --debug-
71              file or logging to syslog.
72
73       -v, --verbose
74              Verbose mode. Multiple -v flags can be stacked  on  the  command
75              line (e.g., -vvv) to increase verbosity.
76
77       --verbose-level
78              Level  of  debugging detail in output. Defaults to the number of
79              --verbose flags specified on the command line, or to 1  if  ver‐
80              bose=1  in  a  stonith  device  configuration  (i.e., on stdin).
81
82
83       -D, --debug-file=[debugfile]
84              Write debug information to given file
85
86       -V, --version
87              Display version information and exit
88
89       -h, --help
90              Display help and exit
91
92       --plug-separator=[char]
93              Separator for plug parameter when specifying more  than  1  plug
94              (Default Value: ,)
95
96       -C, --separator=[char]
97              Separator for CSV created by 'list' operation (Default Value: ,)
98
99
100       --delay=[seconds]
101              Wait X seconds before fencing  is  started  (Default  Value:  0)
102
103
104       --disable-timeout=[true/false]
105              Disable  timeout (true/false) (default: true when run from Pace‐
106              maker 2.0+)
107
108       --login-timeout=[seconds]
109              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
110
111
112       --power-timeout=[seconds]
113              Test  X  seconds  for status change after ON/OFF (Default Value:
114              20)
115
116       --power-wait=[seconds]
117              Wait X seconds after issuing ON/OFF (Default Value: 0)
118
119       --shell-timeout=[seconds]
120              Wait X seconds for cmd prompt  after  issuing  command  (Default
121              Value: 3)
122
123       --stonith-status-sleep=[seconds]
124              Sleep  X  seconds  between  status calls during a STONITH action
125              (Default Value: 1)
126
127       --retry-on=[attempts]
128              Count of attempts to retry power on (Default Value: 1)
129
130       --snmpget-path=[path]
131              Path to snmpget binary (Default Value: /usr/bin/snmpget)
132
133       --snmpset-path=[path]
134              Path to snmpset binary (Default Value: /usr/bin/snmpset)
135
136       --snmpwalk-path=[path]
137              Path to snmpwalk binary (Default Value: /usr/bin/snmpwalk)
138
139

ACTIONS

141
142
143       on     Power on machine.
144
145       off    Power off machine.
146
147       reboot Reboot machine.
148
149       status This returns the status of the plug/virtual machine.
150
151       list   List available plugs with aliases/virtual machines if  there  is
152              support for more then one device. Returns N/A otherwise.
153
154       list-status
155              List  available  plugs  with  aliases/virtual machines and their
156              power state if it can be obtained without  additional  commands.
157
158
159       monitor
160              Check the health of fence device
161
162       metadata
163              Display the XML metadata describing this resource.
164
165       manpage
166               The operational behavior of this is not known.
167
168       validate-all
169              Validate if all required parameters are entered.
170
171

STDIN PARAMETERS

173
174
175       action Fencing action (Default Value: reboot)
176
177       community
178              Set the community string
179
180       ip     IP  address  or hostname of fencing device This parameter is al‐
181              ways required. Obsoletes: ipaddr
182
183       ipport TCP/UDP port to use for connection with device  (Default  Value:
184              161)
185
186       password
187              Login password or passphrase Obsoletes: passwd
188
189       password_script
190              Script  to  run  to  retrieve  password Obsoletes: passwd_script
191
192
193       plug   Physical plug number on device, UUID or  identification  of  ma‐
194              chine  This  parameter is always required. Obsoletes: port
195
196
197       snmp_auth_prot
198              Set authentication protocol (MD5|SHA)
199
200       snmp_priv_passwd
201              Set privacy protocol password
202
203       snmp_priv_passwd_script
204              Script to run to retrieve privacy password
205
206       snmp_priv_prot
207              Set privacy protocol (DES|AES)
208
209       snmp_sec_level
210              Set security level (noAuthNoPriv|authNoPriv|authPriv)
211
212       snmp_version
213              Specifies SNMP version to use (1|2c|3) (Default Value: 1)
214
215       username
216              Login name Obsoletes: login
217
218       quiet  Disable logging to stderr. Does not affect --verbose or --debug-
219              file or logging to syslog.
220
221       verbose
222              Verbose  mode.  Multiple  -v flags can be stacked on the command
223              line (e.g., -vvv) to increase verbosity.
224
225       verbose_level
226              Level of debugging detail in output. Defaults to the  number  of
227              --verbose  flags  specified on the command line, or to 1 if ver‐
228              bose=1 in a  stonith  device  configuration  (i.e.,  on  stdin).
229
230
231       debug_file
232              Write debug information to given file Obsoletes: debug
233
234       version
235              Display version information and exit
236
237       help   Display help and exit
238
239       plug_separator
240              Separator  for  plug  parameter when specifying more than 1 plug
241              (Default Value: ,)
242
243       separator
244              Separator for CSV created by 'list' operation (Default Value: ,)
245
246
247       delay  Wait  X  seconds  before  fencing  is started (Default Value: 0)
248
249
250       disable_timeout
251              Disable timeout (true/false) (default: true when run from  Pace‐
252              maker 2.0+)
253
254       login_timeout
255              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
256
257
258       power_timeout
259              Test X seconds for status change after  ON/OFF  (Default  Value:
260              20)
261
262       power_wait
263              Wait X seconds after issuing ON/OFF (Default Value: 0)
264
265       shell_timeout
266              Wait  X  seconds  for  cmd prompt after issuing command (Default
267              Value: 3)
268
269       stonith_status_sleep
270              Sleep X seconds between status calls  during  a  STONITH  action
271              (Default Value: 1)
272
273       retry_on
274              Count of attempts to retry power on (Default Value: 1)
275
276       snmpget_path
277              Path to snmpget binary (Default Value: /usr/bin/snmpget)
278
279       snmpset_path
280              Path to snmpset binary (Default Value: /usr/bin/snmpset)
281
282       snmpwalk_path
283              Path to snmpwalk binary (Default Value: /usr/bin/snmpwalk)
284
285
286
287fence_ibmblade (Fence Agent)      2009-10-20                    FENCE_AGENT(8)
Impressum