LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] ldirectord and tomcat cluster

To: 'LinuxVirtualServer.org users mailing list.' <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] ldirectord and tomcat cluster
From: Mrvka Andreas <mrv@xxxxxx>
Date: Tue, 21 Dec 2010 16:34:20 +0100
Hello list,

I hope you can help all users who share this same problem:

I use a 2 cluster node running on each tomat with session replication
because I need load balancing (ldirector/ipvs) and on each node the same 
session information.

I configured tomcat like described here:
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html

It seems to work well if I do not use ldirectord for balancing.
(actually it checks port 80 [apache] )

virtual=10.10.11.139:80
        checktype=negotiate
        fallback=127.0.0.1:80
        protocol=tcp
        real=10.10.11.137:80 gate
        real=10.10.11.138:80 gate
        receive="Still alive"
        request="/test.html"
        scheduler=wlc
        service=http


But if I activate ldirectord for port 8080 (tomcat) then I get in my web 
applications
lots of "page can not be displayed" messages.

Can anybody explain me why this happens or show how to configure it correctly?

Thank you.

Best regards
Andreas Mrvka



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