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] Problems on retrieving performance statistics

To: Frisco Ho <frisco.ho@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] Problems on retrieving performance statistics
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Wed, 15 Sep 2010 14:01:09 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Sep 2010 06:01:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=k6+48o+kJ6u_XgQR-j-1yvhqBTiKcyuZZsbs9@xxxxxxxxxxxxxx>
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: <AANLkTi=k6+48o+kJ6u_XgQR-j-1yvhqBTiKcyuZZsbs9@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActU1gtManVzd+SERee7aDihitQc6A==
Thread-topic: [Xen-API] Problems on retrieving performance statistics
Hi Frisco,

On 15 Sep 2010, at 03:50, Frisco Ho wrote:

Hi All,

I am a newbie on XEN API. I know that the API provide some way to gather xen cloud platform performance statistics.

Basically a http handler ( http://wiki.xensource.com/xenwiki/XAPI_RRDs ), however due to some reason I need to access the statistics on the local host running VM and do not want to use the http handler.

What I asking is:
1. Is there any CLI command that I can get the statistics just like the http handler

xe vm-data-source-query - but it's quite inefficient.

2. Is there any way I can directly access to the RRD files on the host?

No, they only exist in memory.

 
According to the Xen Cloud Platform SDK document, "RRDs are resident on the server on which the VM is running, or the pool master when the VM is not running. The RRDs are also backed up every day."
So where is the path of RRD exactly locate on the host?

They're stored in /var/xapi/blobs/rrds - but these are only for backup, and don't contain current data.


--
Frisco Ho
<ATT00001..txt>

Jon
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>