LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Persistence problem

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Persistence problem
From: Stéphane KLEIN <sklein@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2002 16:07:30 +0100
Hi,

First, congratulation for that software, it's very useful!!

I installed the stable branch of LVS:
ipvs 0.8.2
Kernel 2.4.12
heartbeat 0.4.9.1
ldirectord 1.29
iptables 1.2.5

ldirectord config is:

checktimeout=3
checkinterval=1
virtual=192.168.0.252:80
        protocol=tcp
        scheduler=wlc
        persistent=600
        fallback=127.0.0.1:80
        real=192.168.2.25:80 masq
        real=192.168.2.26:80 masq
        service=http


The result of ipvsadm -ln is:

IP Virtual Server version 0.8.2 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port             Forward Weight ActiveConn InActConn
TCP  192.168.0.252:80 wlc persistent 600
  -> 192.168.2.26:80                Masq    1      2        2
  -> 192.168.2.25:80                Masq    1      0        0


The persistent option don't work well. I tried 10 minutes but after one or
two, ActiveConn and InActConn switches to 0
and there is a risk of bad redirection. This option is very important
because of special web applications.

So, i tried to install ldirectord 1.4, but it is the same.
The ipvsadm --set 600 0 0 have a result: "illegal timeout values"

I know the "illegal..." is a ipvsadm version problem, but must i install an
ipvs development version to resolv the persistence problem?
What version of software must i install to have a well working LVS.
Thanks for your help.

Stephane




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