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/
Home Products Support Community News


Re: [Xen-users] Xen 4.0 - prerequisites for succesfull live migration?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 4.0 - prerequisites for succesfull live migration?
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Fri, 08 Jul 2011 16:35:27 +0200
Delivery-date: Fri, 08 Jul 2011 07:36:45 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daevel.fr; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=YQODCzLoi24+Fwv+EfeqMSSP33/g5HQCd7ULvPyYFTk=; b=Wy66qzvN047zYWTkPS30Icf6nG2nDfCMRg1VbdjvNW/v9rW38C/x5U3gm2Mx+O0eABlcbMShK85gIcHhjp0y7m3rf96MzEBloYYZsk8pY3Wd9SLKDXdFDQuwkL49vjRQ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E16F4EB.30700@xxxxxxxxx>
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: <4E1460C7.1050708@xxxxxxxxx> <CAMrPLWKgYET0Caah7pCcORXGf08RXS4NCPc=VVHKCe+Qt-yTjw@xxxxxxxxxxxxxx> <4E14E54A.2010106@xxxxxxxxx> <CAMrPLWLhcVksXREfQRJveLv4FdPuGR_=X=yT=MKx7kfbpxp-dg@xxxxxxxxxxxxxx> <4E157D48.1090705@xxxxxxxxxxxxx> <4E16F4EB.30700@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110626 Icedove/3.1.11
Which kernel are you using on DomU ?

For me, the same DomU can me migrate or no, depending only of the kernel used on it. With a pvops, I can't migrate any DomU, if I reboot the DomU with a pvops, it works fine.


Le 08/07/2011 14:15, Danilo Godec a écrit :
On 07/07/2011 11:32 AM, Mark Dokter wrote:
I had migration and save/restore issues with xen 4.0 on debian and
ubuntu. (See thread "Live migration on xen 4.0.1 fails" on this list
(dated 04/2011). I did not really find out, what went wrong. Now I use
xen 4.1 and migration works (with 2.6.38+ pv-on-hvm domUs).

Thanks, I'll try to setup a lab to test 4.1...

But in the mean time I made some discoveries:

I'm using the 'vcpus=X' and 'vcpu_avail='Y' to start my VM's with 'Y'
VCPU's, but still be able to add some VCPU's later if needed (where X is
the number of cores in my biggest server and Y is typically 2).
In this case, live migration fails.

If I omit the 'vcpu_avail' option and only use 'vcpus=Y', live migration
seems to work. However 'xm console' doesn't work after migration and
'xm shutdown' doesn't work either - instead the CPU usage according to
xentop shoots up to 100% and ultimately the DomU has to be destroyed.


PS: I'm using para-virtualisation. Would I be better off using HVM?

So this is the first problem. I wonder if there is a known problem
with this specific Xen version or something specific to your setup on

I've added the opensuse-virtual list to the CC just in case someone
can shed some light on it. (here is this message in context




Xen-users mailing list

Xen-users mailing list