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

NAME

7       fence_ilo_mp - Fence agent for HP iLO MP
8

DESCRIPTION

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

PARAMETERS

18
19
20       -o, --action=[action]
21              Fencing action (Default Value: reboot)
22
23       -c, --command-prompt=[prompt]
24              Force Python regex for command prompt  (Default  Value:  ['MP>',
25              'hpiLO->'])
26
27       -k, --identity-file=[filename]
28              Identity file (private key) for SSH
29
30       -4, --inet4-only
31              Forces agent to use IPv4 addresses only
32
33       -6, --inet6-only
34              Forces agent to use IPv6 addresses only
35
36       -a, --ip=[ip]
37              IP address or hostname of fencing device
38
39       -u, --ipport=[port]
40              TCP/UDP  port  to use for connection with device (Default Value:
41              23)
42
43       -p, --password=[password]
44              Login password or passphrase
45
46       -S, --password-script=[script]
47              Script to run to retrieve password
48
49       -n, --plug=[ip]
50              IP address or hostname of fencing device (together with  --port-
51              as-ip)
52
53       -x, --ssh
54              Use SSH connection
55
56       --ssh-options=[options]
57              SSH options to use
58
59       -l, --username=[name]
60              Login name This parameter is always required.
61
62       -q, --quiet
63              Disable logging to stderr. Does not affect --verbose or --debug-
64              file or logging to syslog.
65
66       -v, --verbose
67              Verbose mode
68
69       -D, --debug-file=[debugfile]
70              Write debug information to given file
71
72       -V, --version
73              Display version information and exit
74
75       -h, --help
76              Display help and exit
77
78       --delay=[seconds]
79              Wait X seconds before fencing  is  started  (Default  Value:  0)
80
81
82       --login-timeout=[seconds]
83              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
84
85
86       --port-as-ip
87              Make "port/plug" to be an alias to IP address
88
89       --power-timeout=[seconds]
90              Test X seconds for status change after  ON/OFF  (Default  Value:
91              20)
92
93       --power-wait=[seconds]
94              Wait X seconds after issuing ON/OFF (Default Value: 5)
95
96       --shell-timeout=[seconds]
97              Wait  X  seconds  for  cmd prompt after issuing command (Default
98              Value: 3)
99
100       --retry-on=[attempts]
101              Count of attempts to retry power on (Default Value: 1)
102
103       --ssh-path=[path]
104              Path to ssh binary (Default Value: /usr/bin/ssh)
105
106       --telnet-path=[path]
107              Path to telnet binary (Default Value: /usr/bin/telnet)
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       monitor
122              Check the health of fence device
123
124       metadata
125              Display the XML metadata describing this resource.
126
127       manpage
128               The operational behavior of this is not known.
129
130       validate-all
131              Validate if all required parameters are entered.
132
133

STDIN PARAMETERS

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