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

Re: [Xen-users] combine DRBD and LVM for live migration and snapshot capabilities

Excepting pacemaker, I have that kind of setup.

It works, but per security I enable the dual primary setup only while doing a 
live migration.
Otherwise, in case of an error with Pacemaker, you will destroy your data.


On 25/09/2011 21:12, Bart Coninckx wrote:
Hi all,

I'd like to have your ideas on this Xen HA setup:

- two DRBD machines, capable of dual primary
- per virtual machine a nested DRBD config, meaning: VG-LV-DRBD-VG-LV. The 
bottom LVM config is to expand the DRBD device if needed. The top one is for 
the virtual machine itself.
- setting at least the top layer VG to active on both node.
- have Pacemaker handle the virtual machines as cluster resources.

Since the upper LVM config is active on both nodes, I would think a live 
migration should work. Am I right?

I would also think a snapshot can be taken from the top LV (after a xm save and 
before a xm restore) for backup purposes. Would this harm anything? If 
Pacemaker makes sure only one node can run a particular virtual machine, I 
would think things are OK, but I could be sorely mistaking.



Xen-users mailing list

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.