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

[Xen-users] Re:Migration and relocation parameters

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Rami Rosen <rosenrami@xxxxxxxxx>
  • Date: Fri, 18 Nov 2005 03:37:45 -0500
  • Delivery-date: Fri, 18 Nov 2005 08:41:59 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KR86zkuABJ2t/CC1A0Si9BDbG65bELEEH6SS4wEhFY5i8uXpah57w4nh/ttV4xqtipKbb/m7e2s1PIT/1TBnTjuCUr0qH+c0t3s7buvI0vEjqE5H2U+KbkHqvYFdbsnVut0rHoBaNhrN76B2/ZIoU3IY/IcQI1lHGnCbyF6jqBQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


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:
        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"

Rami Rosen

Xen-users mailing list



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