###################################################### # This document was kindly contributed by Larry # Lansing (lansil @ fuzzynerd.com). For any questions # regarding this information, please contact him # directly. ###################################################### As promised, here are my loadbalancing configuration files. These are still works-in-progress--there are probably mistakes and omissions. I hope someone finds these useful. Notes: The apache server (I'll call it "www") relays connections to two tomcat servers called "jsp1" and "jsp2", using ajp13. www runs Apache2.0, with mod_jk. jsp1 and jsp2 run Tomcat 4.1.24. I have tried to simplify my configs by disabling unnecessary tomcat connectors, such as the standalone port 8080 HTTP connector. www configs ----------- httpd.conf must include these lines in appropriate places: *** LoadModule jk_module libexec/apache2/mod_jk.so Include /usr/local/etc/apache2/mod_jk.conf *** mod_jk.conf: *** JkWorkersFile /usr/local/etc/apache2/workers.properties JkLogFile logs/jk.log JkLogLevel warn JkMount /dspace/* loadbalancer JkMount /dspace-oai/* loadbalancer *** workers_properties: *** worker.list=loadbalancer worker.jsp1.port=8009 worker.jsp1.host=jsp1 worker.jsp1.type=ajp13 worker.jsp1.lbfactor=1 worker.jsp2.port=8009 worker.jsp2.host=jsp2 worker.jsp2.type=ajp13 worker.jsp2.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=jsp1, jsp2 *** jsp1 and jsp2 ------------- Tomcat's server.xml (still a bit "raw" until I figure out what each option does): *** ***