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

NAME

7       fence_ilo_moonshot - Fence agent for HP Moonshot iLO
8

DESCRIPTION

10       fence_ilo_moonshot  accepts options on the command line as well as from
11       stdin. Fenced sends parameters through stdin when it execs  the  agent.
12       fence_ilo_moonshot  can  be  run  by  itself with command line options.
13       This is useful for testing and for  turning  outlets  on  or  off  from
14       scripts.
15
16       Vendor URL: http://www.hp.com
17

PARAMETERS

19
20
21       -o, --action=[action]
22              Fencing action (Default Value: reboot)
23
24       -c, --command-prompt=[prompt]
25              Force  Python  regex  for command prompt (Default Value: ['MP>',
26              'hpiLO->'])
27
28       -k, --identity-file=[filename]
29              Identity file (private key) for SSH
30
31       -4, --inet4-only
32              Forces agent to use IPv4 addresses only
33
34       -6, --inet6-only
35              Forces agent to use IPv6 addresses only
36
37       -a, --ip=[ip]
38              IP address or hostname of fencing device This parameter  is  al‐
39              ways required.
40
41       -u, --ipport=[port]
42              TCP/UDP  port  to use for connection with device (Default Value:
43              22)
44
45       -p, --password=[password]
46              Login password or passphrase
47
48       -S, --password-script=[script]
49              Script to run to retrieve password
50
51       -n, --plug=[id]
52              Physical plug number on device, UUID or  identification  of  ma‐
53              chine This parameter is always required.
54
55       -x, --ssh
56              Use SSH connection (Default Value: 1)
57
58       --ssh-options=[options]
59              SSH options to use
60
61       -l, --username=[name]
62              Login name This parameter is always required.
63
64       -q, --quiet
65              Disable logging to stderr. Does not affect --verbose or --debug-
66              file or logging to syslog.
67
68       -v, --verbose
69              Verbose mode. Multiple -v flags can be stacked  on  the  command
70              line (e.g., -vvv) to increase verbosity.
71
72       --verbose-level
73              Level  of  debugging detail in output. Defaults to the number of
74              --verbose flags specified on the command line, or to 1  if  ver‐
75              bose=1  in  a  stonith  device  configuration  (i.e., on stdin).
76
77
78       -D, --debug-file=[debugfile]
79              Write debug information to given file
80
81       -V, --version
82              Display version information and exit
83
84       -h, --help
85              Display help and exit
86
87       -C, --separator=[char]
88              Separator for CSV created by 'list' operation (Default Value: ,)
89
90
91       --delay=[seconds]
92              Wait  X  seconds  before  fencing  is started (Default Value: 0)
93
94
95       --disable-timeout=[true/false]
96              Disable timeout (true/false) (default: true when run from  Pace‐
97              maker 2.0+)
98
99       --login-timeout=[seconds]
100              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
101
102
103       --power-timeout=[seconds]
104              Test X seconds for status change after  ON/OFF  (Default  Value:
105              20)
106
107       --power-wait=[seconds]
108              Wait X seconds after issuing ON/OFF (Default Value: 0)
109
110       --shell-timeout=[seconds]
111              Wait  X  seconds  for  cmd prompt after issuing command (Default
112              Value: 3)
113
114       --stonith-status-sleep=[seconds]
115              Sleep X seconds between status calls  during  a  STONITH  action
116              (Default Value: 1)
117
118       --retry-on=[attempts]
119              Count of attempts to retry power on (Default Value: 1)
120
121       --ssh-path=[path]
122              Path to ssh binary (Default Value: /usr/bin/ssh)
123
124

ACTIONS

126
127
128       on     Power on machine.
129
130       off    Power off machine.
131
132       reboot Reboot machine.
133
134       status This returns the status of the plug/virtual machine.
135
136       list   List  available  plugs with aliases/virtual machines if there is
137              support for more then one device. Returns N/A otherwise.
138
139       list-status
140              List available plugs with  aliases/virtual  machines  and  their
141              power  state  if it can be obtained without additional commands.
142
143
144       monitor
145              Check the health of fence device
146
147       metadata
148              Display the XML metadata describing this resource.
149
150       manpage
151               The operational behavior of this is not known.
152
153       validate-all
154              Validate if all required parameters are entered.
155
156

STDIN PARAMETERS

158
159
160       action Fencing action (Default Value: reboot)
161
162       command_prompt
163              Force Python regex for command prompt  (Default  Value:  ['MP>',
164              'hpiLO->']) Obsoletes: cmd_prompt
165
166       identity_file
167              Identity file (private key) for SSH
168
169       inet4_only
170              Forces agent to use IPv4 addresses only
171
172       inet6_only
173              Forces agent to use IPv6 addresses only
174
175       ip     IP  address  or hostname of fencing device This parameter is al‐
176              ways required. Obsoletes: ipaddr
177
178       ipport TCP/UDP port to use for connection with device  (Default  Value:
179              22)
180
181       password
182              Login password or passphrase Obsoletes: passwd
183
184       password_script
185              Script  to  run  to  retrieve  password Obsoletes: passwd_script
186
187
188       plug   Physical plug number on device, UUID or  identification  of  ma‐
189              chine  This  parameter is always required. Obsoletes: port
190
191
192       ssh    Use SSH connection (Default Value: 1) Obsoletes: secure
193
194       ssh_options
195              SSH options to use
196
197       username
198              Login name This parameter is always required.  Obsoletes:  login
199
200
201       quiet  Disable logging to stderr. Does not affect --verbose or --debug-
202              file or logging to syslog.
203
204       verbose
205              Verbose mode. Multiple -v flags can be stacked  on  the  command
206              line (e.g., -vvv) to increase verbosity.
207
208       verbose_level
209              Level  of  debugging detail in output. Defaults to the number of
210              --verbose flags specified on the command line, or to 1  if  ver‐
211              bose=1  in  a  stonith  device  configuration  (i.e., on stdin).
212
213
214       debug_file
215              Write debug information to given file Obsoletes: debug
216
217       version
218              Display version information and exit
219
220       help   Display help and exit
221
222       separator
223              Separator for CSV created by 'list' operation (Default Value: ,)
224
225
226       delay  Wait  X  seconds  before  fencing  is started (Default Value: 0)
227
228
229       disable_timeout
230              Disable timeout (true/false) (default: true when run from  Pace‐
231              maker 2.0+)
232
233       login_timeout
234              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
235
236
237       power_timeout
238              Test X seconds for status change after  ON/OFF  (Default  Value:
239              20)
240
241       power_wait
242              Wait X seconds after issuing ON/OFF (Default Value: 0)
243
244       shell_timeout
245              Wait  X  seconds  for  cmd prompt after issuing command (Default
246              Value: 3)
247
248       stonith_status_sleep
249              Sleep X seconds between status calls  during  a  STONITH  action
250              (Default Value: 1)
251
252       retry_on
253              Count of attempts to retry power on (Default Value: 1)
254
255       ssh_path
256              Path to ssh binary (Default Value: /usr/bin/ssh)
257
258
259
260fence_ilo_moonshot (Fence Agent)  2009-10-20                    FENCE_AGENT(8)
Impressum