WARNING - OLD ARCHIVES

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

xen-users

[Xen-users] TCP-XMLRPC

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] TCP-XMLRPC
From: Marcel van Dorp <M.vanDorp@xxxxxxx>
Date: Tue, 27 Oct 2009 10:57:12 +0100
Delivery-date: Tue, 27 Oct 2009 07:29:14 -0700
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: WiWo Support
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
-----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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] TCP-XMLRPC, Marcel van Dorp <=