Been working with the loadbalancing in 3.3a, and I've *almost* got it. The 
last hurdle seems to be splitting the requests between 2 different computers.

In my workers.properties file, I've got two workers set up, one of which is 
going to localhost (local) and the other (remote) to a remote machine. For 
localhost, I set 

worker.local.lbfactor=100

and the remote machine I set as 

worker.remote.lbfactor=1

And I set the load balancing worker as follows:

worker.loadbalancer.balanced_workers=remote, local

The problem is that when I bring up multiple browsers, every single one is 
sent to the remote machine (the default page on each machine is different). 
If I switch the order from 

remote, local 

to 

local, remote

every request is sent to the local machine, and none reach the remote. When I 
changed the order in the balanced_workers line, I also switched the lbfactors 
so that the remote machine should get the majority of requests, but it 
doesn't get any. 

I'm running Tomcat 3.3a on SuSE 7.2 as my localhost and Tomcat 3.3a on 
Windows 2000 as my remote. Running Apache 1.3.22 on my linux box to funnel 
the http requests to the tomcat load balancing worker. The mod_Jk module is 
mod_jk-3.3-ap13-noeapi.so.

Any suggestions?

Thanks
--Michael

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to