LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Adding a strange realserver

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Adding a strange realserver
From: David Darras <david.darras@xxxxxxxxxxxxxx>
Date: Mon, 17 Jul 2006 13:58:30 +0200
Hello,

My lvs recently had a strange behavior. I have 3 realservers (with the same content) , and only 2 of them are loadbalanced. But my ipvs command displays the 3 realservers :

IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
 -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
FWM  1 wlc persistent 600
 -> 192.168.0.2:0              Route   1      0          0
 -> 192.168.0.3:0              Route   1      0          0
 -> 192.168.0.4:0              Route   2      0          0
FWM  2 wlc persistent 600
 -> 192.168.0.3:0              Route   1      0          0


The 192.168.0.2 doesn't appear in my configuration file. When i reload my director, 192.168.0.2 is deleted, but after a couple of hours, it's added again. Nothing about adding this realserver in the log.

Here is my config :

# Global Directives
checktimeout=5
checkinterval=10
#fallback=127.0.0.1:80
autoreload=no
logfile="/var/log/ldirectord.log"
quiescent=no

# for HTTP
virtual=1
       real=192.168.0.3:0 gate      1
       real=192.168.0.4:0 gate      2
       netmask=255.255.255.255
       service=http
       request="/root/hello.txt"
       receive="hello"
       scheduler=wlc
       persistent=600
       protocol=fwm
       checktype=negotiate

# for AOL proxys
virtual=2
       real=192.168.0.3:0 gate      1
       netmask=255.255.255.255
       service=http
       request="/root/hello.txt"
       receive="hello"
       scheduler=wlc
       persistent=600
       protocol=fwm
       checktype=negotiate

Any idea ?

Sincerely yours,
David

<Prev in Thread] Current Thread [Next in Thread>
  • Adding a strange realserver, David Darras <=