<div dir="ltr">Hmm. I will then work towards bringing this in. Thanks for your input.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 22, 2016 at 10:44 AM, Digimer <span dir="ltr">&lt;<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 22/06/16 01:07 AM, Nikhil Utane wrote:<br>
&gt; I don&#39;t get it.  Pacemaker + Corosync is providing me so much of<br>
&gt; functionality.<br>
&gt; For e.g. if we leave out the condition of split-brain for a while, then<br>
&gt; it provides:<br>
&gt; 1) Discovery and cluster formation<br>
&gt; 2) Synchronization of data<br>
&gt; 3) Heartbeat mechanism<br>
&gt; 4) Swift failover of the resource<br>
&gt; 5) Guarantee that one resource will be started on only 1 node<br>
&gt;<br>
&gt; So in case of normal fail-over we need the basic functionality of<br>
&gt; resource being migrated to a standby node.<br>
&gt; And it is giving me all that.<br>
&gt; So I don&#39;t agree that it needs to be as black and white as you say. Our<br>
&gt; solution has different requirements than a typical HA solution. But that<br>
&gt; is only now. In the future we might have to implement all the things. So<br>
&gt; in that sense Pacemaker gives us a good framework that we can extend.<br>
&gt;<br>
&gt; BTW, we are not even using a virtual IP resource which again I believe<br>
&gt; is something that everyone employs.<br>
&gt; Because of the nature of the service a small glitch is going to happen.<br>
&gt; Using virtual IPs is not giving any real benefit for us.<br>
&gt; And with regard to the question, why even have a standby and let it be<br>
&gt; active all the time, two-node cluster is one of the possible<br>
&gt; configuration, but main requirement is to support N + 1. So standby node<br>
&gt; doesn&#39;t know which active it has to take over until a failover occurs.<br>
&gt;<br>
&gt; Your comments however has made me re-consider using fencing. It was not<br>
&gt; that we didn&#39;t want to do it.<br>
&gt; Just that I felt it may not be needed. So I&#39;ll definitely explore this<br>
&gt; further.<br>
<br>
</div></div>It is needed, and it is that black and white. Ask yourself, for your<br>
particular installation; Can I run X in two places at the same time<br>
without coordination?<br>
<br>
If the answer is &quot;yes&quot;, then just do that and be done with it.<br>
<br>
If the answer is &quot;no&quot;, then you need fencing to allow pacemaker to know<br>
the state of all nodes (otherwise, the ability to coordinate is lost).<br>
<br>
I&#39;ve never once seen a valid HA setup where fencing was not needed. I<br>
don&#39;t claim to be the best by any means, but I&#39;ve been around long<br>
enough to say this with some confidence.<br>
<br>
digimer<br>
<span class=""><br>
&gt; Thanks everyone for the comments.<br>
&gt;<br>
&gt; -Regards<br>
&gt; Nikhil<br>
&gt;<br>
&gt; On Tue, Jun 21, 2016 at 10:17 PM, Digimer &lt;<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a><br>
</span><div><div class="h5">&gt; &lt;mailto:<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 21/06/16 10:57 AM, Dmitri Maziuk wrote:<br>
&gt;     &gt; On 2016-06-20 17:19, Digimer wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;&gt; Nikhil indicated that they could switch where traffic went up-stream<br>
&gt;     &gt;&gt; without issue, if I understood properly.<br>
&gt;     &gt;<br>
&gt;     &gt; They have some interesting setup, but that notwithstanding: if split<br>
&gt;     &gt; brain happens some clients will connect to &quot;old master&quot; and some: to<br>
&gt;     &gt; &quot;new master&quot;, dep. on arp update. If there&#39;s a shared resource<br>
&gt;     &gt; unavailable on one node, clients going there will error out. The other<br>
&gt;     &gt; ones will not. It will work for some clients.<br>
&gt;     &gt;<br>
&gt;     &gt; Cf. both nodes going into stonith deathmatch and killing each other: the<br>
&gt;     &gt; service now is not available for all clients. What I don&#39;t get is the<br>
&gt;     &gt; blanket assertion that this &quot;more highly&quot; available that option #1.<br>
&gt;     &gt;<br>
&gt;     &gt; Dimitri<br>
&gt;<br>
&gt;     As I&#39;ve explained many times (here and on IRC);<br>
&gt;<br>
&gt;     If you don&#39;t need to coordinate services/access, you don&#39;t need HA.<br>
&gt;<br>
&gt;     If you do need to coordinate services/access, you need fencing.<br>
&gt;<br>
&gt;     So if Nikhil really believes s/he doesn&#39;t need fencing and that<br>
&gt;     split-brains are OK, then drop HA. If that is not the case, then s/he<br>
&gt;     needs to implement fencing in pacemaker. It&#39;s pretty much that simple.<br>
&gt;<br>
&gt;     --<br>
&gt;     Digimer<br>
&gt;     Papers and Projects: <a href="https://alteeve.ca/w/" rel="noreferrer" target="_blank">https://alteeve.ca/w/</a><br>
&gt;     What if the cure for cancer is trapped in the mind of a person without<br>
&gt;     access to education?<br>
&gt;<br>
&gt;     _______________________________________________<br>
</div></div>&gt;     Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a> &lt;mailto:<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;     <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;     Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt;     Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt;     Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
<br>
<br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" rel="noreferrer" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without<br>
access to education?<br>
<br>
_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>