httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangoi, Nehal (Gexpro, consultant)" <Nehal.San...@gexpro.com>
Subject RE: [users@httpd] Apache Tomcat Load Balancing
Date Mon, 16 Jul 2007 15:10:00 GMT
Yes ... I have done the same but I have to test it yet .... I will post
again for its working/non-working status.

Thanks 
Nehal
-----Original Message-----
From: Sander Temme [mailto:sctemme@apache.org] 
Sent: Monday, July 16, 2007 10:58 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Tomcat Load Balancing

Nehal,

On Jul 15, 2007, at 9:22 AM, Sangoi, Nehal (Gexpro, consultant) wrote:

<..>

> worker.loadbalancer.balanced_workers=worker1,worker2
>
> And, in httpd.conf
>
> JkMount /servlet/* loadbalancer
>

> I have another application that also needs to be load balanced using 
> worker3 and worker4. Hence, how can I include the same in my existing 
> configuration of loadbalancer in worker.properties file?

Can't you just define worker3 and worker4, and then define a new
balancer?

worker.worker3.port=...
...
worker.worker4.port=...
...
worker.balancer2.type=lb
worker.balancer2.balanced_workers=worker3,worker4

and

JKMount /servlet2/* balancer2

Not tested, but that's how I'd approach this.

S.

--
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message