It would appear from this post:

http://apache-http-server.18135.x6.nabble.com/Help-regarding-mod-proxy-balancer-failover-and-failonstatus-td4998183.html

that failover (with no error message) will only occur when a connection to
the instance cannot be made. I suppose as the instance was shutting down it
returned/cut the current connection the proxy and hence the internal server
error message.



On Wed, Apr 20, 2016 at 3:17 PM, Wayne W <waynemailingli...@gmail.com>
wrote:

> I did see the ping parameter for the Balancemember element could be used
> to test the connection - should we be using this? I'm worried about more
> load on the tomcat instances though using this.
>
> On Wed, Apr 20, 2016 at 3:07 PM, Wayne W <waynemailingli...@gmail.com>
> wrote:
>
>> Hi Jim,
>>
>> I did't know that - is there any documentation around this? what should I
>> search for?
>>
>> So are you saying what I'm experiencing is normal?
>>
>> On Wed, Apr 20, 2016 at 2:05 PM, Jim Jagielski <j...@jagunet.com> wrote:
>>
>>> Upgrading to 2.4.20 allow you to disable the one node dynamically
>>> on the httpd side and then bring down the node.
>>> > On Apr 20, 2016, at 8:10 AM, Wayne W <waynemailingli...@gmail.com>
>>> wrote:
>>> >
>>> > Hi,
>>> >
>>> > I'm seeing that with Apache 2.4.12 on Solaris when setup with
>>> mod_proxy to 2 tomcat instances when we bring down 1 node for maintenance
>>> the first client to try and access that node gets a Internal Server Error.
>>> Any requests after that (and for other sessions) are balanced correctly
>>> onto the other node.
>>> >
>>> > Is this normal?
>>> > Is there a way for it to just balance over to the other node without
>>> returning the error?
>>> >
>>> > My conf:
>>> > <VirtualHost *:80>
>>> >  ServerName
>>> > somedomain.com
>>> >
>>> >  ProxyPass /share
>>> > http://127.0.0.1:8181/share
>>> >
>>> >
>>> >  ProxyPass / balancer://cluster/ stickysession=JSESSIONID
>>> nofailover=Off
>>> >
>>> >  # define the balancer, with http and/or ajp connections
>>> >  <Proxy balancer://cluster/>
>>> >       Order allow,deny
>>> >       Allow from all
>>> >       BalancerMember ajp://
>>> > 127.0.0.1:8010
>>> >  route=g1
>>> >       BalancerMember ajp://
>>> > 127.0.0.1:8011
>>> >  route=g2
>>> >  </Proxy>
>>> > </VirtualHost>
>>> >
>>> >
>>> > I see in the apache logs the following:
>>> >
>>> > Wed Apr 20 11:04:11.739700 2016] [proxy_ajp:error] [pid 58313] [client
>>> 10.12.32.251:56869] AH00992: ajp_read_header: ajp_ilink_receive failed,
>>> referer: https://example.com
>>> > [Wed Apr 20 11:04:11.739713 2016] [proxy_ajp:error] [pid 58313]
>>> (120006)APR does not understand this error code: [client
>>> 10.12.32.251:56869] AH00878: read response failed from 127.0.0.1:8010
>>> (127.0.0.1), referer: http://example.com
>>> > [
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>>
>

Reply via email to