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 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 This parameter is always required.
39
40       -u, --ipport=[port]
41              TCP/UDP port to use for connection with device  (Default  Value:
42              22)
43
44       -l, --username=[name]
45              Login Name This parameter is always required.
46
47       -p, --password=[password]
48              Login password or passphrase
49
50       -S, --password-script=[script]
51              Script to retrieve password
52
53       -n, --plug=[id]
54              Physical  plug  number,  name  of  virtual  machine or UUID This
55              parameter is always required.
56
57       -x, --ssh
58              SSH connection (Default Value: 1)
59
60       --ssh-options=[options]
61              SSH options to use
62
63       -v, --verbose
64              Verbose mode
65
66       -D, --debug-file=[debugfile]
67              Write debug information to given file
68
69       -V, --version
70              Display version information and exit
71
72       -h, --help
73              Display help and exit
74
75       -C, --separator=[char]
76              Separator for CSV created by operation list (Default  Value:  ,)
77
78
79       --delay=[seconds]
80              Wait  X  seconds  before  fencing  is started (Default Value: 0)
81
82
83       --login-timeout=[seconds]
84              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
85
86
87       --power-timeout=[seconds]
88              Test  X  seconds  for status change after ON/OFF (Default Value:
89              20)
90
91       --power-wait=[seconds]
92              Wait X seconds after issuing ON/OFF (Default Value: 0)
93
94       --shell-timeout=[seconds]
95              Wait X seconds for cmd prompt  after  issuing  command  (Default
96              Value: 3)
97
98       --retry-on=[attempts]
99              Count of attempts to retry power on (Default Value: 1)
100
101       --ssh-path=[path]
102              Path to ssh binary (Default Value: /usr/bin/ssh)
103
104

ACTIONS

106
107
108       on     Power on machine.
109
110       off    Power off machine.
111
112       reboot Reboot machine.
113
114       status This returns the status of the plug/virtual machine.
115
116       list   List  available  plugs with aliases/virtual machines if there is
117              support for more then one device. Returns N/A otherwise.
118
119       list-status
120              List available plugs with  aliases/virtual  machines  and  their
121              power  state  if it can be obtained without additional commands.
122
123
124       monitor
125              Check the health of fence device
126
127       metadata
128              Display the XML metadata describing this resource.
129
130

STDIN PARAMETERS

132
133
134       action Fencing Action (Default Value: reboot)
135
136       cmd_prompt
137              Force Python regex for command prompt  (Default  Value:  ['MP>',
138              'hpiLO->'])
139
140       identity_file
141              Identity file for ssh
142
143       inet4_only
144              Forces agent to use IPv4 addresses only
145
146       inet6_only
147              Forces agent to use IPv6 addresses only
148
149       ipaddr IP Address or Hostname This parameter is always required.
150
151       ipport TCP/UDP  port  to use for connection with device (Default Value:
152              22)
153
154       login  Login Name This parameter is always required.
155
156       passwd Login password or passphrase
157
158       passwd_script
159              Script to retrieve password
160
161       port   Physical plug number, name  of  virtual  machine  or  UUID  This
162              parameter is always required.
163
164       secure SSH connection (Default Value: 1)
165
166       ssh_options
167              SSH options to use
168
169       verbose
170              Verbose mode
171
172       debug  Write debug information to given file
173
174       version
175              Display version information and exit
176
177       help   Display help and exit
178
179       separator
180              Separator  for  CSV created by operation list (Default Value: ,)
181
182
183       delay  Wait X seconds before fencing  is  started  (Default  Value:  0)
184
185
186       login_timeout
187              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
188
189
190       power_timeout
191              Test X seconds for status change after  ON/OFF  (Default  Value:
192              20)
193
194       power_wait
195              Wait X seconds after issuing ON/OFF (Default Value: 0)
196
197       shell_timeout
198              Wait  X  seconds  for  cmd prompt after issuing command (Default
199              Value: 3)
200
201       retry_on
202              Count of attempts to retry power on (Default Value: 1)
203
204       ssh_path
205              Path to ssh binary (Default Value: /usr/bin/ssh)
206
207
208
209fence_ilo_moonshot (Fence Agent)  2009-10-20                    FENCE_AGENT(8)
Impressum