Search This Blog

Sunday, June 26, 2011

Restore Oracle RAC OCR file( Oracle Cluster Registry)



oracle@rac2 dbs]$ ocrconfig -showbackup

rac2 2011/01/01 22:42:51 /oracle/crs/oracle/product/10.2.0/crs/cdata/crs

rac2 2011/01/01 18:42:50 /oracle/crs/oracle/product/10.2.0/crs/cdata/crs

rac2 2011/01/01 14:42:50 /oracle/crs/oracle/product/10.2.0/crs/cdata/crs

rac1 2010/12/31 20:40:10 /oracle/crs/oracle/product/10.2.0/crs/cdata/crs

rac1 2010/12/23 16:52:33 /oracle/crs/oracle/product/10.2.0/crs/cdata/crs

/etc/init.d/init.crs stop ## Do in all nodes
ocrconfig -restore /oracle/crs/oracle/product/10.2.0/crs/cdata/crs/backup01.ocr
/etc/init.d/init.crs start ## Do in all nodes