Check/Find Location and Status of Oracle OCR and VOTEDISK

_____________________________________________________________________________________________________________________

What is OCR and Voting disk:
The voting disk is a file that manages information about node membership, and the OCR is a file that manages cluster and Oracle RAC database configuration information. The Oracle Clusterware installation process creates the voting diskand the OCR on shared storage.

OCR is used to manage to manage Oracle cluster-ware and it’s component such as RAC database, listener, VIP,Scan IP & Services. Note:- Minimum one and maximum 5 copies of OCR is allowed.
Voting Disk manages information about node membership. Each voting disk must be accessible by all nodes in the cluster. If any of the cluster node is not passing heat-beat across other node or voting disk, then that node will be evicted by Voting disk.
Minimum 1 and maximum 15 copy of voting disk is possible.

To check the status and location of the votedisk
[grid ~]$ crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   d6450284de354f6cbf69aafa272f701d (ORCL:OCRVOTE) [OCRVOTE]
Located 1 voting disk(s).

To check the status and location of the OCR
[root~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     409568
         Used space (kbytes)      :       1712
         Available space (kbytes) :     407856
         ID                       : 1914186779
         Device/File Name         :   +OCRVOTE
                                    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 succeeded
Also, the OCR File information kept on file /etc/oracle/ocr.loc
cat /etc/oracle/ocr.loc
ocrconfig_loc=+OCRVOTE/UAT01-CLUSTER/OCRFILE/registry.255.920778331

local_only=FALSE 

_____________________________________________________________________________________________________________________

0 comments:

Post a Comment

 

acehints.com Copyright 2011-17 All Rights Reserved | Site Map | Contact | Disclaimer | Google