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
70
71       -D, --debug-file=[debugfile]
72              Write debug information to given file
73
74       -V, --version
75              Display version information and exit
76
77       -h, --help
78              Display help and exit
79
80       -C, --separator=[char]
81              Separator for CSV created by 'list' operation (Default Value: ,)
82
83
84       --delay=[seconds]
85              Wait  X  seconds  before  fencing  is started (Default Value: 0)
86
87
88       --login-timeout=[seconds]
89              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
90
91
92       --power-timeout=[seconds]
93              Test  X  seconds  for status change after ON/OFF (Default Value:
94              20)
95
96       --power-wait=[seconds]
97              Wait X seconds after issuing ON/OFF (Default Value: 0)
98
99       --shell-timeout=[seconds]
100              Wait X seconds for cmd prompt  after  issuing  command  (Default
101              Value: 3)
102
103       --retry-on=[attempts]
104              Count of attempts to retry power on (Default Value: 1)
105
106       --ssh-path=[path]
107              Path to ssh binary (Default Value: /usr/bin/ssh)
108
109

ACTIONS

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

STDIN PARAMETERS

143
144
145       action Fencing action (Default Value: reboot)
146
147       command_prompt
148              Force Python regex for command prompt  (Default  Value:  ['MP>',
149              'hpiLO->']) Obsoletes: cmd_prompt
150
151       identity_file
152              Identity file (private key) for SSH
153
154       inet4_only
155              Forces agent to use IPv4 addresses only
156
157       inet6_only
158              Forces agent to use IPv6 addresses only
159
160       ip     IP  address  or  hostname  of  fencing  device This parameter is
161              always required. Obsoletes: ipaddr
162
163       ipport TCP/UDP port to use for connection with device  (Default  Value:
164              22)
165
166       password
167              Login password or passphrase Obsoletes: passwd
168
169       password_script
170              Script  to  run  to  retrieve  password Obsoletes: passwd_script
171
172
173       plug   Physical plug  number  on  device,  UUID  or  identification  of
174              machine This parameter is always required. Obsoletes: port
175
176
177       ssh    Use SSH connection (Default Value: 1) Obsoletes: secure
178
179       ssh_options
180              SSH options to use
181
182       username
183              Login name This parameter is always required.  Obsoletes:  login
184
185
186       quiet  Disable logging to stderr. Does not affect --verbose or --debug-
187              file or logging to syslog.
188
189       verbose
190              Verbose mode
191
192       debug_file
193              Write debug information to given file Obsoletes: debug
194
195       version
196              Display version information and exit
197
198       help   Display help and exit
199
200       separator
201              Separator for CSV created by 'list' operation (Default Value: ,)
202
203
204       delay  Wait  X  seconds  before  fencing  is started (Default Value: 0)
205
206
207       login_timeout
208              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
209
210
211       power_timeout
212              Test  X  seconds  for status change after ON/OFF (Default Value:
213              20)
214
215       power_wait
216              Wait X seconds after issuing ON/OFF (Default Value: 0)
217
218       shell_timeout
219              Wait X seconds for cmd prompt  after  issuing  command  (Default
220              Value: 3)
221
222       retry_on
223              Count of attempts to retry power on (Default Value: 1)
224
225       ssh_path
226              Path to ssh binary (Default Value: /usr/bin/ssh)
227
228
229
230fence_ilo_moonshot (Fence Agent)  2009-10-20                    FENCE_AGENT(8)
Impressum