I'm using a SIP proxy acting as load balancer installed in a Cloud (high availability) in front of a pool of FS Gateways that handle media.<div>I don't have phone registered so the SIP proxy is a FS in "bypass_media=true" and the balancer is a FS module that handles Gateway load and fail.</div>
<div><br>Stephen</div><div><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 2:39 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div>I'm currently in the process of setting up a corosync/pacemaker install to provide a virtual ip and IPVS routed mode to send the sip packets to a FS server.</div><div><br></div><div>FS hosts have the virtual ip bound to lo:0, and a sip profile listening on the virtual ip (allows FS to receive packets from the load balancer on ingress, on egress the packets from FS are sent directly to the endpoint with the correct ip, reducing load on the load balancer. Being on lo:0 prevents FS answering ARP requests.</div>
<div><br></div><div>rtp-ip<span> is the real FS address, so rtp bypasses the load balancer reducing its load and ensures RTP goes to the correct FS host.</span><br></div><div><br></div><div>mod_sofia uses ODBC to use a shared database, MySQL Cluster (NDB) for HA. That means inbound registrations are visible from all FS servers regardless of which host handled the REGISTER.</div>
<div><br></div><div>Outbound registrations (gateways) will be trickier as each FS host will currently need to register separately.<br><br>Steve on iPhone</div><div class="im"><div><br></div><div><br></div><div><br>On 13 Jul 2012, at 11:04, "Sergei" <<a href="mailto:getallad@gmail.com" target="_blank">getallad@gmail.com</a>> wrote:<br>
<br></div><div><span></span></div><blockquote type="cite"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I could also recommend LinuxHA product - </span><a href="http://www.linux-ha.org/" target="_blank">http://www.linux-ha.org</a>. <span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It allows to share virtual IP between servers, and failover this IP in case of primary server failure. Still, there could be issues with registrations sync </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u><u></u></span></p>
</div></div></blockquote></div><blockquote type="cite"><div><span>_________________________________________________________________________</span><div class="im"><br><span>Professional FreeSWITCH Consulting Services:</span><br>
<span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br>
<span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br>
<span></span><br><span>Join Us At ClueCon - Aug 7-9, 2012</span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></div></blockquote></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>