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] Re: XEN and clustering?

To: Jakov Sosic <jakov.sosic@xxxxxxx>
Subject: Re: [Xen-users] Re: XEN and clustering?
From: John Madden <jmadden@xxxxxxxxxxx>
Date: Mon, 01 Mar 2010 10:28:36 -0500
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 01 Mar 2010 07:29:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B89D212.70905@xxxxxxx>
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: <20100227123102.66F8727BA0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B8957EE.3020200@xxxxxxxxxxxxxxxxxxxxxx> <4B89D212.70905@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
This forces me to migrate 3TB of data to CLVM volumes, but at least I
know that it a working combination... I dropped CLVM because of it's
limits (cluster has to be up for it to map volumes, can't do snapshots
etc), but at least with CLVM everything works.

You can do it live though, aside from any reboots you need to set up the cluster infrastructure (and you probably should reboot to ensure it all works, it can be tricky).

dom0: xm block-attach domU phy:/dev/clvmvg/clvmlv sdN w
domU: fdisk /dev/sdN ...
domU: pvcreate /dev/sdN1
domU: vgextend /dev/vgnamehere /dev/sdN1
domU: pvmove ...
domU: vgreduce ...
dom0: xm block-detach domU <id of non-CLVM lv>

It's taken a while, but I'm a fan of the RHCS stuff. There are some caveats (`service clvmd stop; service cman stop` before you reboot a node, other trickiness with getting and keeping everything sync'd up) but it's well worth the hassle to keep things consistent.

John




--
John Madden
Sr UNIX Systems Engineer
Ivy Tech Community College of Indiana
jmadden@xxxxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Re: XEN and clustering?, John Madden <=