we want to setup a Active/Passive HAProxy load balancer with sticky sessions enabled. My question is how these sessions can be replicated between both HAProxy Servers, so if one fails, the other one knows which user belongs to which backend. We have a floating IP via VRRP on both servers.
Is it right to use the peers feature (http://www.haproxy.org/download/1.5/doc/configuration.txt)? If yes, does someone has a config example? I did not find more information.