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] Looking for tips about Physical Migration on XEN

To: Chris de Vidal <chris@xxxxxxxxxx>
Subject: Re: [Xen-users] Looking for tips about Physical Migration on XEN
From: tbrown@xxxxxxxxxxxxx
Date: Mon, 19 Jun 2006 16:01:46 -0700 (PDT)
Cc: Xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 Jun 2006 16:02:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060619224206.20784.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>
> I don't have URLs or tested environments or performance/speed migration 
> results, but I am planning
> on implementing a similar setup so I can offer tips.

I have done some testing...

> If you still require live migration (as in the case of a game server),
> it seems you must have an external NFS or iSCSI or AoE server.  This is
> because both Xen node servers need to access the storage at the same
> time.  I think AoE is the simplest and best performing, and with the
> vblade daemon it's free and works on any server.  I'd use 2 servers and
> install Heartbeat+DRBD on them for the ultimate in HA.  As an
> alternative you can use shared SCSI storage.

NFS performance sucks. AFAIK, this is because your kernel can't cache
anything... this causes latency on every file open. That said, NFS is
trivial to setup and works fine for live migration (been there).

AoE exports a block device, AFAIK, this means you can _not_ have two nodes
accessing (mounting) it at the same time or you are basically guaranteed
to corrupt either your file system or the kernel's view of it (unless all
mounts are read-only).

Also, at least with the version I tested, the vblade write performance
sucked (5 Mbyte vs 40 Mbyte read) ... and the coraid docs showed similar
numbers 5 Mbyte/s read/write per drive. That may be perfectly acceptable
for you. It isn't bad. I tried nbd and it was much more symetric (40 or
more Mbyte/sec both ways).

That said, I haven't put it all together and into production yet. Going to
have to do that darn soon though.

-Tom


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