How to perform a backup of Oracle Cluster Registry (OCR) and how to recover OCR.
Can we take backup online of OCR? Can we perform the recovery of OCR online?
A new article has been released for backup and recovery of OCR in the Oracle RAC database. Please read more from the same article below.
From this same article…….
|How to Recover OCR from EXPORT Backup?|
|We can import metadata of OCR from export dump. Before importing Stop Oracle RAC database, RAC instances and Cluster. Reboot Cluster and remove OCR partition as well as OCR mirror partition. Recreate using ‘dd’ command both partitions. Import metadata of OCR from export dump file of backup. Example commands as following|
|$srvctl -stop database -d RACDB (Shutdown all RAC instances and RAC database)|
|$crsctl stop crs (Shutdown Cluster)|
|#rm -f /u01/oradata/racdb/OCRFile|
|#dd if=/dev/zero of=/u01/oradata/racdb/OCRFile bs=4096 count=65587|
|#chown root /u01/oradata/racdb/OCRFile|
|#chgrp oinstall /u01/oradata/racdb/OCRFile|
|#chmod 640 /u01/oradata/racdb/OCRFile”|
All the best
Thanks and regards,