Hello,
I am in the middle of a project where I have to setup a couple of load balancers to allow load balancing traffic to some web app servers and to provide an easy way to swap out some other resources. I have spent a lot of time researching options and I settled on HAProxy with Keepalived to make it fault tolerant.
I have read through the HAProxy configuration options page as best I could and I have the basic setup of HAProxy for a web server. I also setup the stats option on the server. Do you have any tips or resources on what best practices are for the haproxy.cfg file? Most options I find are basic with the front and back end setup, the binding IP, the server list, and the method used for load balancing. Is there anything else I should add to that basic configuration? Is there an easy way to tell what the connection counts should be? Any info would be greatly appreciated.
Thanks for your time.
Regards
[signatureSeal]Gregg Cranshaw
Senior Network Engineer
RI Department of State | Secretary of State Nellie M. Gorbea
Email: g<mailto:cvillandry@sos.ri.gov>cranshaw@sos.ri.gov | Website: www.sos.ri.gov | Twitter: @RISecStatehttps://twitter.com/RISecState
148 W. River Street, Providence RI 02904 | 401-222-1326
Our Mission: The Rhode Island Department of State engages and empowers all Rhode Islanders by making government more accessible and transparent, encouraging civic pride, enhancing commerce and ensuring that elections are fair, fast and accurate.
I am in the middle of a project where I have to setup a couple of load balancers to allow load balancing traffic to some web app servers and to provide an easy way to swap out some other resources. I have spent a lot of time researching options and I settled on HAProxy with Keepalived to make it fault tolerant.
I have read through the HAProxy configuration options page as best I could and I have the basic setup of HAProxy for a web server. I also setup the stats option on the server. Do you have any tips or resources on what best practices are for the haproxy.cfg file? Most options I find are basic with the front and back end setup, the binding IP, the server list, and the method used for load balancing. Is there anything else I should add to that basic configuration? Is there an easy way to tell what the connection counts should be? Any info would be greatly appreciated.
Thanks for your time.
Regards
[signatureSeal]Gregg Cranshaw
Senior Network Engineer
RI Department of State | Secretary of State Nellie M. Gorbea
Email: g<mailto:cvillandry@sos.ri.gov>cranshaw@sos.ri.gov | Website: www.sos.ri.gov | Twitter: @RISecStatehttps://twitter.com/RISecState
148 W. River Street, Providence RI 02904 | 401-222-1326
Our Mission: The Rhode Island Department of State engages and empowers all Rhode Islanders by making government more accessible and transparent, encouraging civic pride, enhancing commerce and ensuring that elections are fair, fast and accurate.