Step 1: Identify OCR physical backup using the following command

[root@rac1 ~]# ocrconfig -showbackup

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

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

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

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

rac1 2020/04/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

Recent Posts

Start typing and press Enter to search