attrd_updater - Man Page

Part of the Pacemaker cluster resource manager

Synopsis

attrd_updater -n <attribute> <command> [options]

Description

query and update Pacemaker node attributes

Options

Help Options

-h,  --help

Show help options

--help-all

Show all help options

--help-output

Show output help

--help-required

Show required arguments

--help-command

Show command options (mutually exclusive)

--help-additional

Show additional options

Output Options

--output-as=FORMAT

Specify output format as one of: text (default), xml

--output-to=DEST

Specify file name for output (or "-" for stdout)

--text-fancy

Use more highly formatted output (requires --output-as=text)

Required Arguments

-n,  --name=NAME

The attribute's name

Command

-U,  --update=VALUE

Update attribute's value in pacemaker-attrd. If this causes the value to change, it will also be updated in the cluster configuration.

-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

Additional Options

-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

Application Options

-$,  --version

Display software version and exit

-V,  --verbose

Increase debug output (may be specified multiple times)

Author

Written by Andrew Beekhof and the Pacemaker project contributors

Reporting Bugs

Report bugs to users@clusterlabs.org

Info

March 2023 Pacemaker 2.1.5-5.fc39 System Administration Utilities