#################迁移votedisk###################################
[grid@gzrac02 ~]$ crsctl replace votedisk +dgocr
Successful addition of voting disk 82458f4f58e74f20bf5134a13a737493.
Successful addition of voting disk 64652783db334f1dbf9a069af0e0d800.
Successful addition of voting disk 06e92ea0cec54f03bf1100868b84ba2a.
Successful deletion of voting disk 3d0e572d49a04ffebf1b1dcbae5e8546.
Successful deletion of voting disk c9e44161aeac4f41bf0bc4fa47db49f3.
Successful deletion of voting disk 5ba3b86e86784fffbf2d348071eac3b9.
Successfully replaced voting disk group with +dgocr.
CRS-4266: Voting file(s) successfully replaced
[grid@gzrac02 ~]$ crsctl query css votedisk
STATE File Universal Id File Name Disk group
-
ONLINE 82458f4f58e74f20bf5134a13a737493 (/dev/oracleasm/disks/OCR1) [DGOCR]
-
ONLINE 64652783db334f1dbf9a069af0e0d800 (/dev/oracleasm/disks/OCR2) [DGOCR]
-
ONLINE 06e92ea0cec54f03bf1100868b84ba2a (/dev/oracleasm/disks/OCR3) [DGOCR]
Located 3 voting disk(s).
[grid@gzrac02 ~]$
################迁移ocr文件#######################################
[root@gzrac01 bin]# ./ocrconfig -add +dgocr
[root@gzrac01 bin]# ./ocrconfig -delete +ocr
[root@gzrac01 bin]# cat /etc/oracle/ocr.loc
#Device/file +OCR/gzrac/OCRFILE/registry.255.1020080481 getting replaced by device +DGOCR/gzrac/OCRFILE/registry.255.1028650863
ocrconfig_loc=+DGOCR/gzrac/OCRFILE/registry.255.1028650863
######################迁移arch#####################################################3
SQL> alter system set log_archive_dest_1='localtion=+DGARCH' scope=spfile sid='*';
srvctl stop database -d monidb
srvctl start database -d monidb