RE: an question about jk2 lbfactor
Sorry You are quite right, more eloquently explained here: http://marc.theaimsgroup.com/?l=tomcat-user&m=106862366704663&w=2 Greg > -Original Message- > From: Aadi Deshpande [mailto:[EMAIL PROTECTED] > Sent: 31 March 2004 15:54 > To: Tomcat Users List > Subject: Re: an question about jk2 lbfactor > > > Hi, > > I don't think that is correct. From the mod_jk documentation : > > "Using the worker's load-balancing factor, perform weighed-round-robin > load balancing where high lbfactor means stronger machine > (that is going > to handle more requests)" > > I would assume that mod_jk2 retains the same semantics as mod_jk. > > > If all the requests are going to a single machine, i would > check to make > sure that your tomcatId in your workers2.properties matches > the jvmRoute > of the engine that you're trying to connect to. > > hth, > -a > > [EMAIL PROTECTED] wrote: > > >Yes. > > > >Lower LB factor means more requests go to that server. > > > >Greg > > > > > > > >>-Original Message- > >>From: moch [mailto:[EMAIL PROTECTED] > >>Sent: 31 March 2004 10:31 > >>To: tomcat-user > >>Subject: an question about jk2 lbfactor > >> > >> > >>hi all, > >> > >>what's the jk2's properties value "lbfactor " really mean? > >> > >>I have set up a cluster by apache + jk2 + tomcat5, it has > >>2 node, I want tomcat1 to process all request and tomcat2 > >>just as an backup. so I > >>set tomcat1's lbfactor=100 and tomcat2's lbfactor=0, but almost all > >>request go to tomcat2. > >> > >>Had I set lb_factor wrong? > >> > >>Thanks for any help. > >> > >> > >> > >> > - > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: an question about jk2 lbfactor
Hi, I don't think that is correct. From the mod_jk documentation : "Using the worker's load-balancing factor, perform weighed-round-robin load balancing where high lbfactor means stronger machine (that is going to handle more requests)" I would assume that mod_jk2 retains the same semantics as mod_jk. If all the requests are going to a single machine, i would check to make sure that your tomcatId in your workers2.properties matches the jvmRoute of the engine that you're trying to connect to. hth, -a [EMAIL PROTECTED] wrote: >Yes. > >Lower LB factor means more requests go to that server. > >Greg > > > >>-Original Message- >>From: moch [mailto:[EMAIL PROTECTED] >>Sent: 31 March 2004 10:31 >>To: tomcat-user >>Subject: an question about jk2 lbfactor >> >> >>hi all, >> >>what's the jk2's properties value "lbfactor " really mean? >> >>I have set up a cluster by apache + jk2 + tomcat5, it has >>2 node, I want tomcat1 to process all request and tomcat2 >>just as an backup. so I >>set tomcat1's lbfactor=100 and tomcat2's lbfactor=0, but almost all >>request go to tomcat2. >> >>Had I set lb_factor wrong? >> >>Thanks for any help. >> >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: an question about jk2 lbfactor
Yes. Lower LB factor means more requests go to that server. Greg > -Original Message- > From: moch [mailto:[EMAIL PROTECTED] > Sent: 31 March 2004 10:31 > To: tomcat-user > Subject: an question about jk2 lbfactor > > > hi all, > > what's the jk2's properties value "lbfactor " really mean? > > I have set up a cluster by apache + jk2 + tomcat5, it has > 2 node, I want tomcat1 to process all request and tomcat2 > just as an backup. so I > set tomcat1's lbfactor=100 and tomcat2's lbfactor=0, but almost all > request go to tomcat2. > > Had I set lb_factor wrong? > > Thanks for any help. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
an question about jk2 lbfactor
hi all, what's the jk2's properties value "lbfactor " really mean? I have set up a cluster by apache + jk2 + tomcat5, it has 2 node, I want tomcat1 to process all request and tomcat2 just as an backup. so I set tomcat1's lbfactor=100 and tomcat2's lbfactor=0, but almost all request go to tomcat2. Had I set lb_factor wrong? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]