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] Cheap and cheerful replication

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Cheap and cheerful replication
From: Alexandre Chapellon <a.chapellon@xxxxxxxxx>
Date: Mon, 06 Jun 2011 17:19:10 +0200
Delivery-date: Mon, 06 Jun 2011 08:20:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTi=b6OCDLms5J8Eupcb+muVWA6GRvQ@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/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: <BANLkTi=b6OCDLms5J8Eupcb+muVWA6GRvQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
Le 06/06/2011 17:00, msgbox450@xxxxxxxxx a écrit :
Hi guys,

I wonder if anyone has found any simple solution for cheap and cheerful replication between two hosts (in this case for XCP)?

Basically I have two machines (A and B). I want to run 8 VMs on local storage on server A and 8 VMs on local storage on server B. I want all the machines on server A to be backed up to server B and vice versa. In the event of failure, I want to be able to run all 16 VMs on one host.

My current thought is to just set up NFS on both hosts and then set up nightly snapshots on each to copy to the other. However, it would be nice to have some proper block level replication going on instead so that live migration could be used.

This is what DRBD is meant for: networked block level replication
But maybe it's not so easy and some users here reported (unverified) issues. I f you don't feel confortable with cluster architectures forget about drbd it wouls lead you to data loss pretty surely.

Also be aware that block level replication *won't*  guarantee any filesystem consistancy. In most cases it's not a problem but if you have high rate IO (eg a busy postgresql or oracle sgbd) you may not be able to mount the replicated filesystems.

Knowing that you may also consider exporting you block device using nbd or gndb or aoe..., and mirror it to a local volumes using mdadm... that should work too.

What ever solutions you choose I don't think any of them would be "simple". Remote data replication *is* a complicated situation, and of course it won't replace backup systems.

regards.

Has anyone got any good ideas for this (and before anyone says it,  I don't want to involve any separate machines or network storage devices because that pushes the budget out of window, I want to find a way to make it work with a mirrored pair of hosts).

Thanks :D
_______________________________________________ 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>