Database Reference
In-Depth Information
As part of a successful Grid Infrastructure installation, the VOCR diskgroup was created with three failure
diskgroups: VOCR1, VOCR2, and VOCR3. Three copies of voting disk files are stored in this diskgroup, as shown in the
following queries:
SQL> SELECT d.PATH, g.NAME, d.FAILGROUP FROM V$ASM_DISK d, V$ASM_DISKGROUP g
where d.GROUP_NUMBER = g.GROUP_NUMBER and g.name='OCRVOTDSK';
PATH NAME FAILGROUP
---------- ---------- ------------
OCRL:VOCR1 VOCRVOTDSK VOCR1
OCRL:VOCR2 VOCRVOTDSK VOCR2
OCRL:VOCR3 VOCRVOTDSK VOCR3
Three copies of voting disk files are as follows:
[grid@kr720n1 bin]$ ./crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- -------------------------------- -------------- ------------
1. ONLINE 8b562c9b2ec34f88bfe8343142318db7 (ORCL:VOCR1) [VOCR]
2. ONLINE 1c88a98d5c9a4f88bf55549b6c2dc298 (ORCL:VOCR2) [VOCR]
3. ONLINE 7581ef0020094fccbf1c8d3bca346eb1 (ORCL:VOCR3) [VOCR]
]
Located three voting disk(s).
Unlike the voting disk files, only one copy of OCR can be stored in one ASM diskgroup or a cluster file system.
Oracle requires at least one OCR copy with the ability to add up to five copies of OCR. If you want to store multiple
copies of the OCR, you can store them on multiple ASM diskgroups or a combination of ASM diskgroups and cluster
file systems.
In order to add an additional copy of OCR on a different ASM diskgroup (for example, DATA2), you can use the
following command:
$ocrconfig -add +DATA2
This example shows how to add an additional copy of your OCR on a cluster file system labeled /u01/data:
$ocrconfig -add /u01/data/ocr.dbf
Another example showing how to move the original OCR to a different ASM diskgroup DATA3 is as follows:
$ocrconfig -replace +VOCR replacement +DATA3
The following example shows how to list all copies of OCR:
$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2860
Available space (kbytes) : 259260
ID : 2322227200
Device/File Name :+VOCR Device/File integrity check succeeded
Search WWH ::




Custom Search