*******************************
使用OCR的物理备份进行恢复:
使用OCR文件的物理备份来恢复OCR文件到disk group里:
0、先找出备份在哪台主机上,假设是node1上。
/u01/app/11.2.0/grid/bin/ocrconfig -showbackup manual
1、停止所有节点上的crs
/u01/app/11.2.0/grid/bin/crsctl stop crs
2、在node1上启动asm:
/u01/app/11.2.0/grid/bin/crsctl start crs -excl -nocrs
检查crs资源是否在运行,应该没有运行
下面命令在crs启动时执行会报错CRS-2613: Could not find resource 'ora.crsd',只能crsctl status res ora.crsd -init
/u01/app/11.2.0/grid/bin/crsctl status res ora.crsd
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
3、恢复ocr文件到磁盘组里:
[root@node1 ~]# /u01/app/11.2.0/grid/bin/ocrconfig -restore /u01/backup_20141118_020104.ocr
如果是使用逻辑备份恢复,则:
/u01/app/11.2.0/grid/bin/ocrconfig -import /u01/ocr.dmp
4、检查ocr文件:
[root@node1 ~]# /u01/app/11.2.0/grid/bin/ocrcheck
5、在node1上停止crs:
/u01/app/11.2.0/grid/bin/crsctl stop crs -f
6、在node1和node2上启动crs:
/u01/app/11.2.0/grid/bin/crsctl start crs
7、在node1上执行cluvfy检查crs:
cluvfy comp ocr -n all -verbose
*******************************
新闻标题:OCR的恢复,使用物理备份
分享地址:
http://mswzjz.cn/article/pdhgsp.html