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] Live migration?

To: "Daniel Nielsen" <djn@xxxxxxxxxx>
Subject: Re: [Xen-users] Live migration?
From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
Date: Tue, 13 Mar 2007 09:11:39 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Mar 2007 01:11:17 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=guQlHXdnMLsFLWBuYrGziiVvK10OTtI6qBATvy4CitvrQYm+NoghJtPQV5asQi2I7i+zIBhtp/fBwY+mXeoawMsJZFkH9Yltvt58CGjBN1p+bpgqP/WE2TcKxFqdCczgUfTiTGCEXNQVEuq8oCLVOES3uzHEGsV5MuWuaT4/+OY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=osFauLdzQjy4rVZ/CLjNTLDjLq//k5hEMNuW7yTdlsCBvmejk/yBlFr5wT6bzKAQG/rcxVG+PB4tpm6g0v5JTO8w7XV+iPHo+CDhtDtRehQILml7iSqkZ1S2fyuIdzRv6HXJI1gUqvjgzLtD7u7fWi+ba11k+6Glb0rxy5mHFEc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C13064F6.97BB%djn@xxxxxxxxxx>
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: <AcbYwAETP10DSkSzEduXXwAUUWMFRg==> <C13064F6.97BB%djn@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Daniel,

I am trying to setup the same installation that you mention.
I have dom0's on nfsroot and domU's on AoE.

At present I've got everything on 100mb/s and it doesn't work very
well. xend takes about 20secs to starup and domU's don't recover
network connection after migration. I'd like to try it with 1000mb/s.

Can you please recommend me the network cards I should use? I have
some Dlinks but (for some reason) the modules don't get loaded even
though lspci does show them.
The thin server boxes need to boot pxe (of course).

Thanks.
Chris.

On 9/15/06, Daniel Nielsen <djn@xxxxxxxxxx> wrote:
Hi.

We are currently migrating to Xen for our production servers, version
3.0.2-2. But we are having problems with the live-migration feature.

Our setup is this;

We run debian-stable (sarge), with selected packages from backports.org. Our
glibc is patched to be "Xen-friendly". In our test-setup, we have two dom0's
both netbooting from a central NFS/tftpboot server e.g. not storing anything
locally. Both dom0's have two ethernet ports. eth0 is used by the dom0 and
eth1 is bridged to Xen.

Our domUs also use a NFS-root, also debian sarge. They use the same kernel.
They have no "ties" to the local machine, except for network access, they do
not mount any localdrives or files as drives. All is exclusively run through
NFS and in RAM.

When migrating machines (our dom0's are named after fictional planets, and
virtual machines after fictional spaceships):

geonosis:/ root# xm migrate --live serenity lv426
it just hangs.

A machine called serenity pops up on lv426:

lv426:/ root# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      128     4 r----- 21106.6
serenity                           8     2048     1 --p---     0.0
lv426:/ root#

But nothing happens.

If we migrate a lower mem domU with eg. 256MiB it works without a hitch.
If we migrate a domU with eg. 512 MiB it sometimes works, othertimes it
doesn't. But for domUs with 2GiB ram, it consistently fails.

In the above example, if we wait quite some hours, then serenity will stop
responding, and geonosis will be left with a

genosis:/ root# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      128     4 r----- 21106.6
Zombie-serenity                    8      2048    2 -----d  3707.8
geonosis:/ root#


I have attached the relevant entries from the xend.log files from both
geonosis and lv426.

I hope somebody is able to clear up what we are missing.

I noticed in geonosis.log, that it wants 2057 MiB. I'm unsure of what it
means...?


/Daniel
Portalen


_______________________________________________
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>