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-api

[Xen-API] XML-RPC API questions

To: xen-api@xxxxxxxxxxxxxxxxxxx, tom.wilkie@xxxxxxxxx, ewan@xxxxxxxxxxxxx
Subject: [Xen-API] XML-RPC API questions
From: Hetal Badheka <hetal.badheka@xxxxxxxxxx>
Date: Mon, 28 May 2007 18:03:27 +0530
Delivery-date: Mon, 28 May 2007 05:27:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corporation
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Hello,

I need to use XML-RPC APIs to collect metrics from multiple Xen Servers. I would like to dedicate 1 non-Xen machine to run an agent which collects these metrics. Metrics would be collected as per a certain schedule as well as on-demand. With this in mind, I have following questions:
  1. In order to support multiple on-demand as well as scheduled collections concurrently for the same Xen server, I would like the client "Session" to be multi-threaded on the server side so that I don't have to open multiple sessions. Can I have multiple threads using the same session to collect different metrics?
  2. What is the timeout of a session? I did not find anything in the XML-RPC doc about timeouts.
  3. Is a Session ID just a string which can be persisted to a file for later use?
Thank you.
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] XML-RPC API questions, Hetal Badheka <=