What is OCR and voting disk in RAC?
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.
How do I fix a corrupted voting disc?
Restore the voting disk
- Step 1: Disable the CRS automatic start service.
- Step 2: Restart the node.
- Step 3: Verify that the CSR service did not start.
- Step 4: Clear the header of the voting disk.
- Step 5: Start the cluster.
- Step 6: Start the ASM with a PFILE.
- Step 7: Create a disk group.
What is OCR in Oracle RAC 11g?
The purpose of the Oracle Cluster Registry (OCR) is to hold cluster and database configuration information for RAC and Cluster Ready Services (CRS) such as the cluster node list, and cluster database instance to node mapping, and CRS application resource profiles.
Why does Oracle RAC have odd number voting disk?
Why we need to keep odd number of voting disks? Oracle expects that you will configure at least 3 voting disks for redundancy purposes. You should always configure an odd number of voting disks >= 3. This is because loss of more than half your voting disks will cause the entire cluster to fail.
Where is 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.
How do I check my RAC voting disc?
Check the status and verify voting disk location :- [oracle@rac1 ~]$ crsctl query css votedisk ## STATE File Universal Id File Name Disk group — —– —————– ——— ——— 1. ONLINE 9789b4bf42214f8bbf14fda587ba331a (/dev/oracleasm/disks/ASMDISK2) [DATA1] Located 1 voting disk(s).
What will happen if voting disk is down?
Answers. 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. And if this happens, you have no choice but to attempt recovery of the voting disk.
What will you do if OCR is corrupted?
Here, I lost all my OCR & Voting disk. 1) Execute rootdelete.sh script from All Nodes. 2) Execute rootdeinstall.sh from Primary Node. 3) Run root.sh from Primary node. 4) Run root.sh from all remaining nodes.
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.
What is voting disk and OCR in 11gR2?
How many voting disks are required to set up the RAC?
– You must have an odd number of voting disks. 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.
What is difference between OCR and OLR in RAC?
ORACLE LOCAL REGISTRY(OLR) contains node-specific information required by OHASD . Every node has its own dedicated OLR file. (not shared between the nodes). As OCRs files are present in ASM diskgroup, While starting the CRS, it wont be able to Access OCR file to find the cluster resource information.
How do I backup my OCR and voting disk?
How to Backup OCR and Voting Disk
- OCR Dumps. Oracle provides an utility ocrconfig to export OCR data to a dump file like this:
- OCR Backups. Since 11g (11.1), the clusterware backs up OCR automatically every 4 hours by Cluster Ready Services Daemon (CRSD).
- Use dd Command.
- Rely on OCR Backups.
How can I check my voting disc status in RAC?