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

NAME

7       fence_raritan - I/O Fencing agent for Raritan Dominion PX
8

DESCRIPTION

10       fence_raritan  is an I/O Fencing agent which can be used with the Rari‐
11       tan DPXS12-20 Power Distribution Unit. It logs into device  via  telnet
12       and  reboots  a  specified outlet. Lengthy telnet connections should be
13       avoided while a GFS cluster is  running  because  the  connection  will
14       block any necessary fencing actions.
15
16       fence_raritan  accepts  options  on  the  command  line as well as from
17       stdin. Fenced sends parameters through stdin when it execs  the  agent.
18       fence_raritan  can be run by itself with command line options.  This is
19       useful for testing and for turning outlets on or off from scripts.
20
21       Vendor URL: http://www.raritan.com/
22

PARAMETERS

24
25
26       -o, --action=[action]
27              Fencing action (Default Value: reboot)
28
29       -a, --ip=[ip]
30              IP address or hostname of fencing device This parameter  is  al‐
31              ways required.
32
33       -u, --ipport=[port]
34              TCP/UDP  port  to use for connection with device (Default Value:
35              23)
36
37       -p, --password=[password]
38              Login password or passphrase
39
40       -S, --password-script=[script]
41              Script to run to retrieve password
42
43       -n, --plug=[id]
44              Physical plug number on device, UUID or  identification  of  ma‐
45              chine This parameter is always required.
46
47       -l, --username=[name]
48              Login name This parameter is always required.
49
50       -q, --quiet
51              Disable logging to stderr. Does not affect --verbose or --debug-
52              file or logging to syslog.
53
54       -v, --verbose
55              Verbose mode. Multiple -v flags can be stacked  on  the  command
56              line (e.g., -vvv) to increase verbosity.
57
58       --verbose-level
59              Level  of  debugging detail in output. Defaults to the number of
60              --verbose flags specified on the command line, or to 1  if  ver‐
61              bose=1  in  a  stonith  device  configuration  (i.e., on stdin).
62
63
64       -D, --debug-file=[debugfile]
65              Write debug information to given file
66
67       -V, --version
68              Display version information and exit
69
70       -h, --help
71              Display help and exit
72
73       -C, --separator=[char]
74              Separator for CSV created by 'list' operation (Default Value: ,)
75
76
77       --delay=[seconds]
78              Wait  X  seconds  before  fencing  is started (Default Value: 0)
79
80
81       --disable-timeout=[true/false]
82              Disable timeout (true/false) (default: true when run from  Pace‐
83              maker 2.0+)
84
85       --login-timeout=[seconds]
86              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
87
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: 0)
95
96       --shell-timeout=[seconds]
97              Wait  X  seconds  for  cmd prompt after issuing command (Default
98              Value: 3)
99
100       --stonith-status-sleep=[seconds]
101              Sleep X seconds between status calls  during  a  STONITH  action
102              (Default Value: 1)
103
104       --retry-on=[attempts]
105              Count of attempts to retry power on (Default Value: 1)
106
107       --telnet-path=[path]
108              Path to telnet binary (Default Value: /usr/bin/telnet)
109
110

ACTIONS

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

STDIN PARAMETERS

144
145
146       action Fencing action (Default Value: reboot)
147
148       ip     IP address or hostname of fencing device This parameter  is  al‐
149              ways required. Obsoletes: ipaddr
150
151       ipport TCP/UDP  port  to use for connection with device (Default Value:
152              23)
153
154       password
155              Login password or passphrase Obsoletes: passwd
156
157       password_script
158              Script to run  to  retrieve  password  Obsoletes:  passwd_script
159
160
161       plug   Physical  plug  number  on device, UUID or identification of ma‐
162              chine This parameter is always required. Obsoletes:  port
163
164
165       username
166              Login  name  This parameter is always required. Obsoletes: login
167
168
169       quiet  Disable logging to stderr. Does not affect --verbose or --debug-
170              file or logging to syslog.
171
172       verbose
173              Verbose  mode.  Multiple  -v flags can be stacked on the command
174              line (e.g., -vvv) to increase verbosity.
175
176       verbose_level
177              Level of debugging detail in output. Defaults to the  number  of
178              --verbose  flags  specified on the command line, or to 1 if ver‐
179              bose=1 in a  stonith  device  configuration  (i.e.,  on  stdin).
180
181
182       debug_file
183              Write debug information to given file Obsoletes: debug
184
185       version
186              Display version information and exit
187
188       help   Display help and exit
189
190       separator
191              Separator for CSV created by 'list' operation (Default Value: ,)
192
193
194       delay  Wait X seconds before fencing  is  started  (Default  Value:  0)
195
196
197       disable_timeout
198              Disable  timeout (true/false) (default: true when run from Pace‐
199              maker 2.0+)
200
201       login_timeout
202              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
203
204
205       power_timeout
206              Test  X  seconds  for status change after ON/OFF (Default Value:
207              20)
208
209       power_wait
210              Wait X seconds after issuing ON/OFF (Default Value: 0)
211
212       shell_timeout
213              Wait X seconds for cmd prompt  after  issuing  command  (Default
214              Value: 3)
215
216       stonith_status_sleep
217              Sleep  X  seconds  between  status calls during a STONITH action
218              (Default Value: 1)
219
220       retry_on
221              Count of attempts to retry power on (Default Value: 1)
222
223       telnet_path
224              Path to telnet binary (Default Value: /usr/bin/telnet)
225
226
227
228fence_raritan (Fence Agent)       2009-10-20                    FENCE_AGENT(8)
Impressum