oracle10gRAC[恢复OCR]
oracle10gRAC[恢复OCR]
发布时间:2015-06-05 来源:查字典编辑
摘要:oracle10gRAC[恢复OCR]----查询OCR状态:#/oracle/product/10g/crs/bin/ocrcheckPR...

oracle 10g RAC [恢复OCR]

----查询OCR状态:

# /oracle/product/10g/crs/bin/ocrcheck

PROT-601: Failed to initialize ocrcheck

---------替换原OCR磁盘,出错:

# /oracle/product/10g/crs/bin/ocrconfig -replace ocr '/dev/rdsk/c5t600A0B80005AD8BC0000020000000000d0s7'

/oracle/product/10g/crs/bin/ocrconfig -replace ocrmirror '/dev/rdsk/c5t600A0B80005AD8BC0000020000000001d0s7'

PROT-1: Failed to initialize ocrconfig

---------用repair选项替换原OCR磁盘:

# /oracle/product/10g/crs/bin/ocrconfig -repair ocr '/dev/rdsk/c5t600A0B80005AD8BC0000020000000000d0s7'

# /oracle/product/10g/crs/bin/ocrconfig -repair ocrmirror '/dev/rdsk/c5t600A0B80005AD8BC0000020000000001d0s7'

---------使用自动备份的ocr文件来恢复到新的OCR磁盘:

# /oracle/product/10g/crs/bin/ocrconfig -restore '/oracle/product/10g/crs/cdata/crs/backup00.ocr'

此处需注意新的磁盘容量要比原来的磁盘大,否则在恢复是会遇到错误PROT-22: Storage too small,这是

Oracle的一个Bug

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Oracle教程学习
热门Oracle教程学习
编程开发子分类