Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] ipvsadm stats

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


sameer.garg at gmail

Oct 30, 2007, 3:41 AM

Post #1 of 7 (360 views)
Permalink
[lvs-users] ipvsadm stats

I have been running two LVS setups and on one of them I am not setting
any stats.


When I do ipvsadm -l I get the followng.


Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP director:http rr persistent 300
-> real1:http Tunnel 1 0 0
-> real2:http Tunnel 1 0 0
-> real3:http Tunnel 1 0 0

This setup hasn't been modified in over 2 months, even the service
hasn't been restarted. When I had set up the service it was working
fine. I getting the stats and other info.

I am using RHEL 4 with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and
ldirectord. I tried restarting the service but it doesn't help. I even
looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I
repeat LVS is doing is its job infact it is doing it very well but I
can't seem to figure out what is happening to the stats.

Thanks
Sameer

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Oct 30, 2007, 6:21 PM

Post #2 of 7 (345 views)
Permalink
Re: [lvs-users] ipvsadm stats [In reply to]

On Tue, 30 Oct 2007, Sameer Garg wrote:

> I have been running two LVS setups and on one of them I am not setting
> any stats.

no idea sorry (just so you don't think we're ignoring you).

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


silkey at ece

Oct 31, 2007, 11:09 AM

Post #3 of 7 (343 views)
Permalink
Re: [lvs-users] ipvsadm stats [In reply to]

Sameer Garg wrote:
> I have been running two LVS setups and on one of them I am not setting
> any stats.
>
>
> When I do ipvsadm -l I get the followng.
>
>
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP director:http rr persistent 300
> -> real1:http Tunnel 1 0 0
> -> real2:http Tunnel 1 0 0
> -> real3:http Tunnel 1 0 0
>
> This setup hasn't been modified in over 2 months, even the service
> hasn't been restarted. When I had set up the service it was working
> fine. I getting the stats and other info.
>
> I am using RHEL 4 with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and
> ldirectord. I tried restarting the service but it doesn't help. I even
> looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I
> repeat LVS is doing is its job infact it is doing it very well but I
> can't seem to figure out what is happening to the stats.

Try 'ipvsadm -l --stats'. This should show rule lifetime stats
(connections, packets, bytes, etc).

--
Nick Silkey | silkey[at]ece.utexas.edu
Senior Operating Systems Specialist
Electrical & Computer Engineering
The University of Texas at Austin
ENS 340 | 512.475.8284 | 0x35EB31E2


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


sameer.garg at gmail

Oct 31, 2007, 11:42 PM

Post #4 of 7 (343 views)
Permalink
Re: [lvs-users] ipvsadm stats [In reply to]

Hey Nick,

I have tried ipvsadm -l --stats and --rate. Both show 0. This is weird
considering it was showing stats previously and nothing in the setup
has been changed. The service hasn't even been restarted.

Sameer

On 10/31/07, Nick Silkey <silkey[at]ece.utexas.edu> wrote:
> Sameer Garg wrote:
> > I have been running two LVS setups and on one of them I am not setting
> > any stats.
> >
> >
> > When I do ipvsadm -l I get the followng.
> >
> >
> > Prot LocalAddress:Port Scheduler Flags
> > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > TCP director:http rr persistent 300
> > -> real1:http Tunnel 1 0 0
> > -> real2:http Tunnel 1 0 0
> > -> real3:http Tunnel 1 0 0
> >
> > This setup hasn't been modified in over 2 months, even the service
> > hasn't been restarted. When I had set up the service it was working
> > fine. I getting the stats and other info.
> >
> > I am using RHEL 4 with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and
> > ldirectord. I tried restarting the service but it doesn't help. I even
> > looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I
> > repeat LVS is doing is its job infact it is doing it very well but I
> > can't seem to figure out what is happening to the stats.
>
> Try 'ipvsadm -l --stats'. This should show rule lifetime stats
> (connections, packets, bytes, etc).
>
> --
> Nick Silkey | silkey[at]ece.utexas.edu
> Senior Operating Systems Specialist
> Electrical & Computer Engineering
> The University of Texas at Austin
> ENS 340 | 512.475.8284 | 0x35EB31E2
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


sameer.garg at gmail

Nov 1, 2007, 6:33 AM

Post #5 of 7 (343 views)
Permalink
Re: [lvs-users] ipvsadm stats [In reply to]

Ok. Figures it is the ARP problem. I checked the howto and there are
multiple suggestions on how to avoid it. Has any one been able to
resolve the arp issue without patching the kernel or adding a module.

By the way I am using RHEL 4 on the director and real servers with LVS-tun.

Sameer

On 11/1/07, Sameer Garg <sameer.garg[at]gmail.com> wrote:
> Hey Nick,
>
> I have tried ipvsadm -l --stats and --rate. Both show 0. This is weird
> considering it was showing stats previously and nothing in the setup
> has been changed. The service hasn't even been restarted.
>
> Sameer
>
> On 10/31/07, Nick Silkey <silkey[at]ece.utexas.edu> wrote:
> > Sameer Garg wrote:
> > > I have been running two LVS setups and on one of them I am not setting
> > > any stats.
> > >
> > >
> > > When I do ipvsadm -l I get the followng.
> > >
> > >
> > > Prot LocalAddress:Port Scheduler Flags
> > > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > > TCP director:http rr persistent 300
> > > -> real1:http Tunnel 1 0 0
> > > -> real2:http Tunnel 1 0 0
> > > -> real3:http Tunnel 1 0 0
> > >
> > > This setup hasn't been modified in over 2 months, even the service
> > > hasn't been restarted. When I had set up the service it was working
> > > fine. I getting the stats and other info.
> > >
> > > I am using RHEL 4 with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and
> > > ldirectord. I tried restarting the service but it doesn't help. I even
> > > looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I
> > > repeat LVS is doing is its job infact it is doing it very well but I
> > > can't seem to figure out what is happening to the stats.
> >
> > Try 'ipvsadm -l --stats'. This should show rule lifetime stats
> > (connections, packets, bytes, etc).
> >
> > --
> > Nick Silkey | silkey[at]ece.utexas.edu
> > Senior Operating Systems Specialist
> > Electrical & Computer Engineering
> > The University of Texas at Austin
> > ENS 340 | 512.475.8284 | 0x35EB31E2
> >
> >
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> > Send requests to lvs-users-request[at]LinuxVirtualServer.org
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >
>

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


rumen at voicecho

Nov 1, 2007, 6:45 AM

Post #6 of 7 (342 views)
Permalink
Re: [lvs-users] ipvsadm stats [In reply to]

on real servers use sysctl to set:
net.ipv4.conf.ethX.arp_ignore=1
net.ipv4.conf.ethX.arp_announce=2

ethX - shoud be the relevant network interface.

or add those lines to /etc/sysctl.conf on all nodes and reboot or do
"sysctl -p"

then configure the relevant interfaces on the nodes with the virtual IP.

rumen

On Thu, 2007-11-01 at 19:03 +0530, Sameer Garg wrote:
> Ok. Figures it is the ARP problem. I checked the howto and there are
> multiple suggestions on how to avoid it. Has any one been able to
> resolve the arp issue without patching the kernel or adding a module.
>
> By the way I am using RHEL 4 on the director and real servers with LVS-tun.
>
> Sameer
>
> On 11/1/07, Sameer Garg <sameer.garg[at]gmail.com> wrote:
> > Hey Nick,
> >
> > I have tried ipvsadm -l --stats and --rate. Both show 0. This is weird
> > considering it was showing stats previously and nothing in the setup
> > has been changed. The service hasn't even been restarted.
> >
> > Sameer
> >
> > On 10/31/07, Nick Silkey <silkey[at]ece.utexas.edu> wrote:
> > > Sameer Garg wrote:
> > > > I have been running two LVS setups and on one of them I am not setting
> > > > any stats.
> > > >
> > > >
> > > > When I do ipvsadm -l I get the followng.
> > > >
> > > >
> > > > Prot LocalAddress:Port Scheduler Flags
> > > > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > > > TCP director:http rr persistent 300
> > > > -> real1:http Tunnel 1 0 0
> > > > -> real2:http Tunnel 1 0 0
> > > > -> real3:http Tunnel 1 0 0
> > > >
> > > > This setup hasn't been modified in over 2 months, even the service
> > > > hasn't been restarted. When I had set up the service it was working
> > > > fine. I getting the stats and other info.
> > > >
> > > > I am using RHEL 4 with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and
> > > > ldirectord. I tried restarting the service but it doesn't help. I even
> > > > looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I
> > > > repeat LVS is doing is its job infact it is doing it very well but I
> > > > can't seem to figure out what is happening to the stats.
> > >
> > > Try 'ipvsadm -l --stats'. This should show rule lifetime stats
> > > (connections, packets, bytes, etc).
> > >
> > > --
> > > Nick Silkey | silkey[at]ece.utexas.edu
> > > Senior Operating Systems Specialist
> > > Electrical & Computer Engineering
> > > The University of Texas at Austin
> > > ENS 340 | 512.475.8284 | 0x35EB31E2
> > >
> > >
> > > _______________________________________________
> > > LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> > > Send requests to lvs-users-request[at]LinuxVirtualServer.org
> > > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> > >
> >
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Nov 1, 2007, 6:46 AM

Post #7 of 7 (343 views)
Permalink
Re: [lvs-users] ipvsadm stats [In reply to]

On Thu, 1 Nov 2007, Sameer Garg wrote:

> Ok. Figures it is the ARP problem. I checked the howto and there are
> multiple suggestions on how to avoid it. Has any one been able to
> resolve the arp issue without patching the kernel or adding a module.

arp_ignore

Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.