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