[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XEN and Live Migration



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.