Re: Apache Tomcat Load Balancing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux