DOKK / manpages / debian 10 / pacemaker-cli-utils / crm_verify.8.en
PACEMAKER(8) System Administration Utilities PACEMAKER(8)

Pacemaker - Part of the Pacemaker cluster resource manager

crm_verify [modifiers] data_source

crm_verify - 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.

-?, --help
This text
-$, --version
Version information
Specify multiple times to increase debug output

Check the configuration used by the running cluster
Check the configuration in the named file
Check the configuration in the supplied string

-p, --xml-pipe Check the configuration piped in via stdin

Save the verified XML to the named file. Most useful with -L

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

Written by Andrew Beekhof

Report bugs to users@clusterlabs.org

August 2022 Pacemaker 2.0.1