Recovery Steps for OCR using physical backups
Use the following procedure to restore OCR on UNIX-based systems:
- Identify the OCR backups by using the ocrconfig -showbackup command. You can execute this command from any node as user oracle. The output tells you on which node and which path to retrieve automatically generated backups.
- Review the contents of the backup by using ocrdump -backupfile file_name, where file_name is the name of the backup file.
- Stop Oracle Clusterware on all the nodes of your cluster by executing the
crsctl stop crs command on all the nodes as the root user.
- Perform the restore by applying an OCR backup file that you identified in step one using the following command as the root user, where file_name is the name of the OCR file that you want to restore. Make sure that the OCR devices that you specify in the OCR configuration file (/etc/oracle/ocr.loc) exist and that these OCR devices are valid before running this command: ocrconfig -restore file_name
- Restart Oracle Clusterware on all the nodes in your cluster by restarting each node or by running the crsctl start crs command as the root user.
- Run the following command to verify OCR integrity, where the -n all argument retrieves a listing of all the cluster nodes that are configured as part of your cluster:
cluvfy comp ocr -n all
Comments
Post a Comment