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
39              always 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
53              machine 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       --retry-on=[attempts]
115              Count of attempts to retry power on (Default Value: 1)
116
117       --ssh-path=[path]
118              Path to ssh binary (Default Value: /usr/bin/ssh)
119
120

ACTIONS

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

STDIN PARAMETERS

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