Step 1: Identify OCR physical backup using the following command

[root@rac1 ~]# ocrconfig -showbackup

rac2     2018/04/03 16:57:56     /u01/app/12.1.0/grid/cdata/rac-scan/backup00.ocr     0

rac1     2018/04/01 17:34:19     /u01/app/12.1.0/grid/cdata/rac-scan/backup01.ocr     0

rac1     2018/03/31 13:57:45     /u01/app/12.1.0/grid/cdata/rac-scan/backup02.ocr     0

rac2     2018/04/03 16:57:56     /u01/app/12.1.0/grid/cdata/rac-scan/day.ocr     0

rac1     2018/03/30 14:55:33     /u01/app/12.1.0/grid/cdata/rac-scan/week.ocr     0

Step 2: ocrdump

[root@rac1 ~]# ocrdump -backupfile /u01/app/12.1.0/grid/cdata/rac-scan/backup00.ocr

Step 3:  Bring down all instance and database before performing recovery of OCR.

[root@rac1 ~]# crsctl stop crs

Step 4: Restore backup using OCR file we have got in ocrconfig -showbackup command.

[root@rac1 rac-scan]# ocrconfig -restore /u01/app/12.1.0/grid/cdata/rac-scan/backup00.ocr

Step 5: Start CRS service on all node.

[root@rac1 ~]# crsctl start crs

Step 6: Run the following command to verify OCR integrity, where the -n all argument retrieves a listing of all the cluster nodes that are configured as part of your cluster.

cluvfy comp ocr -n all

Stay tuned for More articles on Oracle RAC

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Telegram Channel :

Skant Gupta’s LinkedIn:

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

About The Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.