httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne W <>
Subject [users@httpd] Tomcat balanced to instance before its ready - any API to control when its re-balanced?
Date Thu, 23 Mar 2017 15:28:15 GMT

I have apache 2.4 setup in a 2 node balancer configuration:

ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=Off
<Proxy balancer://cluster/>
       Order allow,deny
       Allow from all
       BalancerMember ajp:// route=g1
       BalancerMember ajp:// route=g2

When I bring one of the tomcats down traffic is balanced correctly to the
other instance. However when starting up the tomcat instance again, I'm
observing Apache routing traffic to the tomcat instance thats starting up
too early and the browser sits there whirling away until the web app is
fully deployed.

I'm aware of the balancer-manager, but is there away I can script apache
when the node is balanced to again? There doesn't seem to be an API or way,
other than using the balancer-manager interface manually.

Many thanks

View raw message