>데이터 베이스 >MySQL 튜토리얼 >oracle10gRAC[恢复OCR]

oracle10gRAC[恢复OCR]

WBOY
WBOY원래의
2016-06-07 14:54:16961검색

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/c5t600A0B80005AD8BC0

  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,这是

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.