Re: JK load balancer question
How can I update things programmatically using Tomcat 5.0? Kartheek - did you get this working? cheers, David |-+ | | Peter Rossbach | | | [EMAIL PROTECTED]| | | | | || | | 05/03/2005 03:10 | | | AM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ ---| | | | To: Tomcat Users List tomcat-user@jakarta.apache.org | | cc: | | Subject: Re: JK load balancer question | ---| Hey, yes, you can configure the new status worker (= jk 1.2.10) and used the new ant JkStatusUpdateTask (Tomcat 5.5.9) for active configuration. But the disabled flag don't stopp the complete traffic. Only stop that no new session create requests to the disabled worker. But I have implement a stopped flag at jk 1.2.11 that really stopp the complete traffic (Ant Task also avialable at 5.5.10 cvs head). This mode is very helpful at the Cluster szenario. I hope you use the Tomcat 5.5.9 with my cluster patches! http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 Peter Hirode, Kartheek V. schrieb: Hello all We are planning on using a cluster of Tomcat instances behind an Apache server, load balanced with the JK connector. Everything is pretty standard except: (a) we'd like to turn OFF and ON the traffic coming into the Tomcat instances based on certain conditions. Plus we'd like to turn ON and OFF *programmatically*, i.e. the Tomcat instance notifies the Apache (JK) to START and STOP sending traffic as conditions change (b) To reiterate again, the key thing is that we'd like to notify *programmatically* from the Tomcat to the Apache JK. We've looked at the JK connector docs http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The attribute called disabled seems to do exactly that, but it is set in the workers.properties file and is read during startup of the Apache. Is there a way to modify this attribute during runtime, with an API-like access? Thank you and best regards -- Kartheek Hirode HP.com Hub Services Tel: 208.396.9031 Fax: 208.396.7770 http://hpcom.corp.hp.com/hpps/programs/hub/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK load balancer question
Hey, yes, you can configure the new status worker (= jk 1.2.10) and used the new ant JkStatusUpdateTask (Tomcat 5.5.9) for active configuration. But the disabled flag don't stopp the complete traffic. Only stop that no new session create requests to the disabled worker. But I have implement a stopped flag at jk 1.2.11 that really stopp the complete traffic (Ant Task also avialable at 5.5.10 cvs head). This mode is very helpful at the Cluster szenario. I hope you use the Tomcat 5.5.9 with my cluster patches! http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 Peter Hirode, Kartheek V. schrieb: Hello all We are planning on using a cluster of Tomcat instances behind an Apache server, load balanced with the JK connector. Everything is pretty standard except: (a) we'd like to turn OFF and ON the traffic coming into the Tomcat instances based on certain conditions. Plus we'd like to turn ON and OFF *programmatically*, i.e. the Tomcat instance notifies the Apache (JK) to START and STOP sending traffic as conditions change (b) To reiterate again, the key thing is that we'd like to notify *programmatically* from the Tomcat to the Apache JK. We've looked at the JK connector docs http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The attribute called disabled seems to do exactly that, but it is set in the workers.properties file and is read during startup of the Apache. Is there a way to modify this attribute during runtime, with an API-like access? Thank you and best regards -- Kartheek Hirode HP.com Hub Services Tel: 208.396.9031 Fax: 208.396.7770 http://hpcom.corp.hp.com/hpps/programs/hub/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JK load balancer question
Hello all We are planning on using a cluster of Tomcat instances behind an Apache server, load balanced with the JK connector. Everything is pretty standard except: (a) we'd like to turn OFF and ON the traffic coming into the Tomcat instances based on certain conditions. Plus we'd like to turn ON and OFF *programmatically*, i.e. the Tomcat instance notifies the Apache (JK) to START and STOP sending traffic as conditions change (b) To reiterate again, the key thing is that we'd like to notify *programmatically* from the Tomcat to the Apache JK. We've looked at the JK connector docs http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The attribute called disabled seems to do exactly that, but it is set in the workers.properties file and is read during startup of the Apache. Is there a way to modify this attribute during runtime, with an API-like access? Thank you and best regards -- Kartheek Hirode HP.com Hub Services Tel: 208.396.9031 Fax: 208.396.7770 http://hpcom.corp.hp.com/hpps/programs/hub/