Apache Tomcat Load Balancing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux