<div dir="ltr">Steven: Eliot specifically said 2 (or three!) entire networks: each with their own NIC, cables, and network switches.<div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi<br>

</span></div></div>
<br><br><div class="gmail_quote">On Sun, Feb 10, 2013 at 7:08 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

That covers redundancy in case of a network card or cable failure, but isn&#39;t what partitioning is about. Multiple NICs cannot prevent partitioning.<div><br></div><div>As an example, partitioning might happen when a network switch between two network segments fails so you have nodes A+B in segment 1 able to talk to each other but unable to talk to nodes C+D in segment 2, while C+D can talk to each other but not A+B.</div>




<div><br></div><div>Pacemaker/corosync contain a lot of algorithms to fence off partitions without quorum and can resort to things like STONITH if required to force a node to shutdown rather than risk it causing disruption to the cluster (for example if it tries to take over traffic to a virtual IP you could end up in a case where you have two servers sending ARP responses for the same IP).</div>



<div><br></div><div>-Steve</div><div class="HOEnZb"><div class="h5"><div><br></div><div><br><div><br><div class="gmail_quote">
On 10 February 2013 15:27, Eliot Gable <span dir="ltr">&lt;<a href="mailto:egable+freeswitch@gmail.com" target="_blank">egable+freeswitch@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




You use multiple NICs in the systems and send heartbeats out all of<br>
them. There is no other way to do it. Two NICs are required, and 3 are<br>
recommended.<br>
<div><div><br>
<br>
On Sun, Feb 10, 2013 at 6:54 AM, Marcin Gozdalik &lt;<a href="mailto:gozdal@gmail.com" target="_blank">gozdal@gmail.com</a>&gt; wrote:<br>
&gt; I wonder how do you handle network partition? Simply &quot;knowing&quot; which nodes<br>
&gt; are up in a distributed system is hard enough and there is a reason why<br>
&gt; solutions like pacemaker/corosync have years of development behind them.<br>
&gt;<br>
&gt; W dniu niedziela, 10 lutego 2013 użytkownik Eliot Gable napisał:<br>
&gt;&gt;<br>
&gt;&gt; The beauty of the module is that it will not require any 3rd party<br>
&gt;&gt; software to operate. I am designing it to run entirely in-memory using<br>
&gt;&gt; multi-cast events to communicate between cluster nodes. No external<br>
&gt;&gt; database will be required to enable the automatic fail over and call<br>
&gt;&gt; recovery.<br>
&gt;&gt;<br>
&gt;&gt; If you have your customers / clients using DNS to point traffic to<br>
&gt;&gt; your system and you run multiple master nodes with DNS performing load<br>
&gt;&gt; balancing, you can also make use of the maintenance mode I have<br>
&gt;&gt; planned which will use a separate IP address and update your DNS<br>
&gt;&gt; records to remove the master which you put into maintenance mode and<br>
&gt;&gt; put in the maintenance IP which is assigned to the slave node which is<br>
&gt;&gt; being promoted as master. This allows calls to drain off the master<br>
&gt;&gt; while new calls come up on the slave, and then you can gracefully shut<br>
&gt;&gt; down the master when all calls are finished. Once you are done with<br>
&gt;&gt; maintenance, you simply bring it back online and it comes up as a<br>
&gt;&gt; slave or a master as needed (according to your configured master /<br>
&gt;&gt; slave ratio). The IP which it was using as a master node becomes the<br>
&gt;&gt; new designated maintenance IP. This is the only case where a 3rd party<br>
&gt;&gt; software package is required, and it is an optional feature.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Feb 9, 2013 at 6:49 PM, Gilad Abada &lt;<a href="mailto:ga@steadfasttelecom.com" target="_blank">ga@steadfasttelecom.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Hey Eliot<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Sounds exciting. Which DB will you be using Postgres? I will try to<br>
&gt;&gt; &gt; get my company to pitch in a few dollars.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Sent from my mobile device.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Feb 9, 2013, at 12:11 PM, Eliot Gable &lt;<a href="mailto:egable+freeswitch@gmail.com" target="_blank">egable+freeswitch@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; For the past two years, I have been working on and off on a high<br>
&gt;&gt; &gt;&gt; availability cluster module for FreeSWITCH. If you would like to see<br>
&gt;&gt; &gt;&gt; HA built into FreeSWITCH directly, instead of dealing with Pacemaker +<br>
&gt;&gt; &gt;&gt; Corosync or other 3rd party systems, please check out the module,<br>
&gt;&gt; &gt;&gt; voice your support, provide feedback and suggestions, and consider<br>
&gt;&gt; &gt;&gt; supporting it.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Some advantages over a 3rd party solution like Pacemaker include:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; - Sub-second failure detection and response (meaning it can start<br>
&gt;&gt; &gt;&gt; recovering calls less than a second after a failure occurs)<br>
&gt;&gt; &gt;&gt; - Failure detection is built into FreeSWITCH so it can detect<br>
&gt;&gt; &gt;&gt; conditions which 3rd party modules cannot detect<br>
&gt;&gt; &gt;&gt; - One shared configuration file between all nodes (no per-node IP<br>
&gt;&gt; &gt;&gt; configuration required)<br>
&gt;&gt; &gt;&gt; - No fixed number of nodes<br>
&gt;&gt; &gt;&gt; - Graceful migration of calls with a maintenance mode (requires DNS)<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; These are just some of the benefits of building a FreeSWITCH-specific<br>
&gt;&gt; &gt;&gt; HA system. For additional details about the project, please visit:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://wiki.freeswitch.org/wiki/Mod_ha_cluster" target="_blank">http://wiki.freeswitch.org/wiki/Mod_ha_cluster</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If you would like to see this project come to fruition, please<br>
&gt;&gt; &gt;&gt; consider financially supporting it through Kickstarter:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://www.kickstarter.com/projects/1175121367/high-availability-cluster-module-for-freeswitch" target="_blank">http://www.kickstarter.com/projects/1175121367/high-availability-cluster-module-for-freeswitch</a><br>





&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks in advance for anyone who contributes, either with just a<br>
&gt;&gt; &gt;&gt; shout-out, with feedback and/or suggestions, and especially to those<br>
&gt;&gt; &gt;&gt; who pledge some financial support.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _________________________________________________________________________<br>
&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt; <a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt; <a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt;<br>
&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; <a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt; <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Marcin Gozdalik<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
</div></div>Eliot Gable<br>
<br>
&quot;We do not inherit the Earth from our ancestors: we borrow it from our<br>
children.&quot; ~David Brower<br>
<br>
&quot;I decided the words were too conservative for me. We&#39;re not borrowing<br>
from our children, we&#39;re stealing from them--and it&#39;s not even<br>
considered to be a crime.&quot; ~David Brower<br>
<br>
&quot;Esse oportet ut vivas, non vivere ut edas.&quot; (Thou shouldst eat to<br>
live; not live to eat.) ~Marcus Tullius Cicero<br>
<div><div><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br></div></div>
</div></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>
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></div>