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: 30.
37
38       stop
39           Stops the resource. Suggested minimum timeout: 30.
40
41       status
42           Performs a status check. Suggested minimum timeout: 30. Suggested
43           interval: 10.
44
45       monitor
46           Performs a detailed status check. Suggested minimum timeout: 30.
47           Suggested interval: 10.
48
49       meta-data
50           Retrieves resource agent metadata (internal use only). Suggested
51           minimum timeout: 5.
52
53       validate-all
54           Performs a validation of the resource configuration. Suggested
55           minimum timeout: 5.
56

EXAMPLE

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="30" interval="10"
63

SEE ALSO

65       http://www.linux-ha.org/wiki/Delay_(resource_agent)
66

AUTHOR

68       Linux-HA contributors (see the resource agent source for information
69       about individual authors)
70
71
72
73resource-agents 3.9.2             03/24/2017            OCF_HEARTBEAT_DELAY(7)
Impressum