Hi After reading your post on the LVS list I guess the problem is the keepalive in the HTTP Protocol. If you pull the plug on realserver1 and HTTP is doing keepalive, the client tries to get the new request on the same TCP connection which is not working anymore. (You can't failover open tcp connections from one realserver to another) To prevent that you need to disable keepalive on the server side. On the Tomcat http connector this can be done by setting maxKeepAliveRequests=1 [1]. On Apache httpd this would be "MaxKeepAliveRequest 1". [2]
This can have performance/latency impacts, so you have can trade performance against fast failover. regards Romeo Benzoni [1] http://tomcat.apache.org/tomcat-5.5-doc/config/http.html [2] http://httpd.apache.org/docs/2.0/mod/core.html#maxkeepaliverequests On Wed, 2006-06-28 at 12:05 +1000, Jason Downing wrote: > I have a problem with a tomcat cluster and a Linux Virtual Server based load > balancer. I beleive the problem is with my load balancer, but I'm not > completely sure. > > Does anyone know if there is any interaction between tomcat and IPVS in LVS? > > Here is a link to the full details of my problem if it helps: > > http://marc.theaimsgroup.com/?l=linux-virtual-server&m=115145828021663&w=2 > > Thanks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]