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

NAME

7       fence_drac - I/O Fencing agent for Dell DRAC IV
8

DESCRIPTION

10       fence_drac  is an I/O Fencing agent which can be used with the Dell Re‐
11       mote Access Card (DRAC). This card provides remote access  to  control‐
12       ling power to a server. It logs into the DRAC through the telnet inter‐
13       face of the card. By default, the telnet interface is not  enabled.  To
14       enable  the  interface,  you will need to use the racadm command in the
15       racser-devel rpm available from Dell.  To enable telnet  on  the  DRAC:
16       [root]#  racadm  config -g cfgSerial -o cfgSerialTelnetEnable 1 [root]#
17       racadm racreset
18
19       fence_drac accepts options on the command line as well as  from  stdin.
20       Fenced  sends  parameters  through  stdin  when  it  execs  the  agent.
21       fence_drac can be run by itself with command  line  options.   This  is
22       useful for testing and for turning outlets on or off from scripts.
23
24       Vendor URL: http://www.dell.com
25

PARAMETERS

27
28
29       -o, --action=[action]
30              Fencing action (Default Value: reboot)
31
32       -c, --command-prompt=[prompt]
33              Force  Python regex for command prompt (Default Value: ['\[user‐
34              name\]# '])
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       -l, --username=[name]
54              Login name This parameter is always required.
55
56       -q, --quiet
57              Disable logging to stderr. Does not affect --verbose or --debug-
58              file or logging to syslog.
59
60       -v, --verbose
61              Verbose  mode.  Multiple  -v flags can be stacked on the command
62              line (e.g., -vvv) to increase verbosity.
63
64       --verbose-level
65              Level of debugging detail in output. Defaults to the  number  of
66              --verbose  flags  specified on the command line, or to 1 if ver‐
67              bose=1 in a  stonith  device  configuration  (i.e.,  on  stdin).
68
69
70       -D, --debug-file=[debugfile]
71              Write debug information to given file
72
73       -V, --version
74              Display version information and exit
75
76       -h, --help
77              Display help and exit
78
79       --delay=[seconds]
80              Wait  X  seconds  before  fencing  is started (Default Value: 0)
81
82
83       --disable-timeout=[true/false]
84              Disable timeout (true/false) (default: true when run from  Pace‐
85              maker 2.0+)
86
87       --login-timeout=[seconds]
88              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
89
90
91       --port-as-ip
92              Make "port/plug" to be an alias to IP address
93
94       --power-timeout=[seconds]
95              Test X seconds for status change after  ON/OFF  (Default  Value:
96              20)
97
98       --power-wait=[seconds]
99              Wait X seconds after issuing ON/OFF (Default Value: 0)
100
101       --shell-timeout=[seconds]
102              Wait  X  seconds  for  cmd prompt after issuing command (Default
103              Value: 3)
104
105       --stonith-status-sleep=[seconds]
106              Sleep X seconds between status calls  during  a  STONITH  action
107              (Default Value: 1)
108
109       --retry-on=[attempts]
110              Count of attempts to retry power on (Default Value: 1)
111
112       --telnet-path=[path]
113              Path to telnet binary (Default Value: /usr/bin/telnet)
114
115

ACTIONS

117
118
119       on     Power on machine.
120
121       off    Power off machine.
122
123       reboot Reboot machine.
124
125       status This returns the status of the plug/virtual machine.
126
127       monitor
128              Check the health of fence device
129
130       metadata
131              Display the XML metadata describing this resource.
132
133       manpage
134               The operational behavior of this is not known.
135
136       validate-all
137              Validate if all required parameters are entered.
138
139

STDIN PARAMETERS

141
142
143       action Fencing action (Default Value: reboot)
144
145       command_prompt
146              Force  Python regex for command prompt (Default Value: ['\[user‐
147              name\]# ']) Obsoletes: cmd_prompt
148
149       ip     IP address or hostname of fencing device Obsoletes: ipaddr
150
151
152       ipport TCP/UDP  port  to use for connection with device (Default Value:
153              23)
154
155       password
156              Login password or passphrase Obsoletes: passwd
157
158       password_script
159              Script to run  to  retrieve  password  Obsoletes:  passwd_script
160
161
162       plug   IP  address or hostname of fencing device (together with --port-
163              as-ip) Obsoletes: port
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       delay  Wait X seconds before fencing  is  started  (Default  Value:  0)
191
192
193       disable_timeout
194              Disable  timeout (true/false) (default: true when run from Pace‐
195              maker 2.0+)
196
197       login_timeout
198              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
199
200
201       port_as_ip
202              Make "port/plug" to be an alias to IP address
203
204       power_timeout
205              Test  X  seconds  for status change after ON/OFF (Default Value:
206              20)
207
208       power_wait
209              Wait X seconds after issuing ON/OFF (Default Value: 0)
210
211       shell_timeout
212              Wait X seconds for cmd prompt  after  issuing  command  (Default
213              Value: 3)
214
215       stonith_status_sleep
216              Sleep  X  seconds  between  status calls during a STONITH action
217              (Default Value: 1)
218
219       retry_on
220              Count of attempts to retry power on (Default Value: 1)
221
222       telnet_path
223              Path to telnet binary (Default Value: /usr/bin/telnet)
224
225
226
227fence_drac (Fence Agent)          2009-10-20                    FENCE_AGENT(8)
Impressum