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

[Xen-devel] VM_guest_metrics support

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] VM_guest_metrics support
From: Double-U <double-u@xxxxxxxxxxxxxxx>
Date: Sun, 9 Oct 2011 23:33:55 +0200
Delivery-date: Sun, 09 Oct 2011 14:35:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] VM_guest_metrics support, Double-U <=