LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

serious problem experienced with ldirectord 1.77.2.6?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: serious problem experienced with ldirectord 1.77.2.6?
From: Struan Bartlett <struan@xxxxxxxxxxxxx>
Date: Mon, 10 Oct 2005 10:21:05 +0100 (BST)
Hi -

I'm new to this list but I hope you'll forgive me getting right to the
point.

Our organisation is testing a new version of ldirectord - version 1.77.2.6
from Debian package 1.2.3-9sarge3 - and have encountered a serious problem
that shows different behaviour to the previous version we used (1.26) and,
unlike that previous version, seems to prevent it from working properly.

Here is our ldirectord.cf:

checktimeout=60
checkinterval=15
fallback=127.0.0.1

virtual=217.204.41.132:80
        scheduler=wlc
        real=192.168.2.32:80 masq 1024
        real=192.168.2.52:80 masq 1024
        real=192.168.2.62:80 masq 1024
        real=192.168.2.72:80 masq 1024
        service=http
        request="/cgi/NewsNow/Status/"
        receive="ldirectord-ok-string"
        protocol=tcp

Now observe the results on startup:

# /etc/init.d/ldirectord start
Starting ldirectord

# ipvsadm -Ln
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  217.204.41.132:80 wlc
  -> 192.168.2.62:80              Masq    1024   0          0
  -> 192.168.2.72:80              Masq    1024   0          0
  -> 192.168.2.52:80              Masq    1024   0          0
  -> 192.168.2.32:80              Masq    1024   0          0
  -> 127.0.0.1:80                 Local   1      0          0

As I hope you see, the failover server weight has not been switched to
zero, which appears to continue to allow some traffic to reach the
failover servers. I understand this is incorrect.

Please could you advise: is this a known bug, an unknown bug, or an error
in our configuration of ldirectord?

Kind regards,

Struan Bartlett

P.S. For your information, the situation is not the same after a reload:

# /etc/init.d/ldirectord reload

# ipvsadm -Ln
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  217.204.41.132:80 wlc
  -> 192.168.2.62:80              Masq    1024   0          0
  -> 192.168.2.72:80              Masq    1024   0          0
  -> 192.168.2.52:80              Masq    1024   0          0
  -> 192.168.2.32:80              Masq    1024   0          0

____________________________________
Struan Bartlett
NewsNow Publishing Limited
Tel: +44 (0)20 7471 0400
____________________________________
http://www.NewsNow.co.uk
Online Media Monitoring

Receive fast updating news about
your company, competitors, industry,
products, clients & prospects
____________________________________



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