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

NAME

7       fence_aliyun - Fence agent for Aliyun (Aliyun Web Services)
8

DESCRIPTION

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

PARAMETERS

20
21
22       -o, --action=[action]
23              Fencing action (Default Value: reboot)
24
25       -n, --plug=[id]
26              Physical plug number on device, UUID or  identification  of  ma‐
27              chine This parameter is always required.
28
29       -r, --region=[name]
30              Region.
31
32       -a, --access-key=[name]
33              Access Key.
34
35       -s, --secret-key=[name]
36              Secret Key.
37
38       --ram-role=[name]
39              Ram Role.
40
41       -q, --quiet
42              Disable logging to stderr. Does not affect --verbose or --debug-
43              file or logging to syslog.
44
45       -v, --verbose
46              Verbose mode. Multiple -v flags can be stacked  on  the  command
47              line (e.g., -vvv) to increase verbosity.
48
49       --verbose-level
50              Level  of  debugging detail in output. Defaults to the number of
51              --verbose flags specified on the command line, or to 1  if  ver‐
52              bose=1  in  a  stonith  device  configuration  (i.e., on stdin).
53
54
55       -D, --debug-file=[debugfile]
56              Write debug information to given file
57
58       -V, --version
59              Display version information and exit
60
61       -h, --help
62              Display help and exit
63
64       --plug-separator=[char]
65              Separator for plug parameter when specifying more  than  1  plug
66              (Default Value: ,)
67
68       -C, --separator=[char]
69              Separator for CSV created by 'list' operation (Default Value: ,)
70
71
72       --delay=[seconds]
73              Wait X seconds before fencing  is  started  (Default  Value:  0)
74
75
76       --disable-timeout=[true/false]
77              Disable  timeout (true/false) (default: true when run from Pace‐
78              maker 2.0+)
79
80       --login-timeout=[seconds]
81              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
82
83
84       --power-timeout=[seconds]
85              Test  X  seconds  for status change after ON/OFF (Default Value:
86              60)
87
88       --power-wait=[seconds]
89              Wait X seconds after issuing ON/OFF (Default Value: 0)
90
91       --shell-timeout=[seconds]
92              Wait X seconds for cmd prompt  after  issuing  command  (Default
93              Value: 3)
94
95       --stonith-status-sleep=[seconds]
96              Sleep  X  seconds  between  status calls during a STONITH action
97              (Default Value: 1)
98
99       --retry-on=[attempts]
100              Count of attempts to retry power on (Default Value: 1)
101
102

ACTIONS

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

STDIN PARAMETERS

136
137
138       action Fencing action (Default Value: reboot)
139
140       plug   Physical  plug  number  on device, UUID or identification of ma‐
141              chine This parameter is always required. Obsoletes:  port
142
143
144       region Region.
145
146       access_key
147              Access Key.
148
149       secret_key
150              Secret Key.
151
152       ram_role
153              Ram Role.
154
155       quiet  Disable logging to stderr. Does not affect --verbose or --debug-
156              file or logging to syslog.
157
158       verbose
159              Verbose mode. Multiple -v flags can be stacked  on  the  command
160              line (e.g., -vvv) to increase verbosity.
161
162       verbose_level
163              Level  of  debugging detail in output. Defaults to the number of
164              --verbose flags specified on the command line, or to 1  if  ver‐
165              bose=1  in  a  stonith  device  configuration  (i.e., on stdin).
166
167
168       debug_file
169              Write debug information to given file Obsoletes: debug
170
171       version
172              Display version information and exit
173
174       help   Display help and exit
175
176       plug_separator
177              Separator for plug parameter when specifying more  than  1  plug
178              (Default Value: ,)
179
180       separator
181              Separator for CSV created by 'list' operation (Default Value: ,)
182
183
184       delay  Wait X seconds before fencing  is  started  (Default  Value:  0)
185
186
187       disable_timeout
188              Disable  timeout (true/false) (default: true when run from Pace‐
189              maker 2.0+)
190
191       login_timeout
192              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
193
194
195       power_timeout
196              Test  X  seconds  for status change after ON/OFF (Default Value:
197              60)
198
199       power_wait
200              Wait X seconds after issuing ON/OFF (Default Value: 0)
201
202       shell_timeout
203              Wait X seconds for cmd prompt  after  issuing  command  (Default
204              Value: 3)
205
206       stonith_status_sleep
207              Sleep  X  seconds  between  status calls during a STONITH action
208              (Default Value: 1)
209
210       retry_on
211              Count of attempts to retry power on (Default Value: 1)
212
213
214
215fence_aliyun (Fence Agent)        2009-10-20                    FENCE_AGENT(8)
Impressum