OCR RECOVERY OCR is very important to CRS.If OCR has any problem,RAC can't working normally.We can use command'ocrcheck' (exec by root or oracle) to check ocr integrity.
In RAC,the ocr automatic backup at last week,last day,last four hours.Use 'ocrconfig -showbackup' todisplay the backup detail.other options include:backuploc,relpace mirrorocr,export,import'.
As the daily work,We should backup OCR.Use command 'ocrconfig -export <filename>'.The ocr loaction configuration file should be at /etc/oracle/ocr.loc.Use dd command to simulate the OCR corruption.
Shutdown RAC all nodes.Startup one of nodes in single user mode.Exec 'su' switchover to root.If you useraw device,you should be issue 'service rawdevice start',else you get error.issue 'ocrconfig -import <filename>'reboot all nodes. |