Step #1 Stop cluster on each node (Root user).
# crsctl stop crs -f
Step #2 we are starting the cluster in the excusive mode (Root user)
As root start GI in exclusive mode on one node only:
In 11201 RAC, we have to use below option to start the cluster in the exclusive mode.
# crsctl start crs -excl
In 11202 RAC, we have to use below option to start the cluster in the exclusive mode.
# crsctl start crs -excl -nocrs
Note: A new option ‘-nocrs‘ has been introduced with 11.2.0.2, which prevents the start of the ora.crsd resource. It is vital that this option is specified; otherwise the failure to start the ora.crsd resource will tear down ora.cluster_interconnect.haip, which in turn will cause ASM to crash.
Step #3 Restoring OCR
To Know the OCR Location on the cluster environment
$ cat /etc/oracle/ocr.loc — In Linux
To Check whether ocrcheck is corrupted or not
# ocrcheck
Check whether ocrcheck is able to complete it successfully
OCR CHECK Ex
# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 4404
Available space (kbytes) : 257716
ID : 1306201859
Device/File Name : +DG01
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
Note: 1) Check whether cluster registry integrity check is successful.
2) When you run as root user, logical corruption check will be bypassed.
If you run as oracle user, you can see this line end of the “ocrcheck” output.
“Logical corruption check bypassed due to non-privileged user”
To Know the OCR Location on the cluster environment
$ cat /etc/oracle/ocr.loc — In Linux
If the OCR DISK corrupted, then perform the below steps
Locate OCR LOG file location
$ORACLE_HOME /log/<hostname>/client/ocrcheck_<pid>.log
Locate the latest automatic OCR backup
$GRID_HOME\bin\ocrconfig –showbackup
Restore the latest OCR backup(root user)
# ocrconfig -restore $ORACLE_HOME/cdata/testdbrac1/backup00.ocr
# crsctl stop crs -f
Step #2 we are starting the cluster in the excusive mode (Root user)
As root start GI in exclusive mode on one node only:
In 11201 RAC, we have to use below option to start the cluster in the exclusive mode.
# crsctl start crs -excl
In 11202 RAC, we have to use below option to start the cluster in the exclusive mode.
# crsctl start crs -excl -nocrs
Note: A new option ‘-nocrs‘ has been introduced with 11.2.0.2, which prevents the start of the ora.crsd resource. It is vital that this option is specified; otherwise the failure to start the ora.crsd resource will tear down ora.cluster_interconnect.haip, which in turn will cause ASM to crash.
Step #3 Restoring OCR
To Know the OCR Location on the cluster environment
$ cat /etc/oracle/ocr.loc — In Linux
To Check whether ocrcheck is corrupted or not
# ocrcheck
Check whether ocrcheck is able to complete it successfully
OCR CHECK Ex
# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 4404
Available space (kbytes) : 257716
ID : 1306201859
Device/File Name : +DG01
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
Note: 1) Check whether cluster registry integrity check is successful.
2) When you run as root user, logical corruption check will be bypassed.
If you run as oracle user, you can see this line end of the “ocrcheck” output.
“Logical corruption check bypassed due to non-privileged user”
To Know the OCR Location on the cluster environment
$ cat /etc/oracle/ocr.loc — In Linux
If the OCR DISK corrupted, then perform the below steps
Locate OCR LOG file location
$ORACLE_HOME /log/<hostname>/client/ocrcheck_<pid>.log
Locate the latest automatic OCR backup
$GRID_HOME\bin\ocrconfig –showbackup
Restore the latest OCR backup(root user)
# ocrconfig -restore $ORACLE_HOME/cdata/testdbrac1/backup00.ocr