Use the cluvfy comp ocr
component verification command to check the integrity of Oracle Cluster Registry (OCR) on all the specified nodes.
cluvfy comp ocr [-n node_list] [-method {sudo -user user_name [-___location directory_path] | root}] [-verbose]
Table A-17 cluvfy comp ocr Command Parameters
Parameter | Description |
---|---|
-n node_list |
The comma-delimited list of nondomain qualified node names on which to conduct the verification. If you do not specify this option, then CVU checks only the local node. |
-method {sudo -user user_name [-___location directory_path] | root} |
Specify whether the privilege delegation method is |
-verbose |
CVU prints detailed output. |
This command does not verify the integrity of OCR contents. You must use the OCRCHECK utility to verify the contents of OCR.
Verifying the integrity of OCR on the local node
To verify the integrity of OCR on the local node, run the following command:
cluvfy comp ocr
This command produces output similar to the following:
Verifying OCR integrity Checking OCR integrity... Checking the absence of a non-clustered configurationl... All nodes free of non-clustered, local-only configurations ASM Running check passed. ASM is running on all specified nodes Checking OCR config file “/etc/oracle/ocr.loc"... OCR config file “/etc/oracle/ocr.loc" check successful Disk group for ocr ___location “+DATA" available on all the nodes NOTE: This check does not verify the integrity of the OCR contents. Execute ‘ocrcheck' as a privileged user to verify the contents of OCR. OCR integrity check passed Verification of OCR integrity was successful.