[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: LVM on DRBD -OR- DRBD on LVM?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.