How to Restore ocrconfig on Oracle RAC

  1. Stop clusterware force.
~]# $GRID_HOME/bin/crsctl stop crs -f
  1. Show ocrconfig backup.
~]# $GRID_HOME/bin/ocrconfig -showbackup

oracle11gasm01 2026/05/26 15:25:13 /u01/app/11.2.0/grid/cdata/rac-cluster/backup00.ocr

oracle11gasm01 2026/05/26 11:25:12 /u01/app/11.2.0/grid/cdata/rac-cluster/backup01.ocr

oracle11gasm01 2026/05/26 07:25:10 /u01/app/11.2.0/grid/cdata/rac-cluster/backup02.ocr

oracle11gasm01 2026/05/25 03:24:55 /u01/app/11.2.0/grid/cdata/rac-cluster/day.ocr

oracle11gasm01 2026/05/23 23:24:42 /u01/app/11.2.0/grid/cdata/rac-cluster/week.ocr
PROT-25: Manual backups for the Oracle Cluster Registry are not available
  1. Start clusterware with exclusive mode and not start crsd.
~]# $GRID_HOME/bin/crsctl start crs -excl -nocrs
~]# $GRID_HOME/bin/crsctl stat res -t -init | grep -E -A1 'ora.crsd|ora.asm'
ora.asm
1 ONLINE ONLINE oracle11gasm01 Started
--
ora.crsd
1 OFFLINE OFFLINE
  1. Restore ocrconfig.
~]# $GRID_HOME/bin/ocrconfig -restore /u01/app/11.2.0/grid/cdata/rac-cluster/backup00.ocr
~]# $GRID_HOME/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2940
Available space (kbytes) : 259180
ID : 1688355883
Device/File Name : +OCR
Device/File integrity check succeeded

Device/File not configured

Device/File not configured

Device/File not configured

Device/File not configured

Cluster registry integrity check succeeded

Logical corruption check succeeded

~]# $GRID_HOME/bin/crsctl stop crs -f
  1. Start clusterware.
~]# $GRID_HOME/bin/crsctl start crs