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: LVM on DRBD -OR- DRBD on LVM?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: LVM on DRBD -OR- DRBD on LVM?
From: Simon <greminn@xxxxxxxxx>
Date: Tue, 20 Jun 2006 15:12:10 +1200
Delivery-date: Mon, 19 Jun 2006 20:12:45 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HhTa6U+NOlsk6iCndl4Ang+aUTAzwzJJbLz6tsMId4tAM+JvfQrs755wy88lbSQRN4uznKxCwGIkhpM73UfYrmup7CHCnzpP0FEhYRpo1bDPKRj7XTU/mle5o2k0Ng0lq2m2VY10Ky95jblvzk5M/1kw8LrgppAyNs5/hKf7Kgc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060620025744.GA2406@xxxxxxxxxxx>
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: <5bdb1aa70606191949v1bf32797ldb6148e3f57ea750@xxxxxxxxxxxxxx> <20060620025744.GA2406@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Matthew,

On 6/20/06, Matthew Palmer <mpalmer@xxxxxxxxxxx> wrote:
On Tue, Jun 20, 2006 at 02:49:48PM +1200, Simon wrote:
> In creating a "backup" dom0 server using drbd and using lvm partitions
> for the domU data, whats the best way to implement the drbd part?
>
> Should i have drbd mirroring the lvm partitions them selves or the
> data within them?

Depends.  Primarily, on whether you've going to be sharing the entire PV
between both machines, and never sharing some LVs with any other host.  If
you have a separate VG (on it's own PV) for your domUs, and are just
mirroring your domUs for availability, then mirroring the PVs is fine.
Otherwise (if you've got the dom0 disk on the same VG) then you'll have to
mirror the LVs individually, and incur the overhead of lots-o-drbd.

Im only concerned with two individual servers here:

dom0(1) will hold all the domUs
dom0(2) will only be used in a DR case when dom0(1) is down

So reading your above comment.... LVM on DRBD?

Simon

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