11GR2 start, both OCR and vote are stored in ASM disk groups, so there are two ways to replace OCR, the first is to use ASM Disk Group drop disk after data reorganization, the second is to migrate OCR to another disk group
The first type: Add disk and Drop disk
Sql> select Group_number,name,path from V$asm_disk;
Group_number NAME PATH
------------ ---------- ------------------------------
0 Orcl:ocr_vote2 <<<<<<<<<<<<<<<<<<< New disk
1 ASM1 orcl:asm1
1 ASM2 orcl:asm2
2 ocr_vote1 orcl:ocr_vote1
Sql> alter DiskGroup ocr_vote add disk ' Orcl:ocr_vote2 '; <<<< adding a new disk to a disk group
DiskGroup altered.
Sql> select Group_number,name,path from V$asm_disk;
Group_number NAME PATH
------------ ---------- ------------------------------
1 ASM1 orcl:asm1
1 ASM2 orcl:asm2
2 ocr_vote1 orcl:ocr_vote1 <<<<<<<<<<<<<<<<<<<< To remove the old disk for a while.
2 Ocr_vote2 Orcl:ocr_vote2
sql> alter diskgroup ocr_vote drop disk ocr_vote1; <<< Delete the old
DiskGroup altered.
Sql> select * from V$asm_operation;
No rows selected
The above demonstrates replacing OCR with add new disk and drop old disk
Second: Migrating to another disk group (with vote migration)
Migrate OCR from the +ocr_vote disk group to +ocr_voting as follows
Execute AS Root User:
# Ocrcheck
# Ocrconfig-add +ocr_voting
# Ocrconfig-delete +ocr_vote
$ crsctl Query CSS Votedisk
$ crsctl Replace Votedisk +ocr_voting
$ crsctl Query CSS Votedisk
---------------------------------------------------
Daoxing is still shallow, welcome to shoot bricks.
Reprint please indicate the source.