OCRとVOTEDISKのバックアップ・リカバリ

1476 ワード

votedisk 
[grid@rac1 ~]$ crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   1b94d29855d64fb1bfc51f95a6c97b36 (/dev/raw/raw3) [OCR_VOTE]
 2. ONLINE   ae850f1de5c04f8cbfac1b197fc14037 (/dev/raw/raw2) [OCR_VOTE]
 3. ONLINE   a8f9b74e79744fe8bf579780be82a4e8 (/dev/raw/raw1) [OCR_VOTE]
Located 3 voting disk(s).

[root@rac1 install]# dd if=/dev/raw/raw1 of=/u01/votedisk.bak 
4016187+0 records in
4016187+0 records out
2056287744 bytes (2.1 GB) copied, 1156.8 seconds, 1.8 MB/s

OCR 
OCR 
[grid@rac2 install]$ ocrconfig -showbackup

rac1     2014/11/15 21:03:07     /u01/app/11.2.0/grid/cdata/rac-cluster/backup00.ocr

rac1     2014/09/14 17:37:47     /u01/app/11.2.0/grid/cdata/rac-cluster/backup01.ocr

rac1     2014/09/14 13:37:42     /u01/app/11.2.0/grid/cdata/rac-cluster/backup02.ocr

rac1     2014/11/15 21:03:07     /u01/app/11.2.0/grid/cdata/rac-cluster/day.ocr

rac1     2014/11/15 21:03:07     /u01/app/11.2.0/grid/cdata/rac-cluster/week.ocr
PROT-25: Manual backups for the Oracle Cluster Registry are not available

[root@rac1 bin]# ./ocrconfig -export /u01/ocr.bak
 export , import 。 OCR  restore 
[root@rac1 u01]# ls -ltr
total 638304
drwxr-xr-x 6 root oinstall      4096 Sep 10 22:39 app
-rw-r--r-- 1 root root         93093 Jan  8 12:10 ocr.bak
-rw-r--r-- 1 root root     652875776 Jan  8 12:10 votedisk.bak