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

Re: [Xen-users] Re:Migration and relocation parameters


  • To: Rami Rosen <rosenrami@xxxxxxxxx>
  • From: Ian Brown <ianbrn@xxxxxxxxx>
  • Date: Mon, 21 Nov 2005 09:56:19 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 21 Nov 2005 07:57:18 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bUR11iu92zUhH4qlhuACjwRRA/rVbVYBjzoD8uNR+zjAeooLpZmI9TEWWEo4OdB17RhhOiU87HOIIaSvO7rldPu8VHChpPtdFsFt3PEil2DxdKAWuKCWZ4NDkCJ2ejXe4kBL8K+7/lNg74RY5RPSN8kFrw/qoH72ZbUTZ9mBv7s=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

Thanks Rami, you were absolutely right !

I had in xend-config.sxp
...
#(xend-relocation-address '')
(xend-relocation-address localhost)
...

running:
netstat -nl | grep 8002
gave
tcp        0      0 127.0.0.1:8002              0.0.0.0:*
 LISTEN

and trying from a different machine:
xm migrate 1 MY_MACHINE_IP_ADDR
gave
Error: can't connect: Connection refused

and also , from that other machine:
 telnet MY_MACHINE_IP_ADDR 8002
Trying MY_MACHINE_IP_ADDR...
telnet: connect to address MY_MACHINE_IP_ADDR: Connection refused

//////////////////////////////////////////////////////////////////////////////
So I changed xend-config.sxp thus:

(xend-relocation-address '')
#(xend-relocation-address localhost)

and then
netstat -nl |grep 8002
tcp        0      0 0.0.0.0:8002                0.0.0.0:*             
     LISTEN
 LISTEN
and also
telnet MY_MACHINE_IP_ADDR 8002
was OK. (connection started)
and also migrating from a different machine worked!

Thanks again,
IB





On 11/18/05, Rami Rosen <rosenrami@xxxxxxxxx> wrote:
> Hi,
>
>  Regarding Ian Brown question about Migration:
>
>  I have a version of Xen Unstable from yesterday and
>  migration both to local machine and to a Dom0 on
>  a different machine works.
>
>  You said the error you get is:
>  "Error: can't connect: Connection refused"
>  (which is "ECONNREFUSED" errno).
>
>
>  I assume with high level of certainty that this problem
>  can be traced to setupRelocation() method in
> tools/python/xen/xendf/relocate.py.
>
>  This is how this method starts:
>     try:
>          sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>          sock.connect((dst, port))
>      except socket.error, err:
>          raise XendError("can't connect: %s" % err[1])
>
>
>  The default relocation port is 8002. (look at /etc/xen/xend-config.sxp).
>
>  Make sure that you "xend-relocation-port 8002" is
>  uncommneted and you are litening on this port.
>
>  The "xend-address localhost" should be commeneted to enable
>  remote connections.
>
>  You can verify this by running that running this python snippest solely
>  (replacing the dst with the right IP), or simply "telnet dst port"
>
>  Regards,
>  Rami Rosen
>
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>

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