table of contents
OCF_HEARTBEAT_DELAY(7) | OCF resource agents | OCF_HEARTBEAT_DELAY(7) |
NAME¶
ocf_heartbeat_Delay - Waits for a defined timespan
SYNOPSIS¶
Delay [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
This script is a resource for introducing a delay.
SUPPORTED PARAMETERS¶
startdelay
(optional, integer, default 20)
stopdelay
(optional, integer, default 30)
mondelay
(optional, integer, default 30)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a Delay resource using the crm(8) shell:
primitive p_Delay ocf:heartbeat:Delay \
op monitor depth="0" timeout="40s" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a Delay resource using pcs(8)
pcs resource create p_Delay ocf:heartbeat:Delay \
op monitor OCF_CHECK_LEVEL="0" timeout="40s" interval="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
10/05/2024 | resource-agents 4.15.1-2 |