Note
target-role
can be used to enable or disable the resource
Important
man stonithd
to see special instance attributes that may be set for any fencing resource, regardless of fence agent.
Table 13.1. Additional Properties of Fencing Resources
Field | Type | Default | Description |
---|---|---|---|
stonith-timeout
|
NA
|
NA
| |
provides
|
string
|
|
Any special capability provided by the fence device. Currently, only one such capability is meaningful:
unfencing (see Section 13.4, “Unfencing”).
|
pcmk_host_map
|
string
|
| |
pcmk_host_list
|
string
|
| |
pcmk_host_check
|
string
|
dynamic-list
|
How to determine which machines are controlled by the device. Allowed values:
|
pcmk_delay_max
|
time
|
0s
|
Enable a random delay of up to the time specified before executing stonith actions. This is sometimes used in two-node clusters to ensure that the nodes don’t fence each other at the same time. The overall delay introduced by pacemaker is derived from this random delay value adding a static delay so that the sum is kept below the maximum delay.
|
pcmk_delay_base
|
time
|
0s
|
Enable a static delay before executing stonith actions. This can be used e.g. in two-node clusters to ensure that the nodes don’t fence each other, by having separate fencing resources with different values. The node that is fenced with the shorter delay will lose a fencing race. The overall delay introduced by pacemaker is derived from this value plus a random delay such that the sum is kept below the maximum delay.
|
pcmk_action_limit
|
integer
|
1
|
The maximum number of actions that can be performed in parallel on this device, if the cluster option
concurrent-fencing is true . -1 is unlimited. (since 1.1.15)
|
pcmk_host_argument
|
string
|
port
|
Advanced use only. Which parameter should be supplied to the resource agent to identify the node to be fenced. Some devices do not support the standard
port parameter or may provide additional ones. Use this to specify an alternate, device-specific parameter. A value of none tells the cluster not to supply any additional parameters.
|
pcmk_reboot_action
|
string
|
reboot
| |
pcmk_reboot_timeout
|
time
|
60s
| |
pcmk_reboot_retries
|
integer
|
2
|
Advanced use only. The maximum number of times to retry the
reboot command within the timeout period. Some devices do not support multiple connections, and operations may fail if the device is busy with another task, so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries before giving up.
|
pcmk_off_action
|
string
|
off
| |
pcmk_off_timeout
|
time
|
60s
| |
pcmk_off_retries
|
integer
|
2
|
Advanced use only. The maximum number of times to retry the
off command within the timeout period. Some devices do not support multiple connections, and operations may fail if the device is busy with another task, so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries before giving up.
|
pcmk_list_action
|
string
|
list
| |
pcmk_list_timeout
|
time
|
60s
| |
pcmk_list_retries
|
integer
|
2
|
Advanced use only. The maximum number of times to retry the
list command within the timeout period. Some devices do not support multiple connections, and operations may fail if the device is busy with another task, so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries before giving up.
|
pcmk_monitor_action
|
string
|
monitor
| |
pcmk_monitor_timeout
|
time
|
60s
| |
pcmk_monitor_retries
|
integer
|
2
|
Advanced use only. The maximum number of times to retry the
monitor command within the timeout period. Some devices do not support multiple connections, and operations may fail if the device is busy with another task, so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries before giving up.
|
pcmk_status_action
|
string
|
status
| |
pcmk_status_timeout
|
time
|
60s
| |
pcmk_status_retries
|
integer
|
2
|
Advanced use only. The maximum number of times to retry the
status command within the timeout period. Some devices do not support multiple connections, and operations may fail if the device is busy with another task, so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries before giving up.
|