Recover OCR Using Physical Backups

The OCR content is critical to Oracle Clusterware.
OCR is automatically backed up physically:
Every four hours: CRS keeps the last three copies.
At the end of every day: CRS keeps the last two copies.
At the end of every week: CRS keeps the last two copies

$ cd $ORACLE_BASE/Crs/cdata/test
$ ls -lt

check Ocr automatic backup location
ocrconfig -showbackup

stop oracleclusterware on all nodes
crsctl stop crs

restore the physical ocr backup
ocrconfig -restore /cdata/day.ocr

restart oracle clusterware on all nodes
crsctl start crs

check ocr integrity
cluvfy comp ocr -n all

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