1STONITHD(7) Pacemaker Configuration STONITHD(7)
2
3
4
6 stonithd - Options available for all stonith resources
7
9 [priority=integer] [pcmk_host_argument=string] [pcmk_host_map=string]
10 [pcmk_host_list=string] [pcmk_host_check=string] [pcmk_delay_max=time]
11 [pcmk_delay_base=time] [pcmk_action_limit=integer]
12 [pcmk_reboot_action=string] [pcmk_reboot_timeout=time]
13 [pcmk_reboot_retries=integer] [pcmk_off_action=string]
14 [pcmk_off_timeout=time] [pcmk_off_retries=integer]
15 [pcmk_on_action=string] [pcmk_on_timeout=time]
16 [pcmk_on_retries=integer] [pcmk_list_action=string]
17 [pcmk_list_timeout=time] [pcmk_list_retries=integer]
18 [pcmk_monitor_action=string] [pcmk_monitor_timeout=time]
19 [pcmk_monitor_retries=integer] [pcmk_status_action=string]
20 [pcmk_status_timeout=time] [pcmk_status_retries=integer]
21
23 This is a fake resource that details the instance attributes handled by
24 stonithd.
25
27 priority = integer [0]
28 The priority of the stonith resource. Devices are tried in order of
29 highest priority to lowest.
30
31
32 pcmk_host_argument = string [port]
33 Advanced use only: An alternate parameter to supply instead of
34 'port'
35
36 Some devices do not support the standard 'port' parameter or may
37 provide additional ones. Use this to specify an alternate,
38 device-specific, parameter that should indicate the machine to be
39 fenced. A value of 'none' can be used to tell the cluster not to
40 supply any additional parameters.
41
42 pcmk_host_map = string []
43 A mapping of host names to ports numbers for devices that do not
44 support host names.
45
46 Eg. node1:1;node2:2,3 would tell the cluster to use port 1 for
47 node1 and ports 2 and 3 for node2
48
49 pcmk_host_list = string []
50 A list of machines controlled by this device (Optional unless
51 pcmk_host_check=static-list).
52
53
54 pcmk_host_check = string [dynamic-list]
55 How to determine which machines are controlled by the device.
56
57 Allowed values: dynamic-list (query the device), static-list (check
58 the pcmk_host_list attribute), none (assume every device can fence
59 every machine)
60
61 pcmk_delay_max = time [0s]
62 Enable a random delay for stonith actions and specify the maximum
63 of random delay.
64
65 This prevents double fencing when using slow devices such as sbd.
66 Use this to enable a random delay for stonith actions. The overall
67 delay is derived from this random delay value adding a static delay
68 so that the sum is kept below the maximum delay.
69
70 pcmk_delay_base = time [0s]
71 Enable a base delay for stonith actions and specify base delay
72 value.
73
74 This prevents double fencing when different delays are configured
75 on the nodes. Use this to enable a static delay for stonith
76 actions. The overall delay is derived from a random delay value
77 adding this static delay so that the sum is kept below the maximum
78 delay.
79
80 pcmk_action_limit = integer [1]
81 The maximum number of actions can be performed in parallel on this
82 device
83
84 Pengine property concurrent-fencing=true needs to be configured
85 first. Then use this to specify the maximum number of actions can
86 be performed in parallel on this device. -1 is unlimited.
87
88 pcmk_reboot_action = string [reboot]
89 Advanced use only: An alternate command to run instead of 'reboot'
90
91 Some devices do not support the standard commands or may provide
92 additional ones. Use this to specify an alternate, device-specific,
93 command that implements the 'reboot' action.
94
95 pcmk_reboot_timeout = time [60s]
96 Advanced use only: Specify an alternate timeout to use for reboot
97 actions instead of stonith-timeout
98
99 Some devices need much more/less time to complete than normal. Use
100 this to specify an alternate, device-specific, timeout for 'reboot'
101 actions.
102
103 pcmk_reboot_retries = integer [2]
104 Advanced use only: The maximum number of times to retry the
105 'reboot' command within the timeout period
106
107 Some devices do not support multiple connections. Operations may
108 'fail' if the device is busy with another task so Pacemaker will
109 automatically retry the operation, if there is time remaining. Use
110 this option to alter the number of times Pacemaker retries 'reboot'
111 actions before giving up.
112
113 pcmk_off_action = string [off]
114 Advanced use only: An alternate command to run instead of 'off'
115
116 Some devices do not support the standard commands or may provide
117 additional ones. Use this to specify an alternate, device-specific,
118 command that implements the 'off' action.
119
120 pcmk_off_timeout = time [60s]
121 Advanced use only: Specify an alternate timeout to use for off
122 actions instead of stonith-timeout
123
124 Some devices need much more/less time to complete than normal. Use
125 this to specify an alternate, device-specific, timeout for 'off'
126 actions.
127
128 pcmk_off_retries = integer [2]
129 Advanced use only: The maximum number of times to retry the 'off'
130 command within the timeout period
131
132 Some devices do not support multiple connections. Operations may
133 'fail' if the device is busy with another task so Pacemaker will
134 automatically retry the operation, if there is time remaining. Use
135 this option to alter the number of times Pacemaker retries 'off'
136 actions before giving up.
137
138 pcmk_on_action = string [on]
139 Advanced use only: An alternate command to run instead of 'on'
140
141 Some devices do not support the standard commands or may provide
142 additional ones. Use this to specify an alternate, device-specific,
143 command that implements the 'on' action.
144
145 pcmk_on_timeout = time [60s]
146 Advanced use only: Specify an alternate timeout to use for on
147 actions instead of stonith-timeout
148
149 Some devices need much more/less time to complete than normal. Use
150 this to specify an alternate, device-specific, timeout for 'on'
151 actions.
152
153 pcmk_on_retries = integer [2]
154 Advanced use only: The maximum number of times to retry the 'on'
155 command within the timeout period
156
157 Some devices do not support multiple connections. Operations may
158 'fail' if the device is busy with another task so Pacemaker will
159 automatically retry the operation, if there is time remaining. Use
160 this option to alter the number of times Pacemaker retries 'on'
161 actions before giving up.
162
163 pcmk_list_action = string [list]
164 Advanced use only: An alternate command to run instead of 'list'
165
166 Some devices do not support the standard commands or may provide
167 additional ones. Use this to specify an alternate, device-specific,
168 command that implements the 'list' action.
169
170 pcmk_list_timeout = time [60s]
171 Advanced use only: Specify an alternate timeout to use for list
172 actions instead of stonith-timeout
173
174 Some devices need much more/less time to complete than normal. Use
175 this to specify an alternate, device-specific, timeout for 'list'
176 actions.
177
178 pcmk_list_retries = integer [2]
179 Advanced use only: The maximum number of times to retry the 'list'
180 command within the timeout period
181
182 Some devices do not support multiple connections. Operations may
183 'fail' if the device is busy with another task so Pacemaker will
184 automatically retry the operation, if there is time remaining. Use
185 this option to alter the number of times Pacemaker retries 'list'
186 actions before giving up.
187
188 pcmk_monitor_action = string [monitor]
189 Advanced use only: An alternate command to run instead of 'monitor'
190
191 Some devices do not support the standard commands or may provide
192 additional ones. Use this to specify an alternate, device-specific,
193 command that implements the 'monitor' action.
194
195 pcmk_monitor_timeout = time [60s]
196 Advanced use only: Specify an alternate timeout to use for monitor
197 actions instead of stonith-timeout
198
199 Some devices need much more/less time to complete than normal. Use
200 this to specify an alternate, device-specific, timeout for
201 'monitor' actions.
202
203 pcmk_monitor_retries = integer [2]
204 Advanced use only: The maximum number of times to retry the
205 'monitor' command within the timeout period
206
207 Some devices do not support multiple connections. Operations may
208 'fail' if the device is busy with another task so Pacemaker will
209 automatically retry the operation, if there is time remaining. Use
210 this option to alter the number of times Pacemaker retries
211 'monitor' actions before giving up.
212
213 pcmk_status_action = string [status]
214 Advanced use only: An alternate command to run instead of 'status'
215
216 Some devices do not support the standard commands or may provide
217 additional ones. Use this to specify an alternate, device-specific,
218 command that implements the 'status' action.
219
220 pcmk_status_timeout = time [60s]
221 Advanced use only: Specify an alternate timeout to use for status
222 actions instead of stonith-timeout
223
224 Some devices need much more/less time to complete than normal. Use
225 this to specify an alternate, device-specific, timeout for 'status'
226 actions.
227
228 pcmk_status_retries = integer [2]
229 Advanced use only: The maximum number of times to retry the
230 'status' command within the timeout period
231
232 Some devices do not support multiple connections. Operations may
233 'fail' if the device is busy with another task so Pacemaker will
234 automatically retry the operation, if there is time remaining. Use
235 this option to alter the number of times Pacemaker retries 'status'
236 actions before giving up.
237
239 Andrew Beekhof <andrew@beekhof.net>
240 Author.
241
242
243
244Pacemaker Configuration 01/30/2019 STONITHD(7)