LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvsadm and kernel 2.2.22 and apache load balancing

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvsadm and kernel 2.2.22 and apache load balancing
From: Marc-Christian Petersen <m.c.p@xxxxxxx>
Date: Tue, 22 Oct 2002 22:59:39 +0200
On Tuesday 22 October 2002 22:12, Joseph Mack wrote:

Hi Joseph,

> Marc-Christian Petersen wrote:
> > I want to set up easy and simple Apache Load Balancing. So I patched my
> > 2.2.22 kernel with the latest patch available for 2.2.xx, compiled
> > ipvsadm 1.15 and did the following:

> we could sit here for a while trying to figure this out, or you could read
> http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO-32.html#ss32.
Reading it or not (I did btw) ... why does it work with 2.4 and not with 2.2 
as I've written it? ... I think I am not too silly to set this up right, and 
as I've written, it _works_ with 2.4, but _not_ with 2.2.

also this:

fw-rot:~# ipvsadm -L -n
IP Virtual Server version 1.0.8 (size=4096)                    
Prot LocalAddress:Port Scheduler Flags                         
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
TCP  10.0.0.200:80 wlc
  -> 0.80.0.0:0                  Masq    0      0          0         
fw-rot:~# 

looks really strange to me. Running Kernel 2.4.xx the output looks right. 
After reading your pasted URL, I also tried with telnet, without any success 
with kernel 2.2.xx ...

Also this:

fw-rot:~# ipvsadm -a -t 10.0.0.200:80 -r 10.0.1.11:80 -w 50 -m
setsockopt failed: File exists

is really strange to me (on 2.2.22) ...

So, hit me, am I too silly to do this right for 2.2.22?

ciao, Marc


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