mod_jk configure failover

2005-05-02 Thread Glenn Nielsen
Now that local worker is gone from mod_jk how can you configure two app servers where you want one to be the primary and the second one to be used for automatic failover only if the primary is in an error state? I tried setting lbfactor=1 on the primary and lbfactor=0 on the failover worker but

Re: mod_jk configure failover

2005-05-02 Thread Mladen Turk
Glenn Nielsen wrote: Now that local worker is gone from mod_jk how can you configure two app servers where you want one to be the primary and the second one to be used for automatic failover only if the primary is in an error state? Use 'disabled' flag for standby worker with 'redirect' to that

Re: mod_jk configure failover

2005-05-02 Thread Peter Rossbach
Hey Glenn, a hot standby is very easy. You confgure your nodes inside a loadbalancer and then disabled some nodes. Very best is, you can configure this with the new lb status worker. Example: IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.so /IfModule JkWorkerProperty

Re: mod_jk configure failover

2005-05-02 Thread Glenn Nielsen
On Mon, May 02, 2005 at 06:17:50PM +0200, Mladen Turk wrote: Glenn Nielsen wrote: Now that local worker is gone from mod_jk how can you configure two app servers where you want one to be the primary and the second one to be used for automatic failover only if the primary is in an error state?

Re: mod_jk configure failover

2005-05-02 Thread Peter Rossbach
Hey Glenn, yes, disabled means, only that no new sessions send to a worker, but request with JSESSIONID send to the worker and stopped means, no more requests send to a worker. Peter Glenn Nielsen schrieb: On Mon, May 02, 2005 at 06:17:50PM +0200, Mladen Turk wrote: Glenn Nielsen wrote: