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

RE: [Xen-users] Dom U bandwidth monitoring - pmacct, bandwidthd?

To: Alaa eldin <sirash23@xxxxxxxxx>, "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] Dom U bandwidth monitoring - pmacct, bandwidthd?
From: "Robbie A. Garrett" <RGarrett@xxxxxxxxxxxxxx>
Date: Fri, 12 Feb 2010 11:48:19 -0500
Accept-language: en-US
Acceptlanguage: en-US
Cc: "matt@xxxxxxxxxxxxxxxxxx" <matt@xxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Feb 2010 08:50:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <21a1800c1002120815u3f90fe78v9bd11160c5fcaa62@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8344e7c272fa0554d38d0981d74bd478.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <7207d96f1002120811n64732b78vb04d934301d039cc@xxxxxxxxxxxxxx>, <21a1800c1002120815u3f90fe78v9bd11160c5fcaa62@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqsAmeX22wfIWVzT9uq/5Qz+YtoaQAABmSOAAArVsM=
Thread-topic: [Xen-users] Dom U bandwidth monitoring - pmacct, bandwidthd?
My Company developed a method via mrtg.  Each vm has a vif name that means something within our tracking system.
 
an example of this would be user32.  On the Xen server, they have a vm called user32 and within the config file of the VM, there vif name is user32.  We set there MRTG files to pull data based on 'network card name' (in this case user32), and use rrd tool to store the information.   This makes it very easy to pull all historical data from vm's.  When ever a vm moves, so does it's .rrd file  thus keeping all bandwidth traffic together.
 
This may not solve your issue or question...  but I would try barking up the mrtg tree to collect bandwidth totals.
 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alaa eldin [sirash23@xxxxxxxxx]
Sent: Friday, February 12, 2010 11:15 AM
To: Fajar A. Nugraha
Cc: matt@xxxxxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Dom U bandwidth monitoring - pmacct, bandwidthd?

every reboot this method " /proc/net/dev " start from zero

On Fri, Feb 12, 2010 at 11:11 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Fri, Feb 12, 2010 at 11:00 PM, Matthew Law <matt@xxxxxxxxxxxxxxxxxx> wrote:
> I would prefer to do this at the egress point rather than run some kind of
> accounting process on each dom0.

Why? Will you be doing lots of domU moving?
The simplest method would be to give each domU a persistent vif name
and read their stats from /proc/net/dev

--
Fajar

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

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