LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

local node and remote nodes - Problem!

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: local node and remote nodes - Problem!
From: David Osojnik <david@xxxxxxxxxxx>
Date: Mon, 03 Oct 2005 14:06:24 +0200
Hello,

I have a problem with LVS:

I have a web server LVS and i have a problem like this:

All the REMOTE nodes work GREAT and are distributed nicely!
The problem is Local Node! It has FAR Less connections then other nodes!
And i would like them to have the same processes each! Local or Remote!

if i do:

"ps aux |grep httpd |wc -l" on all the nodes i get this:

IP : httpd processes
10.0.0.1: 29
10.0.0.2: 508
10.0.0.3: 462
10.0.0.4: 500
10.0.0.5: 471
10.0.0.6: 459

Here is the output of "ipvsadm -L -n":

IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  xxx.xxx.xxx.xxx:80 rr
  -> 10.0.0.1:80                Local   100    48         3273
  -> 10.0.0.2:80                Route   100    34559      29
  -> 10.0.0.3:80                Route   100    34518      42
  -> 10.0.0.4:80                Route   100    34605      39
  -> 10.0.0.5:80                Route   100    34627      37
  -> 10.0.0.6:80                Route   100    34582      36

I remember a time back when we had RedHat 9 it worked great but now it
is not working good!

I tried changing the LVS to other servers so i got Local on other
servers but the problem is the same with the Local node! (far less
connections)

Any ideas? Thank You!

I use:
- RedHat Enterprise Server 4
- ipvsadm v1.24 2003/06/07 (compiled with popt and IPVS v1.2.0)
- Keepalived v1.1.11 (04/13,2005)
- 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386
GNU/Linux
- scheduler is rr or wrr or wlc (same problem on all)

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