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 command -n attribute [options]
10

DESCRIPTION

12       crm_attribute - Manage node's attributes and cluster options.
13
14       Allows  node attributes and cluster options to be queried, modified and
15       deleted.
16

OPTIONS

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

EXAMPLES

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

AUTHOR

99       Written by Andrew Beekhof
100

REPORTING BUGS

102       Report bugs to pacemaker@oss.clusterlabs.org
103
104
105
106Pacemaker 1.1.6-1.fc14          September 2011                    PACEMAKER(8)
Impressum