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

[Xen-users] Can't migrate domains

Hi list,
I'd like to test xen migration (live and regular) but I'm not 
able to do that.
Even if my two xen machines are on the same L2subnet, 
routes are correctly configured (I can ping from one to another), 
that's what prompt me:

debian:~# xm migrate vm01
Error: can't connect: No route to host
Usage: xm migrate <Domain> 

vm01 is active on my first machine:
debian:~# xm list
Name                                      ID   Mem VCPUs      State   
Domain-0                                   0  1635     2     
r-----   3611.7
vm01                                      10   128     
1     -b----     43.7
vm02                                      11   
128     1     -b----     42.8
vm03                                       8   128     1     -b----    

and a route to my second machine is set:

debian:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         
Flags Metric Ref    Use Iface   U     0      0        0 eth2         UG    0      0        0 eth2
 In fact:
debian:~# ping
PING ( 56
(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 
time=0.287 ms

The same situation happen if I try with : xm migrate --
live .....

Now I post also the lines in my xend-config.sxp on my 
target machine:
I read It needs to enable a relocation server and a 
HTTP server on the machine in stead of a UNIX server (I tried also only 
enabling only a relocation server):

(xend-http-server yes)
server yes)
(xend-relocation-server yes)
(xend-port            8000)
(xend-relocation-port 8002)
(xend-address '')
#(xend-address localhost)
(xend-relocation-address '')
(xend-relocation-hosts-allow '')
relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
I think in this way I should have avoided to block connections 
from ra emote host, allowing whole them.

And finally I restart xend 
after editing xend-config.sxp with:
service xend restart.

I found a 
similar thread in the mailing list but no suggestion for me in it.

help would be appreciated


Xen-users mailing list



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