WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] combine DRBD and LVM for live migration and snapshot capabilities
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Sun, 25 Sep 2011 21:19:35 +0200
Delivery-date: Sun, 25 Sep 2011 12:19:59 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daevel.fr; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=/ux7D3QCCyf2icN9kyVOOOq2OquKUqwtDrpED+wNgNg=; b=nBgMkHkHla+aLM97SLOOIa7Id5HxVROKg7ik9ka0VpRmaQJf5rrDglobeLlNvJDFO+4T4ILIgUJOXIxZf2VYfhzhElHjlrxYGVmAZmEpt++ytpq4xH5eTk17zjijtr9D;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E7F7D29.80305@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4E7F7D29.80305@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110807 Icedove/5.0
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

<Prev in Thread] Current Thread [Next in Thread>