Troubleshoot the Oracle Cluster Registry (OCR) file

In Oracle® Clusterware Administration and Deployment Guide 11g Release 2 (11.2) , the section, Troubleshooting Oracle Cluster Registry and Diagnostic Output , says that:

This section describes various methods for troubleshooting problems with OCR, and obtaining diagnostic information from the utilities used to manage the OCR. You can use these utilities to troubleshoot OLR.

Troubleshooting Oracle Cluster Registry

Table 2-5 describes common OCR problems with corresponding resolution suggestions.

Table 2-5 Common Oracle Cluster Registry Problems and Solutions
Problem Solution
Not currently using OCR mirroring and would like to enable it. Run the ocrconfig command with the -replace option.
OCR failed and you must replace it. Error messages in Oracle Enterprise Manager or OCR log file. Run the ocrconfig command with the -replace option.
OCR has a misconfiguration. Run the ocrconfig command with the -repair option as described.
You are experiencing a severe performance effect from OCR processing or you want to remove OCR for other reasons. Run the ocrconfig command with the -replace option as described.
OCR has failed and before you can fix it, the node must be rebooted with only one OCR. Run the ocrconfig with the -repair option to remove the bad OCR location. Oracle Clusterware cannot start if it cannot find all OCRs defined.

Using the OCRCHECK Utility

The OCRCHECK utility displays the version of the OCR's block format, total space available and used space, OCRID, and the OCR locations that you have configured. OCRCHECK performs a block-by-block checksum operation for all of the blocks in all of the OCRs that you have configured. It also returns an individual status for each file and a result for the overall OCR integrity check.

You can run the ocrcheck -help command to display usage information about this utility.

Note:
The logical corruption check is only performed if you run the ocrcheck command as root .