Voting Disk: It manage information about node membership. Each voting disk must be accessible by all nodes in the cluster.
If any node is not passing heat-beat across other note 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 voting disk location.
crsctl query css votedisk
[grid@dm01db01 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 900f8d6654a14fd2bf86124fe905e05c (/dev/oracleasm/disks/OCR_VOTE) [OCR_VOTE]
Located 1 voting disk(s).
OCR: It created at the time of Grid Installation. It’s store information to manage Oracle cluster-ware and it’s component such as RAC database, listener, VIP,Scan IP & Services. Minimum 1 and maximum 5 copy of OCR is possible.
Check OCR location
ocrcheck
I have ran the command twice one from grid user and 1 from root user only diffrience is from grid or oracle user it will bypass the logical corruption check if you need to do logical corruption check run it as root
[grid@dm01db01 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 4
Total space (kbytes) : 409568
Used space (kbytes) : 1612
Available space (kbytes) : 407956
ID : 713692602
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
From Root User :
[root@dm01db01 ~]# cd /oracle/app/grid/gr_home/bin/
[root@dm01db01 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 4
Total space (kbytes) : 409568
Used space (kbytes) : 1612
Available space (kbytes) : 407956
ID : 713692602
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 succeeded
Or you can also check
cat /etc/oracle/ocr.loc also give you the location of ocr
[grid@dm01db01 ~]$ cat /etc/oracle/ocr.loc
ocrconfig_loc=+OCR_VOTE/dm01db/OCRFILE/registry.255.1038409371
local_only=false
ConversionConversion EmoticonEmoticon