Scroll to navigation

STONITHD(7) Pacemaker Configuration STONITHD(7)

NAME

stonithd - Options available for all stonith resources

SYNOPSIS

[priority=integer] [pcmk_host_argument=string] [pcmk_host_map=string] [pcmk_host_list=string] [pcmk_host_check=string] [pcmk_delay_max=time] [pcmk_delay_base=time] [pcmk_action_limit=integer] [pcmk_reboot_action=string] [pcmk_reboot_timeout=time] [pcmk_reboot_retries=integer] [pcmk_off_action=string] [pcmk_off_timeout=time] [pcmk_off_retries=integer] [pcmk_on_action=string] [pcmk_on_timeout=time] [pcmk_on_retries=integer] [pcmk_list_action=string] [pcmk_list_timeout=time] [pcmk_list_retries=integer] [pcmk_monitor_action=string] [pcmk_monitor_timeout=time] [pcmk_monitor_retries=integer] [pcmk_status_action=string] [pcmk_status_timeout=time] [pcmk_status_retries=integer]

DESCRIPTION

This is a fake resource that details the instance attributes handled by stonithd.

SUPPORTED PARAMETERS

priority = integer [0]

The priority of the stonith resource. Devices are tried in order of highest priority to lowest.

pcmk_host_argument = string [port]

Advanced use only: An alternate parameter to supply instead of 'port'

Some devices do not support the standard 'port' parameter or may provide additional ones. Use this to specify an alternate, device-specific, parameter that should indicate the machine to be fenced. A value of 'none' can be used to tell the cluster not to supply any additional parameters.

pcmk_host_map = string []

A mapping of host names to ports numbers for devices that do not support host names.

Eg. node1:1;node2:2,3 would tell the cluster to use port 1 for node1 and ports 2 and 3 for node2

pcmk_host_list = string []

A list of machines controlled by this device (Optional unless pcmk_host_check=static-list).

pcmk_host_check = string [dynamic-list]

How to determine which machines are controlled by the device.

Allowed values: dynamic-list (query the device), static-list (check the pcmk_host_list attribute), none (assume every device can fence every machine)

pcmk_delay_max = time [0s]

Enable a random delay for stonith actions and specify the maximum of random delay.

This prevents double fencing when using slow devices such as sbd. Use this to enable a random delay for stonith actions. The overall delay 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 base delay for stonith actions and specify base delay value.

This prevents double fencing when different delays are configured on the nodes. Use this to enable a static delay for stonith actions. The overall delay is derived from a random delay value adding this static delay so that the sum is kept below the maximum delay.

pcmk_action_limit = integer [1]

The maximum number of actions can be performed in parallel on this device

Pengine property concurrent-fencing=true needs to be configured first. Then use this to specify the maximum number of actions can be performed in parallel on this device. -1 is unlimited.

pcmk_reboot_action = string [reboot]

Advanced use only: An alternate command to run instead of 'reboot'

Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'reboot' action.

pcmk_reboot_timeout = time [60s]

Advanced use only: Specify an alternate timeout to use for reboot actions instead of stonith-timeout

Some devices need much more/less time to complete than normal. Use this to specify an alternate, device-specific, timeout for 'reboot' actions.

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. 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 'reboot' actions before giving up.

pcmk_off_action = string [off]

Advanced use only: An alternate command to run instead of 'off'

Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'off' action.

pcmk_off_timeout = time [60s]

Advanced use only: Specify an alternate timeout to use for off actions instead of stonith-timeout

Some devices need much more/less time to complete than normal. Use this to specify an alternate, device-specific, timeout for 'off' actions.

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. 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 'off' actions before giving up.

pcmk_on_action = string [on]

Advanced use only: An alternate command to run instead of 'on'

Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'on' action.

pcmk_on_timeout = time [60s]

Advanced use only: Specify an alternate timeout to use for on actions instead of stonith-timeout

Some devices need much more/less time to complete than normal. Use this to specify an alternate, device-specific, timeout for 'on' actions.

pcmk_on_retries = integer [2]

Advanced use only: The maximum number of times to retry the 'on' command within the timeout period

Some devices do not support multiple connections. 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 'on' actions before giving up.

pcmk_list_action = string [list]

Advanced use only: An alternate command to run instead of 'list'

Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'list' action.

pcmk_list_timeout = time [60s]

Advanced use only: Specify an alternate timeout to use for list actions instead of stonith-timeout

Some devices need much more/less time to complete than normal. Use this to specify an alternate, device-specific, timeout for 'list' actions.

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. 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 'list' actions before giving up.

pcmk_monitor_action = string [monitor]

Advanced use only: An alternate command to run instead of 'monitor'

Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'monitor' action.

pcmk_monitor_timeout = time [60s]

Advanced use only: Specify an alternate timeout to use for monitor actions instead of stonith-timeout

Some devices need much more/less time to complete than normal. Use this to specify an alternate, device-specific, timeout for 'monitor' actions.

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. 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 'monitor' actions before giving up.

pcmk_status_action = string [status]

Advanced use only: An alternate command to run instead of 'status'

Some devices do not support the standard commands or may provide additional ones. Use this to specify an alternate, device-specific, command that implements the 'status' action.

pcmk_status_timeout = time [60s]

Advanced use only: Specify an alternate timeout to use for status actions instead of stonith-timeout

Some devices need much more/less time to complete than normal. Use this to specify an alternate, device-specific, timeout for 'status' actions.

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. 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 'status' actions before giving up.

AUTHOR

Andrew Beekhof <andrew@beekhof.net>

Author.
12/26/2018 Pacemaker Configuration