Peter Rossbach wrote:
Hello Mladen,

after a very long thinking I have missing a hot Standby feature, when we remove local_work flag.

How I can configure this without local_work flag?
I thing we can rename the flag to preferred_worker.


OK. Worker B used as hot standby:

worker.A.redirect=B
worker.B.disabled=True

worker.LB.sticky_session=True
worker.LB.balance_workers=A,B


If you wish to have a hot-standby tomcat cluster group, then use domains. For single workers use worker names.

So worker B is initially disabled.
Worker A has redirect of 'failover' to B.
Worker B will not receive any requests unless
worker A gets in error state or disabled.
If worker A gets disabled existing sessions will
be still served, new one will go to B.

Later you can use jkstatus, and switch their roles.

Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to