Home > Oracle Rac > restoring the OCR in 11gr2

restoring the OCR in 11gr2

Restoring the OCR

If you back it up, there might come a time to restore it. Recovering the OCR from the physical backups is fairly straight forward, just follow these steps:

Locate the OCR backup using the ocrconfig command.

ocrconfig -showbackup

Stop Oracle Clusterware (on all nodes)

crsctl stop cluster -all

Stop CRS on all nodes

crsctl stop crs

Restore the OCR backup (physical) with the ocrconfig command.

ocrconfig -restore {path_to_backup/backup_file_to_restore}

Restart CRS

crsctl start crs

Check the integrity of the newly restored OCR:

cluvfy comp ocr -n all

You can also restore the OCR using a logical backup as seen here:

Locate your logical backup.

Stop Oracle Clusterware (on all nodes)

crsctl stop cluster -all

Stop CRS on all nodes

crsctl stop crs

Restore the OCR backup (physical) with the ocrconfig command.

ocrconfig -import /tmp/export_file.fil

Restart CRS

crsctl start crs

Check the integrity of the newly restored OCR:

cluvfy comp ocr -n all
Advertisements
Categories: Oracle Rac
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: