As the documentation about restoring an OCR did not work as it should be, the following has been succesfully tested…
Log on as “root”
# . oraenv +ASM1
# ./ocrconfig -showbackup
# ./ocrconfig -showbackup manual
Stop the cluster on all nodes
# crsctl stop crs
Start the cluster in exclusive mode, as we need ASM.
The clusterware software will start too by the way!!
# crsctl start crs -excl
check if the diskgroups are online:
# sqlplus / as sysasm
# SQL> select name, state from v$asm_diskgroup;
# SQL> exit;
Stop the clusterware resource (if you don’t do this you won’t be able to restore…):
# crsctl stop resource ora.crsd -init
Restore the OCR:
# ocrconfig -restore file_name
check the restore with:
# ocrcheck
Stop the cluster:
# crsctl stop crs -f
Start the cluster in a normal way
# crsctl start cluster
Leave A Comment