Which step must you take before restoring from an OCR backup?

Which step must you take before restoring from an OCR backup?

Which step must you take before restoring from an OCR backup?

A.
Set the proper directory with the -backuploc option

B.
Identify the existing backups with the -backup option

C.
Review the contents of the backup with the ocrdump command

D.
Stop Oracle Clusterware on all nodes

Explanation:
For recovering OCR from physical automated backup needs all cluster, RAC
instances and RAC database bring down before performing recovery of OCR. Here you can find
out command reference for Recovery of OCR from physical backup copy.
$ocrconfig -showbackup $srvctl -stop database -d RACDB (Shutdown all RAC instances and RAC
database)
$crsctl stop crs (Shutdown Cluster)
#rm -f /u01/oradata/racdb/OCRFile
#cp /dev/null /u01/oradata/racdb/OCRFile
#chown root /u01/oradata/racdb/OCRFile
#chgrp oinstall /u02/oradata/racdb/OCRFile
#chmod 640 /u01/oradata/racdb/OCRFile
#ocrconfig -restore /u02/apps/crs/cdata/crs/backup00.ocr
$crsctl start crs (After issuing start cluster check status of cluster using ‘crs_stat -t’)
$srvctl start database -d RACDB (Start Oracle RAC database and RAC instances)
Reference: How to Recover OCR from PHYSICAL Backup?



Leave a Reply 0

Your email address will not be published. Required fields are marked *