tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans-erik.skyttb...@boxer.se
Subject Loadbalancing HOWTO need explanation!
Date Tue, 19 Sep 2000 06:43:24 GMT

Hi!

The workers.properties files is pointed out to mod_jk, but how does mod_jk
use this file ?

If I configure my workers as following:
workers.tomcat_home=/opt/app/tomcat

workers.java_home=/usr/java

ps=/

worker.list=ajp12

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

#I don't want this to be load balanced
#worker.ajp12.lbfactor=1

worker.ajp131.port=8009
worker.ajp131.host=localhost
worker.ajp131.type=ajp13
worker.ajp131.lbfactor=1

worker.ajp132.port=8008
worker.ajp132.host=localhost
worker.ajp132.type=ajp13
worker.ajp132.lbfactor=1

#If this loadbalancer isn't running on a specific host or port ?
#How can I use this loadbalancer from another physical machine ?
#Is the loadbalancing done by the apache module ?
#If so how will this work with multiple apache and session handling ?
#How should the AjpServMount look with this setup using mod_jk ?

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp131, ajp132

worker.inprocess.type=jni

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)xml.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib
$(ps)webserver.jar
worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar
worker.inprocess.cmd_line=-config
worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
worker.inprocess.cmd_line=-home
worker.inprocess.cmd_line=$(workers.tomcat_home)
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)sparc
$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)


/Hans - Erik Skyttberg
Boxer TV Access AB
hans-erik.skyttberg@boxer.se
+46 (0)8 587 899 64
+46 (0)708 20 32 53


Mime
View raw message