logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Pacemaker - Part of the Pacemaker cluster resource manager

Author

       Written by Andrew Beekhof and the Pacemaker project contributors

Pacemaker 2.1.8                                   January 2025                                      PACEMAKER(8)

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.

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

Name

       Pacemaker - Part of the Pacemaker cluster resource manager

Options

HelpOptions:-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

   OutputOptions:--output-as=FORMAT
              Specify output format as one of: text (default), xml

       --output-to=DEST
              Specify file name for output (or "-" for stdout)

   Datasources:-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

   Additionaloptions:-S, --save-xml=FILE
              Save verified XML to named file (most useful with -L)

   ApplicationOptions:
       -$, --version
              Display software version and exit

       -V, --verbose
              Increase debug output (may be specified multiple times)

       -q, --quiet
              Don't print verify information

Synopsis

       crm_verify [<options>]

See Also