手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle RAC 备份和恢复OCR(10g)

[日期:2013-03-21] 来源:Linux社区  作者:chuner [字体:大 中 小]

②恢复OCR

[root@node1 bin]# ./ocrconfig -restore /home/Oracle/oracle/product/10.2.0/crs_1/cdata/crs/backup00.ocr ③验证OCR完整性

[oracle@node1 crs]$ cluvfy comp ocr -n all

Verifying OCR integrity

Checking OCR integrity...

Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations.

Uniqueness check for OCR device passed.

Checking the version of OCR...
OCR of correct Version "2" exists.

Checking data integrity of OCR...
Data integrity check for OCR passed.

OCR integrity check passed.

Verification of OCR integrity was successful.

----恢复后能启动 

从手动备份中恢复:

用下面的方法从手动备份中恢复,file_name为备份的文件名

ocrconfig -import file_name 示例:

[root@node1 bin]# ./ocrconfig -import /home/oracle/backup/ocrbackup1.bak

[oracle@node1 crs]$ cluvfy comp ocr -n all

Verifying OCR integrity

Checking OCR integrity...

Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations.

Uniqueness check for OCR device passed.

Checking the version of OCR...
OCR of correct Version "2" exists.

Checking data integrity of OCR...
Data integrity check for OCR passed.

OCR integrity check passed.

Verification of OCR integrity was successful.

恢复后可以启动

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
相关资讯       Oracle RAC  Oracle备份和恢复 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款