OCR的恢復(fù),使用物理備份

*******************************
使用OCR的物理備份進(jìn)行恢復(fù):
使用OCR文件的物理備份來恢復(fù)OCR文件到disk group里:
0、先找出備份在哪臺主機(jī)上,假設(shè)是node1上。
/u01/app/11.2.0/grid/bin/ocrconfig -showbackup manual

1、停止所有節(jié)點(diǎn)上的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資源是否在運(yùn)行,應(yīng)該沒有運(yùn)行
下面命令在crs啟動時執(zhí)行會報錯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、恢復(fù)ocr文件到磁盤組里:
[root@node1 ~]# /u01/app/11.2.0/grid/bin/ocrconfig -restore /u01/backup_20141118_020104.ocr
如果是使用邏輯備份恢復(fù),則:
/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上執(zhí)行cluvfy檢查crs:
cluvfy comp ocr -n all -verbose
*******************************

網(wǎng)站標(biāo)題:OCR的恢復(fù),使用物理備份
鏈接URL:http://www.muchs.cn/article38/pdhgsp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站策劃、面包屑導(dǎo)航網(wǎng)站導(dǎo)航、定制網(wǎng)站、網(wǎng)站內(nèi)鏈、網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

小程序開發(fā)