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] High availability and live migration with just LVMand ha

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] High availability and live migration with just LVMand hardware fencing
From: Frank S Fejes III <frank@xxxxxxxxx>
Date: Tue, 25 May 2010 09:17:17 -0500
Delivery-date: Tue, 25 May 2010 07:19:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=ekI/1Xh+GgWS9IS7+AC/Ze5hecUjWYfja8nIbWIArrM=; b=hmec8tFf9XLmwGi5ng/atMRwunhB6kAr9Yd7lf9WXAA3NzIQUWfmextsM182+HgyIb kMtKdAS37Fxqd/Tky5FFUNjW4+rvT6n/Y1eB/JdJWwjVUr5zWWg0Wm3C/r1RZ+xSkDQd DDBx4wYqFzZsPVac8mCcjyjgUKbhFDcMhB4VY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=PG58V5AsS45YUdi5DlAy5DMIaweIfvufp3RCz5SUkVrF8vTGGLGOUUlm6G0FQwcR2r /J2AU3lsKT6BHRjQ0hOnW5b1KcEu12xP8rWNpnnStZaI1wyKoEq1Cc9JC/svmFjWE4J6 LNuDOws7lBEe8AYorzoosNY1Z42uZX9lqlcKs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201005242000.21589.bart.coninckx@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: <201005191146.18169.bart.coninckx@xxxxxxxxxx> <AANLkTilTE8J1QWZUJ1cAe6JPhFgbyX9IMaq6ZuvQ5Qpj@xxxxxxxxxxxxxx> <4BFAB77F.3060301@xxxxxxxxxxx> <201005242000.21589.bart.coninckx@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, May 24, 2010 at 1:00 PM, Bart Coninckx <bart.coninckx@xxxxxxxxxx> wrote:
> On Monday 24 May 2010 19:29:35 John Madden wrote:
>> > John, I'm interested as to why you feel this is unsafe and what bad
>> > experiences you may have had doing shared lvm in a manual (ie,
>> > non-clvm) fashion.  In clusters of up to six Xen hosts per iscsi
>> > target I've been using a combination of scripted lvchange/lvscan
>> > commands in lvm wrappers and have never yet run into corruption.  As
>> > far as I'm aware, there's nothing magical that clvm is doing under the
>> > covers besides locking and if all lvm commands are run via the
>> > "clustered" wrappers then the metadata should not be changing
>> > unexpectedly.
>>
>> If you carefully coordinate changes to the metadata and, for example,
>> reload the data on all cluster members on every change, I think you
>> would be ok.  CLVM takes care of all this for you and uses locking to
>> ensure changes on one node can't clash with other nodes.

> Quite interesting point of view, since it is so different from the one of
> authors commenting before ...
> This is somewhat difficult in regards to taking decisions on setups: one party
> says "don't", the other says "do".

Well, please don't read my post as a recommendation to "do".  I'm only
writing to say that I've done it and that I do not yet have a
technical reason for why it *shouldn't* work.  As others have pointed
out, the process to enabling clvm is long and problematic which is why
I originally set out for a way to avoid it altogether.  I think I've
done that and I've been using it with success so far.

That said, I've never been completely satisfied with this solution for
a number of reasons.  For one, it's completely undocumented and who's
to say that a future update to lvm won't start doing things to the
metadata that breaks my assumptions?  For another, it would seem that
very few other people are doing it which is partly why I posted in the
first place.  I'd love to see if other people such as John are doing
this and what their experiences have been.

What I'd *really* love to see is clvm decoupled from the rhel
clustering beast and packaged as a barebones easy-to-configure and
deploy option to the base lvm package.

--frank

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

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