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

Re: [Xen-API] Which API for Xen performance metrics

To: Vikas Aggarwal <vikas04@xxxxxxxxx>
Subject: Re: [Xen-API] Which API for Xen performance metrics
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Fri, 28 Oct 2011 08:39:43 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 Oct 2011 00:39:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <010c01cc9508$0fe7d3b0$2fb77b10$@com>
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/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <005d01cc8d60$f6662d50$e33287f0$@com> <4E9E88A5.1050607@xxxxxxxxxx> <010c01cc9508$0fe7d3b0$2fb77b10$@com>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyVRMOcMAk7AJzUTBq0elpIiRaYDA==
Thread-topic: [Xen-API] Which API for Xen performance metrics
rrd_updates gives you the info for the VMs resident on the host on which you 
make the request. We don't get the master to aggregate all of the updates for 
all hosts; that would be very inefficient :-)

Jon

On 28 Oct 2011, at 01:25, Vikas Aggarwal wrote:

>>> but it seems a bit weird to be using RRD for performance counters. 
> 
>> Yes, XCP and XenServer use RRD to capture performance metrics. The page
>> you found above gives a decent explanation of how to capture
>> performance metrics in XCP/XenServer.
> 
> Hmm, so I am working with the vm_rrd and the rrd_updates calls
> (http://<server>/rrd_updates). My requirements are simple (I think) - just
> get the CPU load for every active VM on the server every minute or so.
> 
> I just want the updates, not the entire rrd database in each call so I tried
> to use the rrd_updates call.
> But this call gives me data for ALL the vms, and interestingly only for the
> first 7 VMs on the system (not all the 40 VMs on the system). There is no
> way to specify data for a single VM in rrd_updates
> 
> TO get the data for the remaining VMs, I have to iterate through each VM and
> call vm_rrd which gives me a dump of the entire database (highly
> inefficient).
> 
> Cant I get rrd_update for each VM (or can I configure rrd_updates to give me
> data for all the VMs instead of the first 6-7 VMs?)
> 
>       -vic
> 
> 
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>