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
27              machine 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       -q, --quiet
39              Disable logging to stderr. Does not affect --verbose or --debug-
40              file or logging to syslog.
41
42       -v, --verbose
43              Verbose mode
44
45       -D, --debug-file=[debugfile]
46              Write debug information to given file
47
48       -V, --version
49              Display version information and exit
50
51       -h, --help
52              Display help and exit
53
54       -C, --separator=[char]
55              Separator for CSV created by 'list' operation (Default Value: ,)
56
57
58       --delay=[seconds]
59              Wait  X  seconds  before  fencing  is started (Default Value: 0)
60
61
62       --login-timeout=[seconds]
63              Wait X seconds for cmd prompt after  login  (Default  Value:  5)
64
65
66       --power-timeout=[seconds]
67              Test  X  seconds  for status change after ON/OFF (Default Value:
68              60)
69
70       --power-wait=[seconds]
71              Wait X seconds after issuing ON/OFF (Default Value: 0)
72
73       --shell-timeout=[seconds]
74              Wait X seconds for cmd prompt  after  issuing  command  (Default
75              Value: 3)
76
77       --retry-on=[attempts]
78              Count of attempts to retry power on (Default Value: 1)
79
80

ACTIONS

82
83
84       on     Power on machine.
85
86       off    Power off machine.
87
88       reboot Reboot machine.
89
90       status This returns the status of the plug/virtual machine.
91
92       list   List  available  plugs with aliases/virtual machines if there is
93              support for more then one device. Returns N/A otherwise.
94
95       list-status
96              List available plugs with  aliases/virtual  machines  and  their
97              power  state  if it can be obtained without additional commands.
98
99
100       monitor
101              Check the health of fence device
102
103       metadata
104              Display the XML metadata describing this resource.
105
106       manpage
107               The operational behavior of this is not known.
108
109       validate-all
110              Validate if all required parameters are entered.
111
112

STDIN PARAMETERS

114
115
116       action Fencing action (Default Value: reboot)
117
118       plug   Physical plug  number  on  device,  UUID  or  identification  of
119              machine This parameter is always required. Obsoletes: port
120
121
122       region Region.
123
124       access_key
125              Access Key.
126
127       secret_key
128              Secret Key.
129
130       quiet  Disable logging to stderr. Does not affect --verbose or --debug-
131              file or logging to syslog.
132
133       verbose
134              Verbose mode
135
136       debug_file
137              Write debug information to given file Obsoletes: debug
138
139       version
140              Display version information and exit
141
142       help   Display help and exit
143
144       separator
145              Separator for CSV created by 'list' operation (Default Value: ,)
146
147
148       delay  Wait X seconds before fencing  is  started  (Default  Value:  0)
149
150
151       login_timeout
152              Wait  X  seconds  for  cmd prompt after login (Default Value: 5)
153
154
155       power_timeout
156              Test X seconds for status change after  ON/OFF  (Default  Value:
157              60)
158
159       power_wait
160              Wait X seconds after issuing ON/OFF (Default Value: 0)
161
162       shell_timeout
163              Wait  X  seconds  for  cmd prompt after issuing command (Default
164              Value: 3)
165
166       retry_on
167              Count of attempts to retry power on (Default Value: 1)
168
169
170
171fence_aliyun (Fence Agent)        2009-10-20                    FENCE_AGENT(8)
Impressum