I’m using cookie + IP-based sticky sessions.
When a user accesses the backend with an assigned cookie, we want to display a 503 error instead of failing over if the corresponding backend server is down.
Currently, we retrieve the cookie and apply filtering using an ACL. However, in the HAProxy logs, we see:
“https_front~” “servers1” “apache01” 0 0 1 1 2 --DN 2 1 0 0 0 0 0
The D flag is recorded, indicating that failover is still occurring.
How can we prevent failover in this case? Any help would be appreciated!
Best regards
5 posts - 2 participants