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-devel] question on XML-RPC interface to xend

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] question on XML-RPC interface to xend
From: "Jayesh Salvi" <jayeshsalvi@xxxxxxxxx>
Date: Sun, 28 May 2006 14:31:29 +0000
Delivery-date: Sun, 28 May 2006 07:31:50 -0700
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=HuIw8rupSJDjoApzS1QjKm35abDxvmhttgFFkP4LfGBxLd/8qVaa2uzt0WA587XGKVhpX3DrPe4r/rLn0bkO/cXY58o2yQbPvUvaGzSFwGJ1LR3hOZ+Th600wrxZu/eOEEI9riZD8bAn2a1kE/Xmqc7P4z6unfUtz8+pz/VXy0E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I noticed that an XMLRPC interface has been introduced from 3.0.2+. This is breaking the remote execution of xm commands I used to do.

This change entirely changed the tools/python/xen/xend/XendClient.py. I used to remotely control the pool of servers by doing:
XEND=<remote server name> xm <operation>

For this I had to change last line of XendClient.py from getUnixServer() to getHttpServer() . This tweak changed the way "xm" connects to xend process - instead of Unix domain sockets it uses Http connections.

This setup used to work fine. I however do not understand the XML-RPC behavior from "xm"'s point of view. The XendClient.py now just opens a ServerProxy for a xmlrpc socket, which take httpu URI. I don't know how I can direct xm operations to the remote physical servers now.

Is remote access using xm discontinued because of this change? Or is there some method?

Please let me know.

Everything you can imagine is real
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>