I would like to set up two haproxy’s nodes in master-master configuration. And to achieve that I would have to keep synchronizing their backends (servers status, number of connections, and so on).
I know it can be achieved using peers and stick-table, but I’m not able to find any solution suitable to me.
I’m kind of newby. Any advice or suggestion will be welcomed.
Here are my proxies conifgurations:
listen stats bind 0.0.0.0:9990 mode http stats enable listen lorehaven bind 0.0.0.0:8098 mode tcp balance leastconn option tcplog option redispatch timeout check 3s timeout client 11m timeout connect 600 timeout queue 5m timeout server 11m <a lot of servers>