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

Turning Off Failover in HAProxy

$
0
0

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

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>