The way we've done it has been to add a maintenance server to all of our 
backends, then use the admin socket to iteratively disable all "real" servers 
for our backends. The maintenance server points all requests to your temporary 
page.

Something like:

 server  maintenance 10.0.5.10:80 backup check inter 15000 rise 2 fall 5

The important part is the "backup" attribute, so that no requests hit that 
instance unless all other servers are unavailable.

Thanks,
Jeff

________________________________________
From: Matt . <[email protected]>
Sent: Sunday, January 24, 2016 11:15 AM
To: HAProxy
Subject: Temporary Maintenance frontend for all port 80/443 ?

Hi,

I wondered if it's possible, I seen some examples but was not sure
yet, to let HA proxy running as you do but place a frontend that
listens on 0.0.0.0 and port 80 and 443 and redirect all requests to a
temporary page ?

Maybe even a local page on HAproxy ?

As I'm on pfsense I need to disable all frontends, and that are quite some.

Suggestions are welcome!

Thanks,

Matt

Reply via email to