crm_verify man page

Pacemaker — Part of the Pacemaker cluster resource manager

Synopsis

crm_verify [modifiers] data_source

Description

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.

Options

-?, --help

This text

-$, --version

Version information

-V, --verbose

Increase debug output

Data sources

-L, --live-check

Check the configuration used by the running cluster

-x, --xml-file=value

Check the configuration in the named file

-X, --xml-text=value

Check the configuration in the supplied string

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

Additional Options

-S, --save-xml=value

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

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

Reporting Bugs

Report bugs to users@clusterlabs.org

Info

May 2018 Pacemaker 2.0.0-0.1.rc4.fc29 System Administration Utilities