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

[Xen-users] Virtual interface problems

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Virtual interface problems
From: "sadique@xxxxxxxxxxxxxxxxxxx" <sadique@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Jun 2005 03:32:47 +0530
Delivery-date: Sun, 05 Jun 2005 22:00:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Hi Everyone,

Hope you are all well..

I have some problems to configure bandwidth monitoring for domains in an xen vps......

Suppose we have three domains..... The ifconfig entry will something like this

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:3691 errors:0 dropped:0 overruns:0 frame:0
         TX packets:412527 errors:0 dropped:776 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:435348 (425.1 Kb)  TX bytes:24588202 (23.4 Mb)

vif2.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:4894 errors:0 dropped:0 overruns:0 frame:0
         TX packets:412178 errors:0 dropped:667 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:477402 (466.2 Kb)  TX bytes:25068366 (23.9 Mb)

vif3.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:64606 errors:0 dropped:0 overruns:0 frame:0
         TX packets:376113 errors:0 dropped:610 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:18405141 (17.5 Mb)  TX bytes:73257575 (69.8 Mb)

Only the specific part taken.... When we stop and start all these domains it will be vif4.0, vif5.0, vif6.0 and if we restrat once again it would take the next three digits and will be going up. Only a system reboot would bring this to its first stage...

So really bandwidth monitoring seems to be a horrible task... I use the contents of /proc/net/dev as mrtg collects data from there... So if i restart a domain i must make related changes in mrtg config files....

Any one any idea how to make this interface name permanent for a domain.... All suggestions are accepted....

Please bear the ignorance of a newbie :-(

Thanks
Sadique

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

<Prev in Thread] Current Thread [Next in Thread>