@@ -7,37 +7,37 @@ heartbeat
7
7
heartbeat pacemaker
8
8
.INP: info ocf:pacemaker:Dummy
9
9
.EXT crm_resource --show-metadata ocf:pacemaker:Dummy
10
- Example stateless resource agent (ocf:pacemaker:Dummy)
10
+ ocf:pacemaker:Dummy - Example stateless resource agent
11
11
12
12
This is a dummy OCF resource agent. It does absolutely nothing except keep track
13
13
of whether it is running or not, and can be configured so that actions fail or
14
14
take a long time. Its purpose is primarily for testing, and to serve as a
15
15
template for resource agent writers.
16
16
17
- Parameters (*: required , []: default):
17
+ ## Parameters (type , [default] ):
18
18
19
- state (string, [state-file] ): State file
20
- Location to store the resource state in .
19
+ envfile (string): Environment dump file
20
+ If this is set, the environment will be dumped to this file for every call .
21
21
22
- passwd (string): Password
23
- Fake password field
22
+ fail_start_on (string): Report bogus start failure on specified host
23
+ Start, migrate_from, and reload-agent actions will return failure if running on
24
+ the host specified here, but the resource will run successfully anyway (future
25
+ monitor calls will find it running). This can be used to test on-fail=ignore.
24
26
25
- fake (string, [dummy]):
27
+ fake (string, [dummy]): Fake attribute that can be changed to cause an agent reload
26
28
Fake attribute that can be changed to cause an agent reload
27
29
28
30
op_sleep (string, [0]): Operation sleep duration in seconds.
29
31
Number of seconds to sleep during operations. This can be used to test how
30
32
the cluster reacts to operation timeouts.
31
33
32
- fail_start_on (string): Report bogus start failure on specified host
33
- Start, migrate_from, and reload-agent actions will return failure if running on
34
- the host specified here, but the resource will run successfully anyway (future
35
- monitor calls will find it running). This can be used to test on-fail=ignore.
34
+ passwd (string): Password
35
+ Fake password field
36
36
37
- envfile (string): Environment dump file
38
- If this is set, the environment will be dumped to this file for every call .
37
+ state (string, [state-file] ): State file
38
+ Location to store the resource state in .
39
39
40
- Operations' defaults (advisory minimum):
40
+ ## Operations' defaults (advisory minimum):
41
41
42
42
start timeout=20s
43
43
stop timeout=20s
0 commit comments