Skip to contentSkip to conversation

SLA Monitoring of XEN DomU's

DISCUSSION Ahmad Hassan 6 participants 8 messages Jan 4, 2010 – Jan 21, 2010

lore
Share & tools
lore
#0 lore raw

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

You help is much appreciated.

Thanks.

Regards, Hassan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

2010/1/4 Ahmad Hassan <[email protected]>:

Quoted 11 lines

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

You help is much appreciated.

Thanks.

There is something called xenaccess, it's a tools to do introspection of domus, that could do what you look for.

http://code.google.com/p/xenaccess/

Jean

#2 lore raw
In reply to Ahmad Hassan
Quoted 8 lines · Ahmad Hassan

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

Quoted 5 lines

You help is much appreciated.

Thanks.

Regards, Hassan

Network traffic is easily monitored by making sure that you assign static vifnames to guests. I.e. if your guest is named "vps-123", then your network config might look like this:

vif = ['bridge = br0, mac = xx:xx:xx:..., vifname = vps-123.0',

       'bridge = br1, mac = xx:xx:xx:..., vifname = vps-123.1' ]

... where vps-123.0 is the device to monitor (on dom-0) for eth0 in that guest, vps-123.1 the one to monitor for eth1, etc .. etc.

After that, snmp takes care of logging if using something like cacti.

It becomes a little complicated if you tend to migrate guests from node to node, but not unmanageable.

I'm not quite sure what kind of SLA you are backing with this. I can produce graphs that tell people they have 100% of all 16 cores in a node rather easily. Since its impossible for the customer to independently verify, its hardly usable in a SLA claim. Unless I missed something?

Cheers,
--Tim

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Thanks for the replies. So I can use either use SNMP monitoring using CACTI or http://www.pmacct.net for Network traffic monitoring of DomU's.

What about CPU availability guarantees for DomU's?

By SLA guarantees, I mean to say that Whether I can proof and show to the owner of DomU's that you are getting the exact bandwidth and CPU you asked for.

Best Regards, Hassan
http://cern.ch/ahmadh/portfolio

Erasmus Student
The University of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain

2010/1/4 Tim Post <[email protected]>

Quoted 30 lines · Ahmad Hassan
Quoted 8 lines

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

Quoted 5 lines

You help is much appreciated.

Thanks.

Regards, Hassan

Network traffic is easily monitored by making sure that you assign static vifnames to guests. I.e. if your guest is named "vps-123", then your network config might look like this:

vif = ['bridge = br0, mac = xx:xx:xx:..., vifname = vps-123.0',

      'bridge = br1, mac = xx:xx:xx:..., vifname = vps-123.1' ]

... where vps-123.0 is the device to monitor (on dom-0) for eth0 in that guest, vps-123.1 the one to monitor for eth1, etc .. etc.

After that, snmp takes care of logging if using something like cacti.

It becomes a little complicated if you tend to migrate guests from node to node, but not unmanageable.

Quoted 14 lines

I'm not quite sure what kind of SLA you are backing with this. I can produce graphs that tell people they have 100% of all 16 cores in a node rather easily. Since its impossible for the customer to independently verify, its hardly usable in a SLA claim. Unless I missed something?

Cheers,
--Tim

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
In reply to Ahmad Hassan

Hi Ahmad,

i've written a nagios-plugin which does all the magic for you...

IO, Net, CPU-Usage per domU....

If interested i could post it to the list...

hth,

thomas

Am Montag, den 04.01.2010, 14:19 +0000 schrieb Ahmad Hassan:

Quoted 17 lines

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

You help is much appreciated.

Thanks.

Regards, Hassan
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#5 lore raw

i am interested!

Cris

--------------------------------------------------
From: "Thomas Halinka" <[email protected]>
Sent: Wednesday, January 06, 2010 12:05 PM
To: "Ahmad Hassan" <[email protected]>
Cc: "Xen-Devel (E-mail)" <[email protected]>; <[email protected]>
Subject: Re: [Xen-users] SLA Monitoring of XEN DomU's

Quoted 37 lines

Hi Ahmad,

i've written a nagios-plugin which does all the magic for you...

IO, Net, CPU-Usage per domU....

If interested i could post it to the list...

hth,

thomas

Am Montag, den 04.01.2010, 14:19 +0000 schrieb Ahmad Hassan:

Quoted 10 lines

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

You help is much appreciated.

Quoted 7 lines

Thanks.

Regards, Hassan
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#6 lore raw
In reply to Thomas Halinka

Hello Thomas,

I'm interested in such a script for monitoring, could you please post it ?

Regards,

Sander

Quoted 30 lines · you

Hi Ahmad,

i've written a nagios-plugin which does all the magic for you...

IO, Net, CPU-Usage per domU....

If interested i could post it to the list...

hth,

thomas

Am Montag, den 04.01.2010, 14:19 +0000 schrieb Ahmad Hassan:

Quoted 17 lines

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

You help is much appreciated.

Thanks.

Regards, Hassan
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

Signature · 2 lines
Best regards,
 Sander                            mailto:[email protected]
#7 lore raw
In reply to Thomas Halinka

Hi Thomas,

Thanks for the message. I am looking for this kind of script since long. Can you please post it?

Thanks.

Quoted 2 lines

Best Regards, Hassan
http://cern.ch/ahmadh/portfolio

Erasmus Student
The University of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain

Am Montag, den 04.01.2010, 14:19 +0000 schrieb Ahmad Hassan:

Quoted 10 lines
Quoted 10 lines

Dear All,

We have set up a XEN testbed on AMD64 based cluster nodes. I would like to know the possible ways to monitor the activities of DomU's from Dom0. Is there any transparent way to monitor cpu usage and network traffic of DomU's at Dom0 level in order to ensure that SLA gurantees to each DomU.

You help is much appreciated.

Quoted 9 lines
Quoted 7 lines

Thanks.

Regards, Hassan
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel