[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 143.225.229.138
Error: can't connect: No route to host
Usage: xm migrate <Domain> 
<Host>

vm01 is active on my first machine:
debian:~# xm list
Name                                      ID   Mem VCPUs      State   
Time(s)
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----    
237.8

and a route to my second machine is set:

debian:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         
Flags Metric Ref    Use Iface
143.225.229.0   0.0.0.0         
255.255.255.0   U     0      0        0 eth2
0.0.0.0         
143.225.229.254 0.0.0.0         UG    0      0        0 eth2
 In fact:
debian:~# ping 143.225.229.138
PING 143.225.229.138 (143.225.229.138) 56
(84) bytes of data.
64 bytes from 143.225.229.138: 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)
#(xend-unix-
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 '')
#(xend-
relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
etc.....
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.

Any 
help would be appreciated

Andrea



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