Due to some differences in our applications, some of them can be truly
load balanced, and some of them really cannot (yet). That is, some of
our applications can be (and have been) truly load balanced, and others
need (and only allow) simple failover support ("hot standby"). I noticed
that workers now support both possibilities (using "disabled" and
"redirect" flags to support "hot standby").
What I'd like to do ultimately is have a "hot standby" load balancer and
as well as a "normal" load balancer, but it doesn't seem like that's
possible. From what I understand, you can really only have 1 load
balanced worker per tomcat instance because it must match the jvmRoute
of that instance -- having one worker that's disabled and one that's not
doesn't seem possible.
So if I define a load balance worker as:
# traditional load balance worker
worker.lb_tala_build.type=ajp13
worker.lb_tala_build.host=tala
worker.lb_tala_build.port=8000
worker.lb_tala_build.lbfactor=1
worker.lb_tala_build.socket_keepalive=1
worker.lb_tala_build.recycle_timeout=300
I cannot really define a second load balanced worker like below (b/c no
matching jvmRoute)
# a hot standby worker based on the worker above
worker.lb_tala_build2.type=ajp13
worker.lb_tala_build2.host=tala
worker.lb_tala_build2.port=8000
worker.lb_tala_build2.lbfactor=1
worker.lb_tala_build2.socket_keepalive=1
worker.lb_tala_build2.recycle_timeout=300
worker.lb_tala_build2.disabled=True
Is anyone familiar with this setup of have any ideas how it could be
achieved? (the same problem exists for what would be the "Primary"
server, as it would need a worker that redirects and one that doesn't)
Ps -
Being able to specify the jvmRoute separately would solve this problem:
worker.lb_tala_build2.jvmRoute=lb_tala_build
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]