You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Apu Shah <ap...@esaya.com> on 2004/02/11 23:11:01 UTC

worker.list, worker.x.lb

according to the docs
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.ht
ml):

balanced_workers  is a comma separated list of workers that the load
balancer need to manage. These workers should not appear in the
worker.list property.

most other documents on the web describing configuration of load
balancing do not adhere to this. even i have been under the impression
that i should be doing something like this:

worker.list=app1,app2,applb

worker.app1.port=7009
worker.app1.host=192.168.0.140
worker.app1.type=ajp13
worker.app1.lbfactor=5

worker.app2.port=7009
worker.app2.host=192.168.0.141
worker.app2.type=ajp13
worker.app2.lbfactor=5

worker.applb.type=lb
worker.applb.balanced_workers=app1,app2

i just need re-assurance that the above configuration is incorrect
(wonder how it behaves.. anyone know?) and the configuration below is
correct:

worker.list=applb # don't list workers here!

worker.app1.port=7009
worker.app1.host=192.168.0.140
worker.app1.type=ajp13
worker.app1.lbfactor=5

worker.app2.port=7009
worker.app2.host=192.168.0.141
worker.app2.type=ajp13
worker.app2.lbfactor=5

worker.applb.type=lb
worker.applb.balanced_workers=app1,app2

thanks. sorry for the trouble.......

apu

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org