mod_jk 2 apache servers??
am 25.01.2008 00:41:21 von trpostHere is how my environment is currently setup:
Apache Server #1 ------ TomCat Server #1
/
CSS --
\
Apache Server #2 -------- TomCat Server #2
This works fine for static information, but my TomCat app now has
information pinned to a session and if the request stays on one Apache
Server it works fine, but if it gets round robined, and sent to the
other apache server, I loose the session information.
So I am trying to setup an environment like this where the TomCat
Servers can be round-robined and maintain session information.
I then have 2 application servers running a TomCat application that I
would like to work as a cluster
Apache Server #1 __ TomCat Server #1
/ \ /
CSS -- X
\ /__\
Apache Server #2 TomCat Server #2
My question is can mod_jk handle this, or what is the best way to put
my 2 TomCat servers into a cluster that will be served up by either
one of my apache servers, in a round-robin fashon.