LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] ldirectord, persistence handling and connections still hitti

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] ldirectord, persistence handling and connections still hitting "crashed" realservers
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Tue, 04 May 2010 21:55:56 +0200
Suppose you have the following ldirectord setup:

virtual = 1.2.3.4:80
      protocol = tcp
      scheduler = lc
      persistent = 1200
      real = 10.1.1.1:80 masq 1
      real = 10.1.1.2:80 masq 1
      request = "/.testpage"
      receive = "test page"


You connect as a client from the internet, LVS pointed you to 
10.1.1.2:80 realserver.

After a while, 10.1.1.2:80 crashed, ldirectord "quiescents" this real 
server, but connections from your client in the internet still try to 
hit the crashed server for about 20 minutes.


Is there a workaround for that? I.e. if the realserver is gone, the 
connections for that client should start hitting the other realserver, 
even with persistence enabled.


-- 
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
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>