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