Replace Voting Disk and OCR Diskgroup (Oracle 11gR2 / ASM)

# Replace Voting Disk Diskgroup (run as grid)
crsctl query css votedisk
crsctl replace votedisk +NEW_SYSTEM

>>

Successful addition of voting disk 1674ae1f940d4f57bf696419c0799641.
Successful addition of voting disk b38029d024644f58bf52623687f304b3.
Successful addition of voting disk 3026a5582b114f12bfd5ec139da10545.
Successful deletion of voting disk 27b9c96ad3494f9bbfe13bb2fa389d38.
Successfully replaced voting disk group with +NEW_SYSTEM.
CRS-4266: Voting file(s) successfully replaced


# Replace OCR Diskgroup (run as root)
ocrconfig -replace current_OCR_location -replacement new_OCR_location

e.g.
ocrconfig -replace +SYSTEM -replacement +NEW_SYSTEM

# If you have only one OCR location configured and online, then you must first add a new location and then delete the old location, as follows:

/u01/grid11203/bin/ocrconfig -add +NEW_SYSTEM
/u01/grid11203/bin/ocrconfig -delete +SYSTEM


[root@RAC1 ~]# /u01/grid11203/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 4588
Available space (kbytes) : 257532
ID : 924699661
Device/File Name : +NEW_SYSTEM
Device/File integrity check succeeded

Device/File not configured

Device/File not configured

Device/File not configured

Device/File not configured

Cluster registry integrity check succeeded

Logical corruption check succeeded

 

[Reference]
http://docs.oracle.com/cd/E11882_01/rac.112/e41959/votocr.htm#BABEIEJI

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 DanBrother 的頭像
    DanBrother

    DanBrother的部落格

    DanBrother 發表在 痞客邦 留言(0) 人氣()