Rudi Ahlers
2008-Sep-18 06:05 UTC
[Xen-users] domU network interface not reporting bandwidth usage
Hi all I don''t know how to explain this, but one of my domU''s doesn''t show much network traffic it''s used. We use Cacti for bandwidth monitoring, and rely on the network interface''s names for it to work. So,I give each network interface a unique name, in the config files as follows: [root@saturn ~]# more /etc/xen/wiseguy name = "wiseguy" uuid = "72feda9a-5755-0295-bf63-dcbc18445634" maxmem = 512 memory = 512 vcpus = 1 bootloader = "/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" vfb = [ ] disk = [ "phy:/dev/System/wiseguy,xvda,w" ] vif = [''ip=1.2.3.4, vifname=vifwise0, mac=00:16:3e:19:17:50 ''] The domU has been running for about 8 hours now, yet I cannot get the traffic stats from it. Is there something else I should do as well? -- Kind Regards Rudi Ahlers _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Henning
2008-Sep-18 14:55 UTC
RE: [Xen-users] domU network interface not reporting bandwidth usage
Does this work on your other domains? That may be implied, but I wanted to confirm, because I have noticed in F8 with Xen from repo, the xm top command doesn''t show network traffic if using vifname, but does when the default vifX.Y is used. I should think that would be related to xm top checking for vifX.Y and not vifname (F8 uses a version of Xen where vifname would have to have been patched in), but if that weren''t the case, and it were somehow related to using vifname, that would be interesting. Dustin From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Rudi Ahlers Sent: Thursday, September 18, 2008 02:06 To: xen-users@lists.xensource.com Subject: [Xen-users] domU network interface not reporting bandwidth usage Hi all I don''t know how to explain this, but one of my domU''s doesn''t show much network traffic it''s used. We use Cacti for bandwidth monitoring, and rely on the network interface''s names for it to work. So,I give each network interface a unique name, in the config files as follows: [root@saturn ~]# more /etc/xen/wiseguy name = "wiseguy" uuid = "72feda9a-5755-0295-bf63-dcbc18445634" maxmem = 512 memory = 512 vcpus = 1 bootloader = "/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" vfb = [ ] disk = [ "phy:/dev/System/wiseguy,xvda,w" ] vif = [''ip=1.2.3.4, vifname=vifwise0, mac=00:16:3e:19:17:50 ''] The domU has been running for about 8 hours now, yet I cannot get the traffic stats from it. Is there something else I should do as well? -- Kind Regards Rudi Ahlers _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Henning
2008-Sep-18 16:11 UTC
RE: [Xen-users] domU network interface not reporting bandwidth usage
Are you running CentOS 5.2 repo Xen or some self-compiled Xen? If it''s the former, I wouldn''t jump straight to blaming Xen, as I suspect the only reason CentOS 5.2 would support vifname is because they patched it in, so it may not fully support it (similar to how F8 doesn''t). If it is a self-compiled Xen, then yeah, it looks like it''s Xen related, but I haven''t tried to resolve the issue, because I assumed it was specific to my Fedora release from the repo (and I haven''t reported it to bugzilla, which would be fruitless at this point with F8 soon losing support). Dustin From: Rudi Ahlers [mailto:rudiahlers@gmail.com] Sent: Thursday, September 18, 2008 12:05 To: Dustin.Henning@prd-inc.com Subject: Re: [Xen-users] domU network interface not reporting bandwidth usage On Thu, Sep 18, 2008 at 4:55 PM, Dustin Henning <Dustin.Henning@prd-inc.com> wrote: Does this work on your other domains? That may be implied, but I wanted to confirm, because I have noticed in F8 with Xen from repo, the xm top command doesn''t show network traffic if using vifname, but does when the default vifX.Y is used. I should think that would be related to xm top checking for vifX.Y and not vifname (F8 uses a version of Xen where vifname would have to have been patched in), but if that weren''t the case, and it were somehow related to using vifname, that would be interesting. Dustin Yes, you''re right - the domains with a default vif does show network stats, but the ones where I specify the name doesn''t This is on CentOS 5.2 thought, so is it something todo with XEN then? -- Kind Regards Rudi Ahlers _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Henning
2008-Sep-18 21:16 UTC
RE: [Xen-users] domU network interface not reporting bandwidth usage
From: Rudi Ahlers [mailto:rudiahlers@gmail.com] Sent: Thursday, September 18, 2008 12:19 To: Dustin.Henning@prd-inc.com Subject: Re: [Xen-users] domU network interface not reporting bandwidth usage On Thu, Sep 18, 2008 at 6:11 PM, Dustin Henning <Dustin.Henning@prd-inc.com> wrote: Are you running CentOS 5.2 repo Xen or some self-compiled Xen? If it''s the former, I wouldn''t jump straight to blaming Xen, as I suspect the only reason CentOS 5.2 would support vifname is because they patched it in, so it may not fully support it (similar to how F8 doesn''t). If it is a self-compiled Xen, then yeah, it looks like it''s Xen related, but I haven''t tried to resolve the issue, because I assumed it was specific to my Fedora release from the repo (and I haven''t reported it to bugzilla, which would be fruitless at this point with F8 soon losing support). Dustin I''m lazy :) I only use the repo XEN ( is that when you run yum install xen?) -- Kind Regards Rudi Ahlers Rudi, Don''t forget to keep messages on the list so anyone who might have a clue can help. Yes, yum install will get the CentOS repo Xen unless you use additional repos that have some other Xen (such a thing may or may not exist, I don''t know). Since we only know this issue to exist on CentOS and Fedora, you might try the Cent-OS virtualization list (I''m not a member and don''t know what it''s called) to see if other CentOS users have the same problem or can reproduce it. Dustin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users