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] VM_guest_metrics support

To: Double-U <double-u@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] VM_guest_metrics support
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Tue, 11 Oct 2011 10:09:32 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 11 Oct 2011 02:10:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B220F4C-E3DC-463C-921B-E45034883969@xxxxxxxxxxxxxxx>
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: <4B220F4C-E3DC-463C-921B-E45034883969@xxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyH9X2aH+E8Ro3vS0WYBKUsQMHnyQ==
Thread-topic: [Xen-API] VM_guest_metrics support
Try the RRDs interface:

http://wiki.xen.org/xenwiki/XAPI_RRDs

That said, it's odd that you're getting 'method unknown' - which bindings are 
you using, and can you post the code that's failing?

Jon


On 10 Oct 2011, at 12:23, Double-U wrote:

> Hi,
> 
> I am developing a Xen management application only using the Xen API as it 
> seemed complete enough to use for the whole application, and indeed it is.
> However, when trying to acquire a VM_guest_metrics reference (Debian, Xen 
> 4.1-amd64 and Xen 4.1-i686 with XAPI) for a VM, the getter returns 
> MESSAGE_METHOD_UNKNOWN and the reference isn't included in VM.get_record 
> either.
> 
> That said, wouldn't it be better to make the actual memory use available 
> through the VM_metrics memory_actual -- I know Xen always reserves the full 
> amount of memory needed, but this also renders the variable useless because 
> it'll probably resemble VM.memory_static_max if there is enough RAM to go 
> around.
> 
> So the question remains: how can I, using only the Xen API, acquire VCPU and 
> memory load -- preferably without the need to install anything? It would be 
> rather unpleasant having to create and install some simple daemon just to 
> send load numbers over to my backend.
> 
> Thank you for your time,
> W
> 
> PS: Sorry for the repost, minutes after posting in xen-devel I saw the 
> xen-api mailing list.
> _______________________________________________
> 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>