New answers tagged

1 vote

only allow traffic from one FQDN

I finally got it working. I had to add the IP of my HAProxy as an allowed IP, I also consolidated the nginx config. server { listen 80; charset utf-8; server_name test.mydomain.com; ...
user2236794's user avatar
0 votes

HAPROXY: How to ensure all clients are connected to one server only?

You can set a server into the "DRAIN" state, which refuses to take new connections. If you don't have any persistent/sticky rules, all connections should drain from the server fast. You can ...
M.Winkens's user avatar
1 vote

HAProxy -- pause/queue all traffic without losing requests

I couldn't manage to use haproxy's approach using set maxconn frontend myfrontend 0 followed by set maxconn frontend myfrontend 1000 because my haproxy crashed when I perform the second command to ...
Svilen Ivanov's user avatar
0 votes

haproxy - Correct way of queuing + draining requests

I couldn't manage to use haproxy's approach using set maxconn frontend myfrontend 0 followed by set maxconn frontend myfrontend 1000 because my haproxy crashed when I perform the second command to ...
Svilen Ivanov's user avatar
0 votes
Accepted

Munin haproxy plugin is not getting data even though munin-run show data and other plugins work fine

I found the culprit in /var/log/messages Some calls were denied by SELinux. After adding the suggested rule below, everything works as expected. Log extract : server setroubleshoot[681531]: SELinux is ...
Michel's user avatar
  • 132
0 votes

Mariadb active passive failover doesn't work with HAProxy

Maybe not the best solution but this did the job for now, adding weight and check port. server server1-DB1 1.1.1.1:13306 weight 1 check port 13306 server server2-2002-DB2 1.1.1.2:13306 weight 100 ...
Badb0y's user avatar
  • 115
0 votes

Programmatically (SH Script) check which server is traffic routed/up too by HA Proxy

I recently resumed work on this after a break and successfully completed it. Haproxy File Configuration To achieve this, we first need to enable the stats socket level logs in haproxy by specifying ...
MoonLight's user avatar
  • 111

Top 50 recent answers are included