LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] ldirectord: failed check doesn't remove a machine from the p

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] ldirectord: failed check doesn't remove a machine from the pool
From: Daniel Lemay <daniel.lemay@xxxxxxxx>
Date: Mon, 25 May 2009 16:19:46 +0000
Hi,

Here is a part of my config:

virtual=x.x.x.x:7777
    real=192.168.58.55:7777 masq
    real=192.168.58.56:7777 masq
    scheduler=rr
    protocol=tcp
    service=http
    checkport=7778
    request="/cmctest.html"
    receive="OK"
    checktype=negotiate
    #virtualhost="xxxxxx:7778"

Here is an output of ngrep (run on the lb):

####
T 192.168.58.2:55013 -> 192.168.58.55:7778 [AP]
  GET /cmctest.html HTTP/1.1..Connection: close..Host: 
192.168.58.55..User-Agent: libwww-perl/5.805....
##
T 192.168.58.55:7778 -> 192.168.58.2:55013 [AP]
  HTTP/1.1 200 OK..Date: Mon, 25 May 2009 16:05:26 GMT..Server: 
Oracle-Application-Server-10g/10.1.2.2.0 
Oracle-HTTP-Server..Last-Modified: Mon, 25 May 2
  009 16:05:17 GMT..ETag: "110002-3-4a1ac1bd"..Accept-Ranges: 
bytes..Content-Length: 3..Connection: close..Content-Type: 
text/html....*OK*.
########


T 192.168.58.2:60760 -> 192.168.58.56:7778 [AP]
  GET /cmctest.html HTTP/1.1..Connection: close..Host: 
192.168.58.56..User-Agent: libwww-perl/5.805....
##
T 192.168.58.56:7778 -> 192.168.58.2:60760 [AP]
  HTTP/1.1 200 OK..Date: Mon, 25 May 2009 16:06:14 GMT..Server: 
Oracle-Application-Server-10g/10.1.2.2.0 
Oracle-HTTP-Server..Last-Modified: Mon, 25 May 2
  009 15:59:51 GMT..ETag: "76d61-7-4a1ac077"..Accept-Ranges: 
bytes..Content-Length: 7..Connection: close..Content-Type: 
text/html....*BROKEN*.
########


Thus  192.168.58.56 should have weight set to 0 (BROKEN != OK), but it 
is not!!

Output from ipvsadm:

TCP  x.x.x.x:7777 rr
  -> 192.168.58.55:7777   Masq    1      0          0
  -> 192.168.58.56:7777   Masq    1      0          0

Any idea?

Thanks

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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