[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



Hi Olivier,

thx for your answer. As I progress reading about this, you do have a point. I seem to have to tackle this by either cLVM or OCFS2.

The sad thing about cLVM in SLES11 is that it cannot do snapshots.

But maybe since I'm using nested LVM, the bottom LVM can do a snapshot anyway.

thx again,

B.


On 09/25/11 21:19, Olivier B. wrote:
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.

Olivier


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.

thx!!

B.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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