Hi JOHN PEIRCE. JOHN PEIRCE have written on Thu, 4 May 2017 15:44:21 -0400:
> Hi, > > I am configuring a third party application and am trying to use > HAProxy to server as a single point of access to my server pool. > > Users connect to the web server which in turn is configured to talk > to a single dedicated app server. > > What I would like is for HAProxy to check the app servers, and only > if they are up/listening, to then allow the connection to the web > server. > > So for an example, if app2 goes down, I want HAProxy to remove > app2/web2 from the pool. > > Is this possible? Yes. Please take a look into the manual where your question is answered. http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#5.2-check http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#option%20httpchk and haproxy.com have a really good doc for this topic. https://www.haproxy.com/doc/aloha/7.0/haproxy/healthchecks.html you can also specify a backup server that the customer can be redirected to a maintainence site. http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#5.2-backup > Thanks, > -j Best regards Aleks

