<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv9460495732"><div id="yui_3_16_0_1_1430113531094_5000"><div id="yui_3_16_0_1_1430113531094_4999" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">Hello,<br clear="none">This may be an answer for Amos than anyone else.<br clear="none"><div id="yiv9460495732"><div id="yiv9460495732yui_3_16_0_1_1430110363815_34058"><div id="yiv9460495732yui_3_16_0_1_1430110363815_34057" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv9460495732"><div id="yiv9460495732yui_3_16_0_1_1430110363815_26400"><div id="yiv9460495732yui_3_16_0_1_1430110363815_26399" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv9460495732"><div id="yiv9460495732yui_3_16_0_1_1430110363815_10435"><div id="yiv9460495732yui_3_16_0_1_1430110363815_10434" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div><span></span></div><div id="yiv9460495732yui_3_16_0_1_1430110363815_10433"><div dir="ltr" id="yiv9460495732yui_3_16_0_1_1430110363815_26520"><br clear="none"></div><div id="yiv9460495732yui_3_16_0_1_1430110363815_10446"><div dir="ltr" id="yiv9460495732yui_3_16_0_1_1430110363815_26974">I don't sure if i had time to change the web proxy server design.<br clear="none">because the deadline is 1 week more.<br><br clear="none">And also for double bandwidth design.<br><div id="yui_3_16_0_1_1430113531094_6532" dir="ltr">Are you have alternative option so that I can implement Failover by using my existing system.<br><br>Thanks in advance.<br></div><br clear="none"><br clear="none"><br clear="none"></div></div></div><div class="yiv9460495732signature" id="yiv9460495732yui_3_16_0_1_1430110363815_7325">Hierony Manurung<br clear="none">Del Institute of Technology<br clear="none">Network Management</div>  <br clear="none"><div class="yiv9460495732qtdSeparateBR" id="yiv9460495732yui_3_16_0_1_1430110363815_10436"><br clear="none"><br clear="none"></div><div class="yiv9460495732yqt2343972816" id="yiv9460495732yqt86694"></div></div></div></div><div class="yiv9460495732yqt1032478632" id="yiv9460495732yqt17649"><div class="yiv9460495732yqt1373313708" id="yiv9460495732yqt48883"><div class="yiv9460495732yqt5739935229" id="yiv9460495732yqt30063"><div id="yiv9460495732yui_3_16_0_1_1430110363815_34064"> <div id="yiv9460495732yui_3_16_0_1_1430110363815_34063" style="font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yiv9460495732yui_3_16_0_1_1430110363815_34062" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font size="2" face="Arial"> Pada Senin, 27 April 2015 9:56, Amos Jeffries <squid3@treenet.co.nz> menulis:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="yiv9460495732y_msg_container" id="yiv9460495732yui_3_16_0_1_1430110363815_34061">On 27/04/2015 2:36 p.m., Hierony Manurung wrote:<br clear="none">> Dear Fellow,<br clear="none">> I want to implement Failover in My system, I have 3 Squid proxy servers right now. they are :<br clear="none">> <br clear="none">> - Child (172.30.20.200/16)         # receive request, and forward it either to Parent1 or Parent2<br clear="none">> - Parent1 (172.31.20.201/16)<br clear="none">> - Parent2 (172.31.20.204/16)<br clear="none">> <br clear="none">> I use Mikrotik to connect all the servers, and they have been connected and they can work together (distributed caching). For the caching algorithm, I use round-robin algorithm. <br clear="none">> How can i implement Failover in my system?, so that when Child proxy is down/crash the request move to another Parent proxy.<br clear="none"><br clear="none">You can't with this setup. The Child proxy is a bottleneck and the<br clear="none">failover copes with either of the Parents being down but not the Child.<br clear="none"><br clear="none">If you are going to have a failover from Child to Parent, then you may<br clear="none">as well have all three proxies operating in a "flat"/horizontal design<br clear="none">as siblings all independently able to connect upstream.<br clear="none"><br clear="none">The failover logics in that design is configured into the Mikrotik<br clear="none">somehow (I dont know how exectly though sorry). Or in a PAC file given<br clear="none">to the clients.<br clear="none"><br clear="none"><br clear="none">The design you have with a single router acting as hub for clients and<br clear="none">three proxies in a 2-tier design sounds like you have traffic travelling<br clear="none">over the same router 2-3 times on its way to the Internet (and same for<br clear="none">the responses). That will be cutting your available router bandwidth by<br clear="none">as much as 60%. You can probably double your bandwidth by using two<br clear="none">routers and two NICs on each proxy - without changing the uplinks<br clear="none">themselves.<br clear="none">Like so:<br clear="none">  clients-> router1 (load balancing)->proxies->router2->Internet<br clear="none"><br clear="none">Amos<div class="yiv9460495732yqt9314395983" id="yiv9460495732yqtfd07327"><br clear="none"><br clear="none">_______________________________________________<br clear="none">squid-users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:squid-users@lists.squid-cache.org" target="_blank" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br clear="none"></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>