crm_verify - Man Page

Part of the Pacemaker cluster resource manager

Synopsis

crm_verify [<options>]

Description

Check a Pacemaker configuration for errors

Check the well-formedness of a complete Pacemaker XML configuration, its conformance to the configured schema, and the presence of common misconfigurations. Problems reported as errors must be fixed before the cluster will work properly. It is left to the administrator to decide whether to fix problems reported as warnings.

Options

Help Options

-h,  --help

Show help options

--help-all

Show all help options

--help-output

Show output help

--help-data

Show data options

--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)

Data sources

-L,  --live-check

Check the configuration used by the running cluster

-x,  --xml-file=FILE

Check the configuration in the named file

-p,  --xml-pipe

Check the configuration piped in via stdin

-X,  --xml-text=XML

Check the configuration in the supplied string

Additional options

-S,  --save-xml=FILE

Save verified XML to named file (most useful with -L)

Application Options

-$,  --version

Display software version and exit

-V,  --verbose

Increase debug output (may be specified multiple times)

Examples

Check the consistency of the configuration in the running cluster:

crm_verify --live-check

Check the consistency of the configuration in a given file and produce verbose output:

crm_verify --xml-file file.xml --verbose

Author

Written by Andrew Beekhof

Info

September 2021 Pacemaker 2.1.1-9.fc36 System Administration Utilities