[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Re:Migration and relocation parameters
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |