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] How to manage images/partitions for xen DomUs?

To: Luká¹ Pecha <pecha@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How to manage images/partitions for xen DomUs?
From: "Niels de Carpentier" <niels@xxxxxxxxxxxxxxxx>
Date: Fri, 30 Nov 2007 14:20:43 +0100 (CET)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Dec 2007 09:23:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <47500865.4060707@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47500865.4060707@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.9a
Luke,

You should be able to run drbd over lvm. Just give each vm it's own drbd
device, and it should work. This way you can failover each vm
individually.

Beware though that there is a bug in the interaction between Xen/LVM/DRBD,
but this can be worked around by specifying the disk image as tap:aio
instead of phy.

Niels

> Hello,
> I am trying to figure out the best way, how to configure a small cluster
> with xen and High Availability (Heartbeat). I have two servers and a few
> virtual machines. What I need is to ensure, that images or partitions of
> the machines will be mirrored between the two nodes (maybe with drbd?).
> But that is not all - I also need to enlarge the disks (because of
> growing databases) of virtual machines sometimes (if it could be done
> without shutting the machines down, it would be perfect!), so I am
> thinking about some evms/lvm setup. But I have no idea how to configure
> such a thing - how would it look like? Do you have any ideas, schematics
> or something? Like layered model - should I use evms to group drbd
> devices in domain 0 or lvm in virtual machines to group virtual disks...
> something like that. I need some advice, hints or  how to setup a
> Xen+Heartbeat+some disk volume management configuration.
> Thank you
> Luke
>
> _______________________________________________
> 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>