LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ldirectord and tomcat cluster

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ldirectord and tomcat cluster
From: <Darren.Mansell@xxxxxxxxxxxx>
Date: Tue, 21 Dec 2010 15:51:34 -0000
Hello Andreas.

I don't do session replication with Tomcat, I found it not to work very
well. Instead I just set anything you need sessions on to be source hash
scheduler.

Darren

-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mrvka
Andreas
Sent: 21 December 2010 15:34
To: 'LinuxVirtualServer.org users mailing list.'
Subject: [lvs-users] ldirectord and tomcat cluster

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

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