Solved

oracle RAC backup the OCR files, and the vote disk.

  • 23 January 2024
  • 10 replies
  • 246 views

Userlevel 1
Badge +13

Dear team , 

 

is there anyway we can backup ocr file and vote disk 

ASM parameter file .ASM password file using commvault 

icon

Best answer by punbs 23 January 2024, 15:18

View original

10 replies

Badge

Please refer to the below documentation:

https://documentation.commvault.com/v11/expert/oracle_rac_backup_operations.html#data-in-backups

 

The following data is not included in an Oracle RAC backup:

  • Oracle Cluster Voting Disk

  • Oracle Cluster Registry (OCR)

  • OCR Log Files

Badge +3

Hello Team,

By using Oracle iDA we can’t take backup of ASM parameter file, OCR and voting disk.

Regards,

Karthikeyan K

Userlevel 1
Badge +13

@punbs @Karthikeyan K  what if we are taking File system agent backup , can it be backed up 

Badge +3

Hello Ajai,

If you’re taking file system backup, it would have access to the file system in the server.

It cant access the ASM disks.

May be you can check at storage level snapshot.

Regards,

Karthikeyan K

Userlevel 1
Badge +13

@Karthikeyan K  thank you, i have seen below link for  RAC system recovery .

where it mentioned below steps . it mention in point 2 that if we have local backup copy of OCR, this is the only way ?

what is best way to have all the back up incase of a failure 

 https://documentation.commvault.com/2024/essential/full_system_recovery_oracle_rac.html

 

  1. Create the ASM instance and the required ASM diskgroups for the database, the OCR files, and the vote disk.

  2. If you have a local backup copy of the Oracle Cluster Registry (OCR), then restore the OCR backup to the OCR diskgroup. If the backup does not exist, then create a new OCR.

  3. Make sure that the listener is running and configured correctly.

  4. Make sure that the ASM instance, the ASM diskgroup and the listener are registered to the Oracle Clusterware. If needed, use the srvctl utility to register the entities.

Userlevel 1
Badge +13

@Karthikeyan K also what is the below link referring to Configuring Backups of Oracle ASM Diskgroup Metadata (commvault.com)

Userlevel 1
Badge +13

@Gowri Shankar  any  advise here thanks in advavne

Userlevel 4
Badge +13

Hi @Ajal 

OCR,cluster config are not RMAN aware. The only way to protect them is using a FS Agent as advised by @Karthikeyan K 

 

RMAN protects only the oracle data and not the application.

 

Hope this help.

 

Regards,

Gowri Shankar

Userlevel 1
Badge +13

Thanks @Gowri Shankar what i understood is its not possible even with fs agent

Badge

Hi all, 

For this use the postprocess and create a shell script define the user to run this script with root privileges

The final repository depends of ocrconfig command, and don’t forget set the oracle environment in the script

Reply