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

[Xen-users] Can't migrate domains

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Can't migrate domains
From: "andrea15@xxxxxx" <andrea15@xxxxxx>
Date: Sun, 15 Jul 2007 18:05:18 +0100 (GMT+01:00)
Delivery-date: Sun, 15 Jul 2007 10:03:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: "andrea15@xxxxxx" <andrea15@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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