1OCF_PACEMAKER_ATTRIB(7) Pacemaker Configuration OCF_PACEMAKER_ATTRIB(7)
2
3
4
6 ocf_pacemaker_attribute - Manages a node attribute
7
9 OCF_RESKEY_state=string OCF_RESKEY_name=string
10 [OCF_RESKEY_active_value=string] [OCF_RESKEY_inactive_value=string]
11
12 attribute [start | stop | monitor | reload | migrate_to | migrate_from
13 | validate-all | meta-data]
14
16 This resource agent controls a node attribute for the node it´s running
17 on. It sets the attribute one way when started, and another way when
18 stopped, according to the configuration parameters.
19
21 OCF_RESKEY_state = string [/var/run/opa-undef.state]
22 State file
23
24 Full path of a temporary file to store the resource state in
25
26 OCF_RESKEY_name = string [opa-undef]
27 Attribute name
28
29 Name of node attribute to manage
30
31 OCF_RESKEY_active_value = string [1]
32 Attribute value when active
33
34 Value to use for node attribute when resource becomes active (empty
35 string is discouraged, because monitor cannot distinguish it from a
36 query error)
37
38 OCF_RESKEY_inactive_value = string [0]
39 Attribute value when inactive
40
41 Value to use for node attribute when resource becomes inactive
42
44 Andrew Beekhof <andrew@beekhof.net>
45 Author.
46
47
48
49Pacemaker Configuration 06/19/2018 OCF_PACEMAKER_ATTRIB(7)