If one has lots of memory and CPU, they could run multiple (20 x 1Gb VM)
Tomcat instances on a single host and cluster them behind a load
balancer. Each Tomcat requires a few ports allocated to it through the
server.xml file, but they can be set via environment variables so can be
started as follows:

export -Dtomcat.http=8080 -Dtomcat.manager=8081; tomcat/bin/startup.sh &

export -Dtomcat.http=8090 -Dtomcat.manager=8091; tomcat/bin/startup.sh &

etc

However, this raises a point that is worth discussing. Mid Tier does
not, the last time I checked, distribute sessions - ie the sticky flag
has to be set. The problem with this approach is when a Tomcat dies
(because Mid Tier has died), the traffic for that user can not be
diverted to another one.

Session replicate is easy: Ensure everything that goes into the session
is serializable. We recently performed the same surgery to SSO Plugin so
it would replicate sessions for non-BMC platforms.


John
-- 
SSO Plugin for the BMC platform
http://www.javasystemsolutions.com

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to