Hello,
i’m trying to configure 2 backends (citrix storefront) active-active with haproxy. Backends are in https. When i log in node1 and i disconnect the node for test the node2, haproxy not “save” the credentials and i have to log in again. Is it possible to save sessions and pass them to node2 when node1 fails? I have tested several configurations in both tcp mode and http mode
Examples:
http mode:
[…]
bind 0.0.0.0:443 ssl crt /etc/pki/tls/private/mycert.pem
[…]
backend mybackend
mode http
cookie SRVNAME insert
server node1 192.168.1.1:443 ssl check cookie app1
server node2 192.168.1.2:443 ssl check cookie app1
tcp mode:
[…]
mode tcp
bind 0.0.0.0:443
[…]
backend mybackend
mode tcp
server node1 192.168.1.1:443
server node2 192.168.1.2:443
thank you so much