Data Backup and Recovery
our setup looks like so :
- one volume (/vol/01_test_sas/)
- 1-n qtrees in the volume (/vol/01_test_sas/vm1; /vol/01_test_sas/vm2)
- 1-n luns as virtual disk (/vol/01_test_sas/vm1/vm1-igroup.oslun; /vol/01_test_sas/vm1/vm1-igroup.datalun)
- 2 node RedhatCluster (Both nodes see the same):
+ multipath (/dev/mapper/vm1-igroup.oslun;/dev/mapper/vm1-igroup.datalun)
+ lvm (Physical Volume(PV) on netapp Lun / Volume Group(VG) on the PV / Logical Volume (LV) on the VG ->
+ Configure the Cluster to use CLVMD to switch beetween the nodes
- Use the LV's as raw disk in the virtual Maschines
Now our Problems going on :
1.) We cant use KVM Plugin from Snapcreator , there only gives support for VM to MultiPatch Raw Devices
2.) It is possible that the vm is on node 1 or 2
Now my possible solution an questions.
1.) Installing snapdrive on the KVM Hosts
2.) Wrote a pre/post script with Task:
2.1) Locate all Running VM's on the node
2.2) Getting from xml File the the raw Disk's
2.3) suspend the vm's running on the node
2.4) Use snapdrive with -vg switch or do a snapshot without snapdrive
2.5) resume the vm's
3.) Backup done
The using of snadrive is it an advantage over the direct snapshot ?
Do you see a simpler solution ?
Is it possible to sync the backup beetwen the cluster nodes , so not 2 snapshots are needed on the same volume ?
Thanks a Lot , all posts are welcome.
any comment are welcome .
My "Problem" still exsits.
I have reached out to our KVM expert.
I shall update the post as soon as I hear from him.
Please give me a day.
We have few queries regarding your configuration.
thanks for reply.
1.) I will taking the snapshot direct on the storage controller with (snap create) and than without snapcreator only with Protectionmanager
2.) My VM has volume Manager inside, but the first disk has two partions /boot (/dev/vda1) physical Volume (/dev/vda2)
3.) I see the storage on the two nodes, the vm's are running on one node.vm1 (host1) vm2(host2)
Now i can switch vm1 to host2
has you the chanse to think about my problem ?
Hi Marcel Werner,
In this case, direct snapshot won't help as the VMs are residing on LVMs and restoring the same will be a challenging task. So, using snapdrive is a better option to take and restore snapshots.
Did you get a chance to try snapdrive?
Let's walk you through the new & improved Knowledge Base and further enrich your experience with NetApp Products.
Join our Discord Community