crm_verify — check the CIB for consistency
crm_verify checks the configuration database (CIB) for consistency and other problems. It can be used to check a file containing the configuration or can it can connect to a running cluster. It reports two classes of problems, errors and warnings. Errors must be fixed before Heartbeat can work properly. However, it is left up to the administrator to decide if the warnings should also be fixed.
crm_verify assists in creating new or modified
configurations. You can take a local copy of a CIB in the running cluster,
edit it, validate it using crm_verify, then put the new
configuration into effect using cibadmin.
--help, -hPrint a help message.
--verbose, -VTurn on debug information.
![]() | Note |
|---|---|
Increase the level of verbosity by providing additional instances. | |
--live-check, -LConnect to the running cluster and check the CIB.
--crm_xml string, -X stringCheck the configuration in the supplied string. Pass complete CIBs only.
--xml-file file,
-x fileCheck the configuration in the named file.
--xml-pipe, -pUse the configuration piped in via stdin. Pass complete CIBs only.
--dtd-file string,
-D stringUse the given DTD file instead of
/usr/share/heartbeat/crm.dtd.
crm_verify -VLcrm_verify-Vxfile1
catfile1.xml| crm_verify-Vp