[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] HA-LVM with KVM



Is HA-LVM supported with KVM virtual machines using raw disks on logical volumes?

For example, we have a VM defined in our EL6 cluster that has /dev/vgift1/pc56 as the source for its raw virtio disk.  With the following line in cluster.conf, live migration works fine as long as the logical volume is active on every cluster member.

<vm autostart="0" domain="fd14" migrate="live" name="pc56" path="/gfs/cluster/vm_defs" recovery="relocate"/>

If we move the vm within a service, we gain HA-LVM but lose live migration:

<service domain="fd14" name="pc56">
	<lvm lv_name="pc56" name="lvm-pc56" vg_name="vgift1"/>
	<vm autostart="0" migrate="live" name="pc56" path="/gfs/cluster/vm_defs" recovery="relocate"/>
</service>

And of course, the following fails:

<vm autostart="0" domain="fd14" migrate="live" name="pc56" path="/gfs/cluster/vm_defs" recovery="relocate">
	<lvm lv_name="pc56" name="lvm-pc56" vg_name="vgift1"/>
</vm>

Any suggestions for configuring HA-LVM with a KVM VM as described above would be greatly appreciated.  Please let me know if there is any more information I can provide.

Many thanks,
Devin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]