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/
Home Products Support Community News


[Xen-users] Re:Migration and relocation parameters

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re:Migration and relocation parameters
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>