1OCF_PACEMAKER_DUMMY(7)      Pacemaker Configuration     OCF_PACEMAKER_DUMMY(7)
2
3
4

NAME

6       ocf_pacemaker_Dummy - Example stateless resource agent
7

SYNOPSIS

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

DESCRIPTION

17       This is a Dummy Resource Agent. It does absolutely nothing except keep
18       track of whether its running or not. Its purpose in life is for testing
19       and to serve as a template for RA writers. NB: Please pay attention to
20       the timeouts specified in the actions section below. They should be
21       meaningful for the kind of resource the agent manages. They should be
22       the minimum advised timeouts, but they shouldn´t/cannot cover _all_
23       possible resource instances. So, try to be neither overly generous nor
24       too stingy, but moderate. The minimum timeouts should never be below 10
25       seconds.
26

SUPPORTED PARAMETERS

28       OCF_RESKEY_state = string [/Dummy-.state]
29           State file
30
31           Location to store the resource state in.
32
33       OCF_RESKEY_passwd = string []
34           Password
35
36           Fake password field
37
38       OCF_RESKEY_fake = string [dummy]
39           Fake attribute that can be changed to cause a reload
40
41           Fake attribute that can be changed to cause a reload
42
43       OCF_RESKEY_op_sleep = string [0]
44           Operation sleep duration in seconds.
45
46           Number of seconds to sleep during operations. This can be used to
47           test how the cluster reacts to operation timeouts.
48
49       OCF_RESKEY_fail_start_on = string []
50           Report bogus start failure on specified host
51
52           Start actions will return failure if running on the host specified
53           here, but the resource will start successfully anyway (future
54           monitor calls will find it running). This can be used to test
55           on-fail=ignore.
56
57       OCF_RESKEY_envfile = string []
58           Environment dump file
59
60           If this is set, the environment will be dumped to this file for
61           every call.
62

AUTHOR

64       Andrew Beekhof <andrew@beekhof.net>
65           Author.
66
67
68
69Pacemaker Configuration           06/19/2018            OCF_PACEMAKER_DUMMY(7)
Impressum