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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] VM_guest_metrics support
From: Double-U <double-u@xxxxxxxxxxxxxxx>
Date: Mon, 10 Oct 2011 13:23:50 +0200
Delivery-date: Mon, 10 Oct 2011 04:24:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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

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