tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Orhan Karasakal <orhankarasa...@gmail.com>
Subject Re: Mod_jk - loadbalancer
Date Mon, 03 Dec 2012 10:18:15 GMT
But firstly I want to send requests to loadbalancer and then according to
url, sending the other nodes.
I have a lot of nodes and I have to use loadbalancer for every request

On Mon, Dec 3, 2012 at 12:02 PM, André Warnier <aw@ice-sa.com> wrote:

> Orhan Karasakal wrote:
>
>> Hi,
>>
>> I use mod_jk loadbalancing. (JkMount /WebApp/* loadbalancer )
>> I want to use only one loadbalancer. Can I set specific url after
>> balancing
>> ?
>>
>> For example, firstly every request will go to loadbalancer.
>> Then if request is  /WebApp/A*.com, it will go to node1. If request
>> /WebApp/B*.com, it will go to node2
>>
>> worker.loadbalancer.balance_**workers=node1,node2.
>>
>>  I may not understand correctly what you really want, but from your
> explanation above, it does not look like "load balancing".  What you seem
> to want is to forward some requests to one Tomcat back-end (worker1), and
> some others to another Tomcat back-end (worker2).
>
> If that is the case, you should do this :
>
> JkMount /Webapp/URL-1/* worker1
> JkMount /Webapp/URL-2/* worker2
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message