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