LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: local node and remote nodes - Problem!

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: local node and remote nodes - Problem!
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: David Osojnik <david@xxxxxxxxxxx>
Date: Mon, 03 Oct 2005 15:15:35 +0200

Horms wrote:

>On Mon, Oct 03, 2005 at 02:06:24PM +0200, David Osojnik wrote:
>  
>
>>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!
>>    
>>
>
>That is quite curiously. Especially the veyr high number of
>inactive connections. Can you verify that connections served by Local
>and Route real servers actually work for the end-user?
>
>  
>
Yes they work when i disable all others 2,3,4,5,6 and leave only local i
get a request from local and when i disable 1 i get a reply from others...

>>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>