[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: problems with xen installation


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Andy Smith <andy@xxxxxxxxxxxxxx>
  • Date: Fri, 30 Dec 2005 13:44:59 +0000
  • Delivery-date: Fri, 30 Dec 2005 13:49:32 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc

On Fri, Dec 30, 2005 at 06:00:11PM +0530, Anand wrote:
>    I wanted to use something which doesn't force me to run anything
>    inside the domX.
>    And how will i get information from the bridges ?

You can measure the bandwidth use of the vif interfaces in dom0,
either by parsing /proc/net/devices periodically or by polling SNMP.

As you noted the vif name will change every time a domain is
restarted.  In Xen 2.x you can use the vifname config directive to
hardcode vif names per domain.  You can also do this in 3.0 if you
use a snapshot of -unstable that has this functionality (apologies,
I do not know exactly when it was (re)added).

Finally you could also use iptables in dom0 and the physdev module
to add rules for traffic going in/out particular vifs, and poll its
counters to measure bandwidth.

Regards,
Andy

Attachment: signature.asc
Description: Digital signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.