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] XEN and Live Migration

Subject: Re: [Xen-users] XEN and Live Migration
From: Jamon Camisso <jamonation@xxxxxxxxx>
Date: Sun, 01 Nov 2009 19:14:36 -0500
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 01 Nov 2009 16:15:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <DC57CFF048A13045B63DA5D831B526BC02E270DB45@xxxxxxxxxxxxxxxxxxxxxxx>
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: <DC57CFF048A13045B63DA5D831B526BC02E270DB45@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)
Joseph Coleman wrote:
I am trying to get live migration working on SLES11. I went in and uncommented 
out the following from /etc/xen/xend-config.sxp

(xend-relocation-port 8002)
(xend-relocation-address '')
(xend-relocation-hosts-allow)
Then performed a rcxend restart on both nodes however, when I run:

xm migrate --live test4 vmc1n1

I get the following error:

vmc1n4:~ # xm migrate --live test4 vmc1n1
Error: /usr/lib64/xen/bin/xc_save 21 5 0 0 5 failed
Usage: xm migrate <Domain> <Host>

Can anyone help me not sure what I am missing or if I am doing wrong.. I am 
using a shared NFS volume which is were the VM'S are stored /var/campusVM

Try explicitly adding hosts to the xend-relocation-hosts-allow line. By default an empty line should allow any host to connect, but I've found better luck adding hosts there manually. So if your current host is vmc1n0, on the target vmc1n1 you'd add:

(xend-relocation-hosts-allow '^vmc1n0$')

The regex notation is mandatory. For multiple hosts, put then inside the single set of '' with no commas separating them, e.g. '^vmc1n0$ ^vmc1n2$ ^vmc1n3$'.

Also put an IP in the xend-relocation-address line. It doesn't hurt to be explicit with everything in xend-config.sxp.

Finally, check iptables, and watch xend.log on both hosts. It will show where the migration failed. If adding those options doesn't help, it will at least get you further and throw a different error :)

Regards, Jamon

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

<Prev in Thread] Current Thread [Next in Thread>