1PACEMAKER(8)            System Administration Utilities           PACEMAKER(8)
2
3
4

NAME

6       Pacemaker - Part of the Pacemaker cluster resource manager
7

SYNOPSIS

9       crm_attribute -n <attribute> <command> [options]
10

DESCRIPTION

12       crm_attribute  -  query  and  update Pacemaker cluster options and node
13       attributes
14

OPTIONS

16       -?, --help
17              This text
18
19       -$, --version
20              Version information
21
22       -V, --verbose
23              Increase debug output
24
25       -q, --quiet
26              Print only the value on stdout
27
28       -n, --name=value
29              Name of the attribute/option to operate on
30
31       -P, --pattern=value
32              Pattern matching names of attributes (only  with  -v/-D  and  -l
33              reboot)
34
35   Commands:
36       -G, --query
37              Query the current value of the attribute/option
38
39       -v, --update=value
40              Update the value of the attribute/option
41
42       -D, --delete
43              Delete the attribute/option
44
45   Additional Options:
46       -N, --node=value
47              Set  a  node  attribute  for  named  node  (instead of a cluster
48              option). See also: -l
49
50       -t, --type=value
51              Which part  of  the  configuration  to  update/delete/query  the
52              option  in  Valid values: crm_config, rsc_defaults, op_defaults,
53              tickets
54
55       -l, --lifetime=value
56              Lifetime of the node attribute Valid values: reboot, forever
57
58       -z, --utilization
59              Set an utilization attribute for the node.
60
61       -s, --set-name=value
62              (Advanced) The attribute set in which to place the value
63
64       -i, --id=value
65              (Advanced) The ID used to identify the attribute
66
67       -d, --default=value
68              (Advanced) Default value to display if none is found in configu‐
69              ration
70

EXAMPLES

72       Add new node attribute called 'location' with the value of 'office' for
73       host 'myhost':
74
75              # crm_attribute --node myhost --name location --update office
76
77       Query the value of the 'location' node attribute for host 'myhost':
78
79              # crm_attribute --node myhost --name location --query
80
81       Change the value of the 'location' node attribute for host 'myhost':
82
83              # crm_attribute --node myhost --name location  --update  backof‐
84              fice
85
86       Delete the 'location' node attribute for host 'myhost':
87
88              # crm_attribute --node myhost --name location --delete
89
90       Query the value of the cluster-delay cluster option:
91
92              # crm_attribute --type crm_config --name cluster-delay --query
93
94       Query  value  of  the "cluster-delay" cluster option and print only the
95       value:
96
97              # crm_attribute --type crm_config --name  cluster-delay  --query
98              --quiet
99

AUTHOR

101       Written by Andrew Beekhof
102

REPORTING BUGS

104       Report bugs to users@clusterlabs.org
105
106
107
108Pacemaker 2.0.5-10.fc33          December 2020                    PACEMAKER(8)
Impressum