Hello *,
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 ->
lvm (/dev/mapper/vm1_sda-sda;/dev/mapper/vm1_sdb-sdb)
+ 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
Questions :
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.
rg
marcel