This is the 2nd load balancing question I've asked of the group in the last 
week, and I haven't received a single response. I've looked on the web & in 
the archives, but can't find an answer. 

Is anyone actually using the load balancing in 3.3a? I'm sure that there are 
some. My company would like to use Tomcat for a lot of future work, but I've 
got to get the load balancing working before we can commit to it 100%. If 
someone has some insight into the problem I describe below, please let me 
know. Maybe it's as simple as I'm testing incorrectly, but if that's the 
case, someone please point me in the right direction.

Thanks
--Michael

On Monday 04 March 2002 12:16, you wrote:
> 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