What is the difference between 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 disk and the OCR on shared storage.
Where do I find my OCR and voting disk?
OCR config file “/etc/oracle/ocr. loc” check successful Disk group for ocr location “+DATA” is available on all the nodes Checking OCR backup location “/u01/app/12.1. 0.2/grid/cdata/racscan” OCR backup location “/u01/app/12.1.
What is Oracle voting disk?
– Voting disk is a file in which all the nodes of a cluster register their heartbeat information. – It also contains the list of the active nodes. – Voting disks or files are like attendance registers where nodes mark their attendance (heartbeats) to confirm they are alive.
What is voting disk and OCR in 11gr2?
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.
Why are there 3 voting discs?
For high availability, Oracle recommends that you have a minimum of three voting disks. – If a node cannot access the minimum required number of voting disks it is evicted, or removed, from the cluster. – All nodes in the RAC cluster register their heart-beat information on the voting disks.
What is OCR and voting disk in ASM?
The voting disk is a file that manages information about node membership, and the OCR is a file that manages the cluster and Real Application Clusters (RAC) database configuration information. The Oracle Clusterware installation process creates the voting disk and the OCR on a shared storage volume.
How do I restore my OCR voting disk?
Connect to ASM instance and set ASM parameter asm_diskstring. Create REDO disk group using the metadata backup script we created earlier. Copy SQL commands, which are related to REDO disk group from backup script, connect to ASM instance, then run the commands. Restore the OCR from backup done before.
Why do we need voting disk?
A voting disk is a file that manages information about node membership. It is located on the shared cluster system or a shared raw device file or Oracle ASM(11gr2 onwards) . Its primary purpose is to help in a situation where the private network communication fails.
What is OLR OCR and voting disk in Oracle RAC?
OCR manages Oracle Clusterware and Oracle RAC database configuration information. OLR resides on every node in the cluster and manages Oracle Clusterware configuration information for each particular node. Voting disks manage information about node membership.
What will happen if voting disk is down?
If you lose all voting disks, then you will have to keep the CRS daemons down, then only you can add the voting disks. Voting disk is a mean to know that which nodes are still a part of the cluster. If the nodes are not able to follow a majority rule , they would start getting rebooted all the time.
What will you do if OCR is corrupted?
Below procedure can be used for recovery.
- Execute rootdelete.sh script from All Nodes.
- Execute rootdeinstall.sh from Primary Node.
- Run root.sh from Primary node.
- Run root.sh from all remaining nodes.
- Execute remaining configurations (ONS,netca,register required resources)