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 | reload-agent | migrate_to |
14       migrate_from | validate-all | meta-data]
15

DESCRIPTION

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

SUPPORTED PARAMETERS

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 an agent reload
35
36           Fake attribute that can be changed to cause an agent 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, migrate_from, and reload-agent actions will return failure
48           if running on the host specified here, but the resource will run
49           successfully anyway (future monitor calls will find it running).
50           This can be used to test 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

AUTHOR

59       Andrew Beekhof <andrew@beekhof.net>
60           Author.
61
62
63
64Pacemaker Configuration           11/27/2023            OCF_PACEMAKER_DUMMY(7)
Impressum