How to Replace a Corrupt OCR Mirror File (Device/File Needs To Be Synchronized With The Other Device)
(Doc ID 317628.1)
Last updated on MARCH 07, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 188.8.131.52 [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document