Monday, 20 February 2017

WHat is Oracle cluster registry


(The Oracle Cluster Registry's purpose is to hold cluster)
 It contains both  database and cluster configuration information for RAC
and Cluster Ready Services (CRS) such as
the cluster node list, cluster database instance to node mapping,
and CRS application resource profiles.
And also,the OCR contains all configuration
information for Oracle 11g Clusterware,
including network communication settings
where the Clusterware daemons or background processes listen, along with the cluster interconnect information( for 11g RAC network configuration )and the location of the 11g voting disk.



The OCR must be stored on shared raw devices, OCFS/OCFS2
(Oracle Cluster Filesystem or an approved NFS or supported
cluster filesystem) within an Oracle 11g RAC environment.




HOw to check the status of OCR configuration?


using OCRCHECK


what output you get by OCRCHECK when everthing is normal ?

[oracle@raclinux1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          2
         Total space (kbytes)     :     297084
         Used space (kbytes)      :       3852
         Available space (kbytes) :     293232
         ID                       : 2007457116
         Device/File Name         : /dev/raw/raw5
                                    Device/File integrity check succeeded
         Device/File Name         : /dev/raw/raw6
                                    Device/File integrity check succeeded

         Cluster registry integrity check succeeded





WHat is VOting disk ?

Voting disks are the one which manage information about node membership. Each voting disk must be accessible by all nodes in the cluster ,for nodes to be members of the cluster


(The Voting disk manages cluster node membership and must be stored on either a shared raw disk or OCFS/OCFS2 cluster filesystem. As such), the Voting disk is the key communication mechanism within the Oracle Clusterware where all nodes in the cluster read and write heartbeat information.

(In addition, the Voting disk is also used to shut down, fence, or reboot either single or multiple nodes whenever network communication is lost between any node within the cluster, in order to prevent the dreaded split-brain condition and thus protect the database information.)

How do you check Voting disk configuration information or status of voiting disk?


[oracle@raclinux1 ~]$ crsctl query css votedisk
 0.     0    /dev/raw/raw7
 1.     0    /dev/raw/raw8
 2.     0    /dev/raw/raw9

located 3 votedisk(s).

what is understood from above output ?

This output from crsctl tells us that we have three vote disks for the 11g Clusterware environment and that they are available and free of errors.

No comments:

Post a Comment