HAProxy community

HAProxy as pure HA (without load balancing feature)

Hello HAP Community,
I am new to HAProxy and my requirement is to provide High Availability for my Website. Due to session management and details we do not want to use load balancing features available from HAProxy.

Is this possible to disable the load balancing and simply use HighAvailability using the check functionality available from HAP? If so, please help me with the required setting.

Use the backup keyword in the server configuration.

Note that you can solve sessions management issues with stickiness, based on IP address, cookies, etc.

Hi Lukas Tribus
perfect. thank you for that setting. I got what i am looking for.
Thanks a bunch.
Cheers!

what i have now

backend http_back
balance roundrobin
server server1 192.31.29.79:80 check

server server2 192.31.18.196:80 check backup