Pacemaker - Part of the Pacemaker cluster resource manager
attrd_updater {-n <attribute> | -P <pattern>}
<command> [options]
query and update Pacemaker node attributes
- -U,
--update=VALUE
- Update attribute's value. Required: -n/--name or
-P/--pattern. Optional: -d/--delay (if specified, the delay
will be used if the attribute needs to be created, but ignored if the
attribute already exists), -s/--set, -p/--private,
-W/--wait, -z/--utilization.
- -B,
--update-both=VALUE
- Update attribute's value and time to wait (dampening) in pacemaker-attrd.
If this causes the value or dampening to change, the attribute will also
be written to the cluster configuration, so be aware that repeatedly
changing the dampening reduces its effectiveness. Requires
-d/--delay
- -Y,
--update-delay
- Update attribute's dampening in pacemaker-attrd. If this causes the
dampening to change, the attribute will also be written to the cluster
configuration, so be aware that repeatedly changing the dampening reduces
its effectiveness. Requires -d/--delay
- -Q, --query
- Query the attribute's value from pacemaker-attrd
- -D, --delete
- Unset attribute from pacemaker-attrd. At the moment, there is no way to
remove an attribute. This option will instead set its value to the empty
string.
- -R, --refresh
- (Advanced) Force the pacemaker-attrd daemon to resend all current values
to the CIB
- -d,
--delay=SECONDS
- The time to wait (dampening) in seconds for further changes before sending
to the CIB
- -s,
--set=SET
- (Advanced) The attribute set in which to place the value
- -N,
--node=NODE
- Set the attribute for the named node (instead of the local one)
- -A, --all
- Show values of the attribute for all nodes (query only)
- -l,
--lifetime=SECTION
- (Not yet implemented) Lifetime of the node attribute (silently ignored by
cluster)
- -p, --private
- If this creates a new attribute, never write the attribute to CIB
- -W,
--wait=UNTIL
- Wait for some event to occur before returning. Values are 'no' (wait only
for the attribute daemon to acknowledge the request), 'local' (wait until
the change has propagated to where a local query will return the request
value, or the value set by a later request), or 'cluster' (wait until the
change has propagated to where a query anywhere on the cluster will return
the requested value, or the value set by a later request). Default is
'no'.
- -z,
--utilization
- When creating a new attribute, create it as a node utilization attribute
instead of an instance attribute. If the attribute already exists, its
existing type (utilization vs. instance) will be used regardless. (with
-B, -U, -Y)
- -$, --version
- Display software version and exit
- -V, --verbose
- Increase debug output (may be specified multiple times)
Written by Andrew Beekhof and the Pacemaker project
contributors
Report bugs to
https://bugs.clusterlabs.org/enter_bug.cgi?product=Pacemaker