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

Re: [Xen-devel] How to monitor and control VMs which are distributed in

To: lingyi <zhanglingyi@xxxxxxxxx>
Subject: Re: [Xen-devel] How to monitor and control VMs which are distributed in dozens of servers
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 08:49:34 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 22 Jun 2009 17:50:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <69c233e30906220543r6f7b7a01r6a3f5800b23564ab@xxxxxxxxxxxxxx>
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>
References: <69c233e30906220543r6f7b7a01r6a3f5800b23564ab@xxxxxxxxxxxxxx>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

On Mon, 2009-06-22 at 20:43 +0800, lingyi wrote:
> Hi, Xen developers~
> 
> 
> I have about dozens of servers served as Xen server, and there are
> about 100 VMs running on them.
> Now I want to have a unified interface to monitor all the Xen servers
> and VMs, collecting information such as server's PV size, memory, VM's
> IP, LV size, memory allocated, etc.

I have created a sort of "nagios for xen" that works entirely over
Xenbus. At the moment, it only works for paravirtualized domains and is
very Linux centric.

You can browse the code here:

http://echoreply.us/hg/nexgent.hg

A list of what's exported (and how to find it in xenstore) is available
here:

http://echoreply.us/hg/nexgent.hg/index.cgi/file/8561117917a6/docs/dir_layout.txt

It will tell you pretty much everything you need to know about each PV
dom-u, including its actual disk / memory usage.

Beware, alpha code and the interface is still quite shifty. 

Cheers,
--Tim



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel