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=time] [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
50 pcmk_host_check = string [dynamic-list]
51 How to determine which machines are controlled by the device.
52
53 Allowed values: dynamic-list (query the device via the 'list'
54 command), static-list (check the pcmk_host_list attribute), status
55 (query the device via the 'status' command), none (assume every
56 device can fence every machine)
57
58 pcmk_delay_max = time [0s]
59 Enable a delay of no more than the time specified before executing
60 fencing actions. Pacemaker derives the overall delay by taking the
61 value of pcmk_delay_base and adding a random delay value such that
62 the sum is kept below this maximum.
63
64 This prevents double fencing when using slow devices such as sbd.
65 Use this to enable a random delay for fencing actions. The overall
66 delay is derived from this random delay value adding a static delay
67 so that the sum is kept below the maximum delay.
68
69 pcmk_delay_base = time [0s]
70 Enable a base delay for fencing actions and specify base delay
71 value.
72
73 This prevents double fencing when different delays are configured
74 on the nodes. Use this to enable a static delay for fencing
75 actions. The overall delay is derived from a random delay value
76 adding this static delay so that the sum is kept below the maximum
77 delay. Set to eg. node1:1s;node2:5 to set different value per node.
78
79 pcmk_action_limit = integer [1]
80 The maximum number of actions can be performed in parallel on this
81 device
82
83 Cluster property concurrent-fencing=true needs to be configured
84 first. Then use this to specify the maximum number of actions can
85 be performed in parallel on this device. -1 is unlimited.
86
87 pcmk_reboot_action = string [reboot]
88 Advanced use only: An alternate command to run instead of 'reboot'
89
90 Some devices do not support the standard commands or may provide
91 additional ones. Use this to specify an alternate, device-specific,
92 command that implements the 'reboot' action.
93
94 pcmk_reboot_timeout = time [60s]
95 Advanced use only: Specify an alternate timeout to use for reboot
96 actions instead of stonith-timeout
97
98 Some devices need much more/less time to complete than normal. Use
99 this to specify an alternate, device-specific, timeout for 'reboot'
100 actions.
101
102 pcmk_reboot_retries = integer [2]
103 Advanced use only: The maximum number of times to retry the
104 'reboot' command within the timeout period
105
106 Some devices do not support multiple connections. Operations may
107 'fail' if the device is busy with another task so Pacemaker will
108 automatically retry the operation, if there is time remaining. Use
109 this option to alter the number of times Pacemaker retries 'reboot'
110 actions before giving up.
111
112 pcmk_off_action = string [off]
113 Advanced use only: An alternate command to run instead of 'off'
114
115 Some devices do not support the standard commands or may provide
116 additional ones. Use this to specify an alternate, device-specific,
117 command that implements the 'off' action.
118
119 pcmk_off_timeout = time [60s]
120 Advanced use only: Specify an alternate timeout to use for off
121 actions instead of stonith-timeout
122
123 Some devices need much more/less time to complete than normal. Use
124 this to specify an alternate, device-specific, timeout for 'off'
125 actions.
126
127 pcmk_off_retries = integer [2]
128 Advanced use only: The maximum number of times to retry the 'off'
129 command within the timeout period
130
131 Some devices do not support multiple connections. Operations may
132 'fail' if the device is busy with another task so Pacemaker will
133 automatically retry the operation, if there is time remaining. Use
134 this option to alter the number of times Pacemaker retries 'off'
135 actions before giving up.
136
137 pcmk_on_action = string [on]
138 Advanced use only: An alternate command to run instead of 'on'
139
140 Some devices do not support the standard commands or may provide
141 additional ones. Use this to specify an alternate, device-specific,
142 command that implements the 'on' action.
143
144 pcmk_on_timeout = time [60s]
145 Advanced use only: Specify an alternate timeout to use for on
146 actions instead of stonith-timeout
147
148 Some devices need much more/less time to complete than normal. Use
149 this to specify an alternate, device-specific, timeout for 'on'
150 actions.
151
152 pcmk_on_retries = integer [2]
153 Advanced use only: The maximum number of times to retry the 'on'
154 command within the timeout period
155
156 Some devices do not support multiple connections. Operations may
157 'fail' if the device is busy with another task so Pacemaker will
158 automatically retry the operation, if there is time remaining. Use
159 this option to alter the number of times Pacemaker retries 'on'
160 actions before giving up.
161
162 pcmk_list_action = string [list]
163 Advanced use only: An alternate command to run instead of 'list'
164
165 Some devices do not support the standard commands or may provide
166 additional ones. Use this to specify an alternate, device-specific,
167 command that implements the 'list' action.
168
169 pcmk_list_timeout = time [60s]
170 Advanced use only: Specify an alternate timeout to use for list
171 actions instead of stonith-timeout
172
173 Some devices need much more/less time to complete than normal. Use
174 this to specify an alternate, device-specific, timeout for 'list'
175 actions.
176
177 pcmk_list_retries = integer [2]
178 Advanced use only: The maximum number of times to retry the 'list'
179 command within the timeout period
180
181 Some devices do not support multiple connections. Operations may
182 'fail' if the device is busy with another task so Pacemaker will
183 automatically retry the operation, if there is time remaining. Use
184 this option to alter the number of times Pacemaker retries 'list'
185 actions before giving up.
186
187 pcmk_monitor_action = string [monitor]
188 Advanced use only: An alternate command to run instead of 'monitor'
189
190 Some devices do not support the standard commands or may provide
191 additional ones. Use this to specify an alternate, device-specific,
192 command that implements the 'monitor' action.
193
194 pcmk_monitor_timeout = time [60s]
195 Advanced use only: Specify an alternate timeout to use for monitor
196 actions instead of stonith-timeout
197
198 Some devices need much more/less time to complete than normal. Use
199 this to specify an alternate, device-specific, timeout for
200 'monitor' actions.
201
202 pcmk_monitor_retries = integer [2]
203 Advanced use only: The maximum number of times to retry the
204 'monitor' command within the timeout period
205
206 Some devices do not support multiple connections. Operations may
207 'fail' if the device is busy with another task so Pacemaker will
208 automatically retry the operation, if there is time remaining. Use
209 this option to alter the number of times Pacemaker retries
210 'monitor' actions before giving up.
211
212 pcmk_status_action = string [status]
213 Advanced use only: An alternate command to run instead of 'status'
214
215 Some devices do not support the standard commands or may provide
216 additional ones. Use this to specify an alternate, device-specific,
217 command that implements the 'status' action.
218
219 pcmk_status_timeout = time [60s]
220 Advanced use only: Specify an alternate timeout to use for status
221 actions instead of stonith-timeout
222
223 Some devices need much more/less time to complete than normal. Use
224 this to specify an alternate, device-specific, timeout for 'status'
225 actions.
226
227 pcmk_status_retries = integer [2]
228 Advanced use only: The maximum number of times to retry the
229 'status' command within the timeout period
230
231 Some devices do not support multiple connections. Operations may
232 'fail' if the device is busy with another task so Pacemaker will
233 automatically retry the operation, if there is time remaining. Use
234 this option to alter the number of times Pacemaker retries 'status'
235 actions before giving up.
236
238 Andrew Beekhof <andrew@beekhof.net>
239 Author.
240
241
242
243Pacemaker Configuration 11/17/2021 PACEMAKER-FENCED(7)