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.  (optional,
17           integer, default 30)
18
19       stopdelay
20           How long in seconds to delay on stop operation. Defaults to
21           "startdelay" if unspecified.  (optional, integer, default 30)
22
23       mondelay
24           How long in seconds to delay on monitor operation. Defaults to
25           "startdelay" if unspecified.  (optional, integer, default 30)
26

SUPPORTED ACTIONS

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

EXAMPLE

53       The following is an example configuration for a Delay resource using
54       the crm(8) shell:
55
56           primitive p_Delay ocf:heartbeat:Delay \
57             op monitor depth="0" timeout="30" interval="10"
58

SEE ALSO

60       http://www.linux-ha.org/wiki/Delay_(resource_agent)
61

AUTHOR

63       Linux-HA contributors (see the resource agent source for information
64       about individual authors)
65
66
67
68resource-agents 3.9.2             07/08/2011            OCF_HEARTBEAT_DELAY(7)
Impressum