HAProxy community

Haproxy cookie issue when server is down



I am running haproxy-1.3.26-1.el5 and using the cookie option so that the user will use the same proxy server for browsing. The problem is that if one of the proxy server goes down then the user still keeping the same server and is not able to browse. Although in the web console I can see that the server is showing as red. My thought was that althought I am using cookie but in case of server offline the server will get new server from Haproxy.
My config:
cookie SERVERID insert indirect nocache
server proxy01 cookie p1 check
server proxy02 cookie p2 check

Need some help in this.




Anyone suggest something?



I have figure it out. something wrong in my setup. Can you please delete this post.