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 Dummy
12 [start | stop | monitor | reload | migrate_to | migrate_from |
13 validate-all | meta-data]
14
16 This is a Dummy Resource Agent. It does absolutely nothing except keep
17 track of whether its running or not. Its purpose in life is for testing
18 and to serve as a template for RA writers. NB: Please pay attention to
19 the timeouts specified in the actions section below. They should be
20 meaningful for the kind of resource the agent manages. They should be
21 the minimum advised timeouts, but they shouldn't/cannot cover _all_
22 possible resource instances. So, try to be neither overly generous nor
23 too stingy, but moderate. The minimum timeouts should never be below 10
24 seconds.
25
27 OCF_RESKEY_state = string [/Dummy-.state]
28 State file
29
30 Location to store the resource state in.
31
32 OCF_RESKEY_passwd = string []
33 Password
34
35 Fake password field
36
37 OCF_RESKEY_fake = string [dummy]
38 Fake attribute that can be changed to cause a reload
39
40 Fake attribute that can be changed to cause a reload
41
42 OCF_RESKEY_op_sleep = string [0]
43 Operation sleep duration in seconds.
44
45 Number of seconds to sleep during operations. This can be used to
46 test how the cluster reacts to operation timeouts.
47
48 OCF_RESKEY_fail_start_on = string []
49 Report bogus start failure on specified host
50
51 Start actions will return failure if running on the host specified
52 here, but the resource will start successfully anyway (future
53 monitor calls will find it running). This can be used to test
54 on-fail=ignore.
55
56 OCF_RESKEY_envfile = string []
57 Environment dump file
58
59 If this is set, the environment will be dumped to this file for
60 every call.
61
63 Andrew Beekhof <andrew@beekhof.net>
64 Author.
65
66
67
68Pacemaker Configuration 01/30/2019 OCF_PACEMAKER_DUMMY(7)