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. Defaults to
22           "startdelay" if unspecified.
23
24           (optional, integer, default 30)
25
26       mondelay
27           How long in seconds to delay on monitor operation. Defaults to
28           "startdelay" if unspecified.
29
30           (optional, integer, default 30)
31

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

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

EXAMPLE PCS

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

SEE ALSO

72       http://clusterlabs.org/
73

AUTHOR

75       ClusterLabs contributors (see the resource agent source for information
76       about individual authors)
77
78
79
80resource-agents UNKNOWN           11/03/2021            OCF_HEARTBEAT_DELAY(7)
Impressum