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] Live migration and drbd

To: "Nathan Stratton" <nathan@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Live migration and drbd
From: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>
Date: Mon, 10 Nov 2008 20:11:35 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, danielsaori@xxxxxxxxx
Delivery-date: Mon, 10 Nov 2008 12:12:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=q85MzKa1ZnQaLDZWfZ0gnpRix3I6x2en7DD+JKYDPi0=; b=NVXNlSmXwWjwl+1/lyupRsimzFwul4T+x35npVk6Xar2WWxwZZaYwt+axAMMYN5R+p CKLwNVEivKVg1y4JwX7JBjA/vAlN2sURXJBZo1iYuSZJtTAaE6mGSe/nVeT6ZOwita9q 3OFHzKDJ2E6RXbnn0iReyvgwElsrS7pi4Lm24=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eEhWWWgH5vHr4c7HGeyEf5R2rFWDTciKcfxE4MeJIFBZnqvRSjqlGuQeVsow4SxR8M eWxd5dSAoZnTfGI5lKDUgIAYFkusizhpxY+END9bQeCAqu0i1r8R+sUBWPG/CfUTGXad RrngHVNTOyT8zY3PmbE79BCx35jjFdQazd02o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.LFD.2.00.0811101338400.4761@xxxxxxxxxxxxxxxxx>
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: <20081108090556.GQ19416@xxxxxxxxxxxxxxxxxxxxxxx> <4135a64a0811100046p7dce3ed1q1d69ddf519d9f84d@xxxxxxxxxxxxxx> <f4527be0811101119v1cd22e8qd5a50ebe3e7cfc3f@xxxxxxxxxxxxxx> <alpine.LFD.2.00.0811101338400.4761@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Nov 10, 2008 at 7:48 PM, Nathan Stratton <nathan@xxxxxxxxxxxx> wrote:
> On Mon, 10 Nov 2008, Andrew Lyon wrote:
>
>>> http://www.asplund.nu/xencluster/xen-cluster-howto.html
>>
>> I plan to try this soon, I've read the guide and it all makes sense to
>> me, but could somebody explain why using drbd on top of lvm is
>> preferable to using drbd with physical devices and lvm on the drbd
>> devices?
>
> I would also love to know the answer to this, currently I am running;
>
> Disk > DRBD > LVM2 > GFS > xen tap:aio
>
> and:
>
> Disk > DRBD > LVM2 > xen phy:{lvm lv}

What happens if you make a lvm snapshot in that setup (the 2nd)? I
assume lvm on the second node would need to re-read the lvm metadata?
And if you extend the logical volume?

I've spent a lot of time googling this and while I can find plenty of
documentation I am unable to find anything that explains the reasoning
and theory behind it.

>
> The 2nd is obliviously faster, then the first, but I have not moved
> everything over yet.
>
> Would moving DRBD on LVM2 make things faster or slower? The downside I can
> see is that you need to build a DRBD config for every domu, what makes this
> overhead worth it?
>
>
>> <>
>
> Nathan Stratton                                CTO, BlinkMind, Inc.
> nathan at robotics.net                         nathan at blinkmind.com
> http://www.robotics.net                        http://www.blinkmind.com
>

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