httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangoi, Nehal (Gexpro, consultant)" <Nehal.San...@gexpro.com>
Subject [users@httpd] Apache Tomcat Load Balancing
Date Sun, 15 Jul 2007 16:22:25 GMT
Hi All
 
I am configuring the workers.properties file for loadbalancing some of
my applications in Tomcat. Below is my configuration.
 
workers.java_home=/usr/java
ps=/
worker.list=loadbalancer
## SSO CONNECTOR
worker.worker1.port=7103
worker.worker1.host=192.168.160.25
worker.worker1.type=ajp13
worker.worker1.lbfactor=1
worker.worker1.redirect=worker2
## SSO BALANCE CONNECTOR
worker.worker2.port=7103
worker.worker2.host=192.168.160.26
worker.worker2.type=ajp13
worker.worker2.lbfactor=1
worker.worker2.activation=d
## LOAD-BALANCE WORKER
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker1,worker2
 
And, in httpd.conf
 
JkMount /servlet/* loadbalancer
 
 
------------------------------------------------------------------
 
I have another application that also needs to be load balanced using
worker3 and worker4. Hence, how can I include the same in my existing
configuration of loadbalancer in worker.properties file?
 
 
 
Thanks
Nehal

Mime
View raw message