I use Esxi as a lab for my Oracle VM’s , research and development etc.
Veeam cannot process the RAC VM virtual disks as they are both shared/multi writer and independent persistent disks. Yes , I can backup the databases , but RAC has a huge amount of config on the system disk etc. It would take a while to rebuild the nodes and then restore the databases.
My solution, albeit a partial non Production solution is to create a new VM , and add the disks used by the RAC Cluster VMs, I then modify the new VM to change the disks to non multi writer , dependent disks.
This VM will never be started , it will remain shutdown. But I can back it up, if I shutdown the parent RAC VM’s. The shutdown and startup is performed by pre and post backup scripts.
Script contents
Code: Select all
c:\Windows\System32\OpenSSH\ssh -v -i c:\users\****\.ssh\id_rsa.pub -E c:\scripts\shutdown_onedisks_ssh.log -o StrictHostKeyChecking=no root@*******.localdomain "vim-cmd vmsvc/getallvms | grep RACONEDISK1 | grep -v RACONEDISK1DR | cut -d ' ' -f1 | while read id ; do vim-cmd vmsvc/power.shutdown $id ; done >//vmfs/volumes/SCRATCH/scripts/shutdown_onedisks.log 2>&1" > shutdown_onedisks.log
(MY RAC cluster is 2 node/ 2 VMs , booting off one disk , which has two boot partitions and many partitions for ASM disks for OCR/VOTE/DATA/FRA/OH etc - a single 300GB vmdk used by two VM’s...)
Repeat for all nodes in the cluster.
It’s a cold backup , involves loss of service etc , but scheduled during the night , it does not affect me.
In case you are an Oracle DBA using ESXi and need to backup a RAC cluster so you don't have to spend a lot of time to re-install / re-configure etc, I hope this method will work for you.