Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Contents/location of OCR and voting file: need enlightenment...

1007321Feb 19 2014 — edited Feb 21 2014

Hi,

The doc. states

The voting disk is a file that manages o information about node membership,

and the OCR is a file that manages     o cluster

                               and     o Oracle RAC database configuration information.

When I enter asmcmd utility I see the following:

ASMCMD> pwd

+DATA/mycluster/OCRFILE

ASMCMD> ls -ls

Type     Redund  Striped  Time             Sys  Block_Size  Blocks      Bytes      Space  Name

OCRFILE  UNPROT  COARSE   FEB 11 11:00:00  Y          4096   66591  272756736  274726912  REGISTRY.255.827163049

This is the so-called OCR right ? Where is the voting disk - it seems not to be visible, or is it ?

'crsctl query css votedisk' shows:

[grid@machine ~]$ crsctl query css votedisk

##  STATE    File Universal Id                File Name                      Disk group

--  -----    -----------------                ------------------------------ ----------

1. ONLINE   99273545d2db4fd0bffcd8e3a1a1e3ec (/dev/oracleasm/disks/ASMDSK1) [DATA]

and

[grid@machine ~]$ ocrcheck

Status of Oracle Cluster Registry is as follows :

         Version                  :          3

         Total space (kbytes)     :     262120

         Used space (kbytes)      :       3028

         Available space (kbytes) :     259092

         ID                       : 1051697976

         Device/File Name         :      +DATA

                                    Device/File integrity check succeeded

So, the "registry.255...." file above in DATA/mycluster/OCRFILE is the Oracle cluster registry file OK ?

The "voting file" is not visible per se in asmcmd ?

MOS note 1053147.1 says "voting file is backed up into the OCR at every configuration change and can

be restored via crsctl": does that mean the voting file is merged inside these OCR backup files backupXX.ocr

taken every 4 hours that I can see in $GRID_HOME/cdata/mycluster directory ?

Why 2 separates files (one for "node membership" and another for "cluster and RAC DB config information") ??

Does anybody have an idea of how this "node membership" information is stored in the voting files ? What

does it contain exactly (seems to me to be quite redundant with "cluster and RAC config information"...) ?

Thanks for your help...

Regards,

Seb

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2014
Added on Feb 19 2014
3 comments
1,229 views