1OCF_HEARTBEAT_DELAY(7)        OCF resource agents       OCF_HEARTBEAT_DELAY(7)
2
3
4

NAME

6       ocf_heartbeat_Delay - Waits for a defined timespan
7

SYNOPSIS

9       Delay [start | stop | status | monitor | meta-data | validate-all]
10

DESCRIPTION

12       This script is a test resource for introducing delay.
13

SUPPORTED PARAMETERS

15       startdelay
16           How long in seconds to delay on start operation.
17
18           (optional, integer, default 20)
19
20       stopdelay
21           How long in seconds to delay on stop operation.
22
23           (optional, integer, default 30)
24
25       mondelay
26           How long in seconds to delay on monitor operation.
27
28           (optional, integer, default 30)
29

SUPPORTED ACTIONS

31       This resource agent supports the following actions (operations):
32
33       start
34           Starts the resource. Suggested minimum timeout: 30s.
35
36       stop
37           Stops the resource. Suggested minimum timeout: 40s.
38
39       status
40           Performs a status check. Suggested minimum timeout: 40s. Suggested
41           interval: 10s.
42
43       monitor
44           Performs a detailed status check. Suggested minimum timeout: 40s.
45           Suggested interval: 10s.
46
47       meta-data
48           Retrieves resource agent metadata (internal use only). Suggested
49           minimum timeout: 5s.
50
51       validate-all
52           Performs a validation of the resource configuration. Suggested
53           minimum timeout: 5s.
54

EXAMPLE CRM SHELL

56       The following is an example configuration for a Delay resource using
57       the crm(8) shell:
58
59           primitive p_Delay ocf:heartbeat:Delay \
60             op monitor depth="0" timeout="40s" interval="10s"
61

EXAMPLE PCS

63       The following is an example configuration for a Delay resource using
64       pcs(8)
65
66           pcs resource create p_Delay ocf:heartbeat:Delay \
67             op monitor OCF_CHECK_LEVEL="0" timeout="40s" interval="10s"
68

SEE ALSO

70       http://clusterlabs.org/
71

AUTHOR

73       ClusterLabs contributors (see the resource agent source for information
74       about individual authors)
75
76
77
78resource-agents UNKNOWN           10/11/2023            OCF_HEARTBEAT_DELAY(7)
Impressum