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] Best way to redundant images?

To: Marc A. Müller <Marc.Mueller@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Best way to redundant images?
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Thu, 25 Sep 2008 12:19:28 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 25 Sep 2008 03:20:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6D83373B71320F4A9358BAAB7AF83A505F0FAA@xxxxxxxxxxxxxxxxxxxxxxxxxxx> (Marc A. Müller's message of "Thu, 25 Sep 2008 09:56:42 +0200")
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: <6D83373B71320F4A9358BAAB7AF83A505F0FAA@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Marc A. Müller <Marc.Mueller@xxxxxxxxxxxxxxxx> writes:

> I have two xen hosts, each of them has one disk and should be the host
> for several domU's. Live migration should be supported. If one host
> fails, it should be possible to boot the affected virtual machines on
> the other host, having the last written data available.

You'd better use SAN (FC, AoE, iSCSI) instead of local disks for the
VM images.  However, if you can't...

> It seems to be the best way to mount the mirrored/replicated disks in
> both dom0's, create virtual groups using lvm and export logical devices
> to the domU's, one logical device for each virtual machine. 

You don't mount the mirrored/replicated disks but use them as PVs.

> Maybe it's a good idea then to use clvm to make changes of the virtual
> groups possible at runtime. Is there any easy to install and configure
> alternative to clvm?

Clvm requires some setup, but really has this advantage.

> What is an easy way of mirror and mount both disks in dom0? 

No need to mount them, run your VMs on LVs.

> A) DRBD / GNBD / Some kind of shared FS

No need of shared FS is you run your VMs on LVs.

> B) Export all drives using ISCSI / Create software raid of the same
> disks in both dom0's

Linux software RAID isn'n cluster aware, this would result is serious
data corruption.
-- 
Feri.

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

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