crm_verify8
Part of the pacemaker cluster resource manager
Usage
crm_verify [<options>]
Overview
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)
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)
-
-q, --quiet -
Don't print verify information
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 quiet output:
-
crm_verify --xml-file file.xml --quiet
Check the consistency of the configuration in a given file and produce verbose output:
-
crm_verify --xml-file file.xml --verbose
Releases
6 releases since Debian 7 (Wheezy); the text changed 5 times.
--help-additional since Debian 12 (Bookworm);
--help-all since Debian 12 (Bookworm);
--help-data since Debian 12 (Bookworm);
--help-output since Debian 12 (Bookworm);
--output-as since Debian 12 (Bookworm);
--output-to since Debian 12 (Bookworm);
--quiet since Debian 13 (Trixie);
--xml-pipe since Debian 12 (Bookworm);
-h since Debian 12 (Bookworm);
-p since Debian 12 (Bookworm);
-q since Debian 13 (Trixie).
--text-fancy until Debian 12 (Bookworm);
-? until Debian 11 (Bullseye).