Apparently the load balancer doesn't use an exact round robin scheme. I'm seeing 6 requests to TC1, then 6 to TC2, and then back.
Not that I mind... just it's been hard to tell if it's working!
I recommend using lynx to hit a page that prints out something to stdout... then tail both logs and go nuts with lynx
lynx www.myserver.com
ctrl-c
<up arrow>
<enter>
ctrl-c ....
and watch the logs.
Nick
On Tuesday, November 19, 2002, at 02:55 PM, Nick Wesselman wrote:
I think I fixed my problem. The host name in server.xml apparently needs to be the same as it is listed in the workers.properties.
Nick
On Tuesday, November 19, 2002, at 12:00 PM, Nick Wesselman wrote:
I'm having trouble with load balancing the above combination. I can get failover to work but no load balancing. This happens w/ both Coyote and Ajp13 connectors. I have my jvmRoute's set correctly.
worker.flek2_flek.port=8015
worker.flek2_flek.host=flek2.flekbikes.com
worker.flek2_flek.type=ajp13
worker.flek2_flek.lbfactor=1
worker.flek1_flek.port=8009
worker.flek1_flek.host=ulysses.digivis.com
worker.flek1_flek.type=ajp13
worker.flek1_flek.lbfactor=1
worker.flek.type=lb
worker.flek.balanced_workers=flek2_flek, flek1_flek
Any ideas? I had this same problem when I tried using mod_jk2.
Thanks,
Nick
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>