1OCF_PACEMAKER_DUMMY(7) Pacemaker Configuration OCF_PACEMAKER_DUMMY(7)
2
3
4
6 ocf_pacemaker_Dummy - Example stateless resource agent
7
9 OCF_RESKEY_state=string OCF_RESKEY_passwd=string
10 [OCF_RESKEY_fake=string] OCF_RESKEY_op_sleep=string
11 [OCF_RESKEY_fail_start_on=string] OCF_RESKEY_envfile=string
12
13 Dummy [start | stop | monitor | reload | migrate_to | migrate_from |
14 validate-all | meta-data]
15
17 This is a dummy OCF resource agent. It does absolutely nothing except
18 keep track of whether it is running or not, and can be configured so
19 that actions fail or take a long time. Its purpose is primarily for
20 testing, and to serve as a template for resource agent writers.
21
23 OCF_RESKEY_state = string [/Dummy-.state]
24 State file
25
26 Location to store the resource state in.
27
28 OCF_RESKEY_passwd = string []
29 Password
30
31 Fake password field
32
33 OCF_RESKEY_fake = string [dummy]
34 Fake attribute that can be changed to cause a reload
35
36 Fake attribute that can be changed to cause a reload
37
38 OCF_RESKEY_op_sleep = string [0]
39 Operation sleep duration in seconds.
40
41 Number of seconds to sleep during operations. This can be used to
42 test how the cluster reacts to operation timeouts.
43
44 OCF_RESKEY_fail_start_on = string []
45 Report bogus start failure on specified host
46
47 Start actions will return failure if running on the host specified
48 here, but the resource will start successfully anyway (future
49 monitor calls will find it running). This can be used to test
50 on-fail=ignore.
51
52 OCF_RESKEY_envfile = string []
53 Environment dump file
54
55 If this is set, the environment will be dumped to this file for
56 every call.
57
59 Andrew Beekhof <andrew@beekhof.net>
60 Author.
61
62
63
64Pacemaker Configuration 11/26/2019 OCF_PACEMAKER_DUMMY(7)