How do I backup my OCR and Voting disk?
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 do I backup my OCR files?
How to take PHYSICAL Backup of OCR? First check exact location of automatic OCR backup location using “ocrconfig -showbackup” command. Because this automatic backup of OCR is physical copies of Oracle Cluster Registry.
What is automatic backup policy for OCR voting disk?
Automatic backups: Oracle Clusterware automatically creates OCR backups every four hours. At any one time, Oracle Database always retains the last three backup copies of OCR. The CRSD process that creates the backups also creates and retains an OCR backup for each full day and at the end of each week.
How do I manually backup my voting disk?
Use the following steps to restore the voting disk from the OCR backup.
- 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.
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.
How do I recreate an OCR voting disk I accidentally deleted?
The following steps require complete downtime on all the nodes.
- Shutdown the Oracle Clusterware stack on all the nodes using command crsctl stop crs as root user.
- Backup the entire Oracle Clusterware home.
- Execute /install/rootdelete.sh on all nodes.
What is OCR in Oracle RAC 11g?
Oracle cluster Registry (OCR) is the central repository for CRS, which maintains the metadata, configuration and state information of all cluster resources defined in clusterware and cluster database.
Where do I find my OCR and voting disk?
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)
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.
Where is OCR and voting disk?
of voting disks depend on the type of redundancy. From 11.2. 0. x onwards OCR and voting files are placed in the ASM diskgroup.
What is OCR in RAC?
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.