9.06.2010

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

Hiç yorum yok: