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, -h
Print a help message.
--verbose, -V
Turn on debug information.
![]() | |
Increase the level of verbosity by providing additional instances. | |
--live-check, -L
Connect to the running cluster and check the CIB.
--crm_xml string, -X string
Check the configuration in the supplied string. Pass complete CIBs only.
--xml-file file,
-x file
Check the configuration in the named file.
--xml-pipe, -p
Use the configuration piped in via stdin. Pass complete CIBs only.
crm_verify -VLcrm_verify-Vxfile1
catfile1.xml| crm_verify-Vp