how OCR mirroring works

This question is Not Answered.(Mark as assumed answered)
1665591 Newbie
1665591 Jan 7, 2015 4:15 AM

Hi Gurus ,



As per Oracle docs "Normal redundancy disk groups provide 3 voting disk files, 1 OCR and 2 copies(one primary and one secondary mirror).

Does it means there are 2 OCR in this diskgroup ? .Then ,

Where is the OCR primary and Mirror created in this case?Are they been on separate failure group ? Then how can I check the same through asmcmd?



Here is my environment set up



[grid@xxxx01 ~]$ ocrcheck

Status of Oracle Cluster Registry is as follows :

Version : 3

Total space (kbytes) : 262120

Used space (kbytes) : 2800

Available space (kbytes) : 259320

ID : 1074808153

Device/File Name : +OCR_VOTE

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 bypassed due to non-privileged user



My +OCR_VOTE is in normal redundancy , while looking at ASM level

[grid@xxxx01 ~]$ asmcmd

ASMCMD>

ASMCMD> cd +OCR_VOTE

ASMCMD> ls

xxxxxi-cluster/

ASMCMD> cd xxxxxi-cluster/

ASMCMD> ls

ASMPARAMETERFILE/

OCRFILE/

ASMCMD> cd OCRFILE/

ASMCMD> ls -l

Type Redund Striped Time Sys Name

OCRFILE MIRROR COARSE JAN 07 20:00:00 Y REGISTRY.255.763526561

ASMCMD>



Here I can see only one OCR file . Then what is meant by 1 OCR and 2 copies ?

Can somebody shed some light on how OCR mirroring actually works ?



Thanks and Regards,

Mahi