Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Newb alert | Handling status 503 from backend

$
0
0

I have 2 backend servers that are part of a VDI solution. They have an inbuilt method for maintenance (quiesce). The idea is that when I put them into quiesce mode they continue to serve existing clients but the load balancer stops sending new sessions to them. It looks HAProxy calls this MAINT.

When I put them into quiesce mode HAProxy reports them as L7STS/503 (Service unavailable) and existing sessions are disconnected.

I would prefer that HAProxy sees the 503 status and sets the backend server to MAINT.

I’ve done some searching and looked through the manual. It looks like “http-check expect” might be what I need?

This is configured for the backend:
option httpchk GET /favicon.ico HTTP/1.1

Any help greatly appreciated. Apologies in advance for the newbness!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>