How to Replace a Corrupt OCR Mirror File (Device/File Needs To Be Synchronized With The Other Device)
Last updated on NOVEMBER 10, 2015
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 220.127.116.11 [Release 10.2 to 11.2]
Information in this document applies to any platform.
From Oracle Database 10g Release 2 (10.2) Oracle Clusterware provides the creation of a mirrored Oracle Cluster Registry (OCR) file, enhancing cluster reliability. From 11.2 onwards, upto 4 OCR mirror can be created.
The ocrconfig command, used to perform OCR configuration operations, has the new option to add, replace and remove the OCR file and its mirror copy:
ocrconfig -replace ocr|ocrmirror [<filename>]
In this article we will show how to use the good OCR copy to replace the corrupt mirror copy and how to workaround the potential PROT-22 error during that operation.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms