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

Re: [Xen-users] XEN and Live Migration


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "James (song wei)" <jsong@xxxxxxxxxx>
  • Date: Mon, 2 Nov 2009 01:09:27 -0800 (PST)
  • Delivery-date: Mon, 02 Nov 2009 08:38:42 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

In xend-config.sxp:
unmask this item:    (xend-relocation-hosts-allow '')
mask this item:      #(xend-relocation-hosts-allow '^localhost$
^localhost\\.localdomain$')

Jamon Camisso-2 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/XEN-and-Live-Migration-tp26152778p26156632.html
Sent from the Xen - User mailing list archive at Nabble.com.


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