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

[Xen-users] TCP-XMLRPC



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I am starting with Xen (comparing it with VMware), but I am a bit
stumped with the remote management.

I use Debian stable as Dom0 (a customized version on USB of the liveCD),
and in /etx/xen/xend-config.sxp I have:

(logfile /var/log/xen/xend.log)
(loglevel DEBUG)
(xend-http-server yes)
(xend-unix-server yes)
(xend-tcp-xmlrpc-server yes)
(xend-unix-xmlrpc-server yes)
(xend-relocation-server yes)
#(xen-tcp-xmlrpc-server-address '')
#(xen-tcp-xmlrpc-server-address 'localhost')
(xen-tcp-xmlrpc-server-address "xenhost.mydomain.com")
#(xen-tcp-xmlrpc-server-address '192.168.1.73')
(xen-tcp-xmlrpc-server-port 8006)
(xend-port            8000)
(xend-relocation-port 8002)
(xend-address '192.168.1.73')
#(xend-address localhost)


Some lines are commented out, but I tried all above combinations.
I cannot get XEN listening on another IP then localhost!

No matter what syntax/version I use, Restarting XEN always gives in the log:

[2009-10-26 18:28:32 8767] INFO (XMLRPCServer:149) Opening Unix domain
socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has
been disabled for this server.
[2009-10-26 18:28:32 8767] INFO (XMLRPCServer:127) Opening TCP XML-RPC
server on localhost:8006.
[2009-10-26 18:28:32 8767] INFO (XMLRPCServer:149) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.

And a: telnet localhost 8006
gives me a connection,
but a: telnet xenhost.mydomain.com 8006
or  a: telnet 192.168.1.73 8006
Gives me a connction refused.

Yes, I did set /etc/hosts correctly:

127.0.0.1       localhost
192.168.1.73    xenhost.mydomain.com xenhost

When I change /etc/hosts to:

127.0.0.1       localhost2
192.168.1.73    xenhost.mydomain.com xenhost localhost

Then the log still shows "Opening TCP XML-RPC server on localhost:8006",
but now I am able to connect to both xenhost.mydomain.com and 192.168.1.73

This is as expected, but I am afraid a lot of things will break
(localhost no longer being 127.0.0.1).

How do I fix this?

I am running Xen3.2-1, Dom0 = linux kernel 2.6.26-2-xen-amd64, on Debian
(using standard packages from Debian mirror). It is a live distro (using
the live scripts, slightly modified for my hardware), from USB, with
persistence set (snapshot on USB-partition 'live-rw')

Anyone with good ideas/pointers?

TIA,

Marcel


- --
- ---------------------------------------------------------------
ing. Marcel van Dorp (CCDP, CCNP, CCSP)
WiWo Support                                 http://www.wiwo.nl
Postbus 1098                                 tel. 071-523 77 91
2340 BB Oegstgeest                           gsm  0653-50 77 76
- ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrmw/gACgkQIA1+xqauveq1PACfSt9VRpfxgQ2rj60BzFYmZPvi
xVoAn2O83O4R7ppo5l9BrZW3bTYN2b0E
=OlhU
-----END PGP SIGNATURE-----

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