- 1 How do I backup my voting disk?
- 2 How do I backup my OCR files?
- 3 How do I move OCR voting discs to a new storage array?
- 4 How do I find my Oracle voting disk?
- 5 What is the difference between OCR and Voting disk?
- 6 Why does Oracle RAC have odd number voting disk?
- 7 What is OCR file in Oracle RAC?
- 8 How do I check my OCR?
- 9 What is OLR file in RAC?
- 10 How do I restore my RAC voting disc?
- 11 What is the maximum count of OCR files that can be configured in a cluster?
- 12 How do I create an OCR accidentally deleted voting disk?
How do I backup my voting disk?
How to Backup Clusterware 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 do I backup my OCR files?
How to take OCR backup on 11.2. 0.4
- Overview. 11g Release 2 on wards voting disk data is automatically backed up in the OCR whenever there is a configuration change.
- Show Backup.
- Take OCR backup manually.
How do I move OCR voting discs to a new storage array?
How to Move OCR, Vote Disk File, ASM SPILE to new Diskgroup
- Create New diskgroup(CRS) with suitable redundancy for OCR and Voting files.
- Ensure that the new diskgroup is mounted on all cluster nodes.
- Move OCR and Vote file from [Current diskgroup] to [CRS].
- Change ASM SPFILE location from [current diskgroup] to [CRS] Diskgroup.
How do I find my Oracle voting disk?
To identify the voting disk location:- [ oracle @rac1 ~]$ crsctl query css votedisk ## STATE File Universal Id File Name Disk group — —– —————– ——— ——— 1. ONLINE b4a7f383bb414f7ebf6aaae7c3873401 (/dev/oracleasm/ disks /ASMDISK1) [DATA] Located 1 voting disk (s).
What is the difference between OCR and Voting disk?
Voting Disk – is file that resides on shared storage and Manages cluster members. OCR (Oracle Cluster Registry) – resides on shared storage and maintains information about cluster configuration and information about cluster database.
Why does Oracle RAC have odd number voting disk?
The reason for the odd number of voting disks is to solve the “split-brain” problem. The split-brain problem occurs when the cluster interconnect goes down and each node cannot obtain a heartbeat from the other nodes.
What is OCR file in Oracle RAC?
Oracle Cluster Registry ( OCR ) The OCR contains cluster and database configuration information for RAC and Cluster Ready Services (CRS) such as the cluster node list, and cluster database instances to node mapping, and CRS application resource profiles. The OCR is a shared file located in a cluster file system.
How do I check my OCR?
OCR integrity check passed Verification of OCR integrity was successful. Step 1:- Stop cluster on each node (as Root user). Oracle Cluster Registry in RAC ( OCR )
- cluster database instance to node mapping.
- cluster node list.
- CRS application resource profiles.
- Local listener & scan listener.
- VIP, Scan IP & Services.
What is OLR file 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 restore my RAC 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 the maximum count of OCR files that can be configured in a cluster?
Considering the criticality of the OCR contents to the cluster functionality, Oracle strongly recommends us to multiplex the OCR file. In Oracle 11g R2, we can have up to five OCR copies.
How do I create an OCR accidentally deleted voting disk?
- Shutdown the Oracle Clusterware stack on all the nodes using command crsctl stop crs as root user.
- Backup the entire Oracle Clusterware home.
- Execute <CRS_HOME>/install/rootdelete.sh on all nodes.
- Execute <CRS_HOME>/install/rootdeinstall.sh on the node which is supposed to be the first node.