<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#244061;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'>David,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'>While I do not profess to be an HAProxy expert, we have used it to check most of the boxes on your list in the past. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'>You can use the weight parameter on your backend servers to specify where the traffic is preferred – a value of 256 for your primary and 1 as your failover should accomplish what you are looking for. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'>You can also write IP based ACL’s to set traffic from each network to specific backends. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'>There are some limitations – HAProxy will only support TCP, and I have had issues with some ssl. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:black'>Regards,</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#244061'><br></span><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:black'>Ryan Naef</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#244061'><br><br></span><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#244061'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#244061'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='margin-left:.5in'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> clue-bounces@cluedenver.org [mailto:clue-bounces@cluedenver.org] <b>On Behalf Of </b>David L. Willson<br><b>Sent:</b> Thursday, October 30, 2014 7:43 AM<br><b>To:</b> CLUE's mailing list<br><b>Subject:</b> [clue] load-balancing<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:.5in'><span style='color:black'>I am looking for an intelligent load-balancer. It needs to understand proximity / preference. I want to be able to send all the clients from (these networks) to this node, unless it's down, or fully-loaded, or otherwise uninterested in new connections, then send them to this node, instead.<br><br>I don't mind if I have to setup the preference rules (which networks prefer which servers), but it would be cool if I didn't have to.<o:p></o:p></span></p><p style='margin-left:.5in'><span style='color:black'><o:p>&nbsp;</o:p></span></p><p style='margin-left:.5in'><span style='color:black'>I'd *strongly* prefer a solution that doesn't generate vendor lock-in. ie: I don't mind paying for it, but I'd like to preserve the freedom to choose *who* to pay.<o:p></o:p></span></p><p style='margin-left:.5in'><span style='color:black'><o:p>&nbsp;</o:p></span></p><p style='margin-left:.5in'><span style='color:black'>It would be really great if someone that has a lot of experience with HAProxy confidently said something like, &quot;Oh yeah, it does all that. Just do this and this, and that, and it works great, lasts a long time, and you'll lose weight doing it.&quot;<o:p></o:p></span></p><p style='margin-left:.5in'><span style='color:black'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal style='margin-left:.5in'><span style='color:black'>--<br>David L. Willson<br>Teacher, Engineer, Evangelist<br>RHCE+Satellite CCAH Network+ A+ Linux+ LPIC-1 UbuntuCP NovellCLA<br>*killed my phone on Sunday. This space for rent.*<br><a href="http://sofree.us">http://sofree.us</a><br><br>This is a good time for a r3VOLution.<o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:.5in'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div></div></body></html>