Chinaunix
标题: OCR RECOVERY [打印本页]
作者: oracle狂热分子 时间: 2011-12-23 03:40
标题: OCR RECOVERY
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.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) |
Powered by Discuz! X3.2 |