thanks. 2009/5/27 Rainer Jung <rainer.j...@kippdata.de>
> On 26.05.2009 17:43, Alberto Jesus La Rosa Agramonte wrote: > > of course, the complet configuration is that... > > > > workers.tomcat_home=/var/lib/tomcat5.5 > > workers.java_home=/usr/lib/jvm/ > > Remove the above two, they are useless. > > > worker.list=balancer,jkstatus > > > > worker.c1.port=8009 > > worker.c1.host=10.7.12.2 > > worker.c1.type=ajp13 > > worker.c1.lbfactor=1 > > > > worker.c1.port=8009 > > worker.c1.host=10.7.12.3 > > worker.c1.type=ajp13 > > worker.c1.lbfactor=1 > > Use c2 instead of c1 in the above four. > > > worker.c1.port=8009 > > worker.c1.host=10.7.12.4 > > worker.c1.type=ajp13 > > worker.c1.lbfactor=1 > > Use c3 instead of c1 in the above four. > > > worker.balancer.type=lb > > worker.balancer.host=10.7.12.1 > > Remove the above one line, it doesn't make sense. > > > worker.balancer.balance_workers=c1,c2,c3 > > What did you think c2 and c3 were? > > > worker.balancer.method.B > > worker.balancer.sticky_session=True > > worker.jkstatus.type=status > > Also set jvmRoute in your server.xml to c1, c2 and c3 respectively. > > For the second Tomcat farm, add nodes like e.g. d1, d2 and d3, and a > second balancer, e.g. named "d" with balance_workers "d1, d2, d3". > > Finally add "d" to worker.list and use it in some JkMounts. > > Regards, > > Rainer > > > 2009/5/27 Rainer Jung <rainer.j...@kippdata.de> > > > >> That's not the full configuration. It can't work. > >> > >> On 26.05.2009 17:16, Alberto Jesus La Rosa Agramonte wrote: > >>> worker.c1.port=8009 > >>> worker.c1.host=10.7.12.2 > >>> worker.c1.type=ajp13 > >>> worker.c1.lbfactor=1 > >>> > >>> 2009/5/27 Rainer Jung <rainer.j...@kippdata.de> > >>> > >>>> How did you configure your first cluster? > >>>> > >>>> On 26.05.2009 16:30, Alberto Jesus La Rosa Agramonte wrote: > >>>>> Hello, I need to set more than two tomcat clusters. How I can > configure > >>>> that > >>>>> in the workers.properties file on apache load balancer? > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >