<div dir="ltr">Ah. Okay. Thank you, let me try that. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 3:22 PM, 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">Neither option is feasible. There are compatibility issues with corosync<br>
v2 on EL6, and adapting corosync v1 to be a quorum provider is basically<br>
recreate corosync v2.<br>
<br>
The pcs tool makes the overhead of adding cman to the mix go away, and<br>
it&#39;s part of why it was created in the first place. Use it, and you can<br>
pretend cman doesn&#39;t exist for all intent and purpose.<br>
<br>
If that&#39;s not good enough, switch to EL7 where it&#39;s pure pacemaker and<br>
corosync v2.<br>
<br>
digimer<br>
<span class=""><br>
On 13/04/17 06:18 PM, neeraj ch wrote:<br>
&gt; I have dreaded that answer. Maybe I can fix vote quorum on corosync 1.4.<br>
&gt; Or maybe I can get 2.X working on EL6.  Really don&#39;t wanna deal with<br>
&gt; another layer.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 13, 2017 at 2:10 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 13/04/17 05:07 PM, neeraj ch wrote:<br>
&gt;     &gt; Hi,<br>
&gt;     &gt;<br>
&gt;     &gt; I have three node cluster set up. My corosync config is as follows.<br>
&gt;     &gt;<br>
&gt;     &gt; compatibility: whitetank<br>
&gt;     &gt; totem {<br>
&gt;     &gt;     version: 2<br>
&gt;     &gt;     secauth: on<br>
&gt;     &gt;     threads: 0<br>
&gt;     &gt;     interface {<br>
&gt;     &gt;     member{<br>
&gt;     &gt;         memberaddr: ip<br>
&gt;     &gt;         }<br>
&gt;     &gt;     member{<br>
&gt;     &gt;         memberaddr:ip<br>
&gt;     &gt;          }<br>
&gt;     &gt;     member{<br>
&gt;     &gt;         memberaddr:ip<br>
&gt;     &gt;         }<br>
&gt;     &gt;     bindnetaddr:172.31.31.12<br>
&gt;     &gt;     ringnumber: 0<br>
&gt;     &gt;     mcastport: 5405<br>
&gt;     &gt;     ttl: 1<br>
&gt;     &gt;     }<br>
&gt;     &gt;     transport: udpu<br>
&gt;     &gt; }<br>
&gt;     &gt; logging {<br>
&gt;     &gt;     fileline: off<br>
&gt;     &gt;     to_stderr:yes<br>
&gt;     &gt;     to_logfile: yes<br>
&gt;     &gt;     to_syslog:yes<br>
&gt;     &gt;     logfile:/var/log/cluster/<wbr>corosync.log<br>
&gt;     &gt;     debug:off<br>
&gt;     &gt;     timestamp: on<br>
&gt;     &gt;     logger_subsys {<br>
&gt;     &gt;     subsys: AMF<br>
&gt;     &gt;     debug:off<br>
&gt;     &gt;     }<br>
&gt;     &gt; }<br>
&gt;     &gt; service {<br>
&gt;     &gt;     name: pacemaker<br>
&gt;     &gt;     ver: 1<br>
&gt;     &gt; }<br>
&gt;     &gt; amf {<br>
&gt;     &gt;     mode: disabled<br>
&gt;     &gt; }<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; I went on to partition the master, the rest of the cluster considered<br>
&gt;     &gt; the master down and elected a new master.<br>
&gt;     &gt;<br>
&gt;     &gt; But the corosync on the partitoned node didnt realize loss of<br>
&gt;     quoram and<br>
&gt;     &gt; consequently pacemaker didnt shut down the resources. Giving me a<br>
&gt;     &gt; multi-master scenario.<br>
&gt;     &gt;<br>
&gt;     &gt; I have tried adding , quorum tool as votequoram and it seems to<br>
&gt;     give the<br>
&gt;     &gt; same result.<br>
&gt;     &gt;<br>
&gt;     &gt; Why isn&#39;t corosync not detecting this scenario ? any ideas.<br>
&gt;     &gt;<br>
&gt;     &gt; I used IP tables to block all UDP traffic in and out of the node . I<br>
&gt;     &gt; didn&#39;t block traffic on lo.<br>
&gt;     &gt;<br>
&gt;     &gt; any help would be appreciated.<br>
&gt;<br>
&gt;     On EL6, cman is the quorum provider. You need to have a skeleton<br>
&gt;     cluster.conf setup with it&#39;s fencing passed over to pacemaker via<br>
&gt;     fence_pcmk.<br>
&gt;<br>
&gt;     It you use pcs/pcsd, it will configure everything for you. Do NOT<br>
&gt;     configure corosync directly; You need to configure it inside cman<br>
&gt;     itself. Reset corosync.conf back to defaults.<br>
&gt;<br>
&gt;     Reference;<br>
&gt;<br>
&gt;     <a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_from_Scratch/index.html" rel="noreferrer" target="_blank">http://clusterlabs.org/doc/en-<wbr>US/Pacemaker/1.1-plugin/html-<wbr>single/Clusters_from_Scratch/<wbr>index.html</a><br>
&gt;     &lt;<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_from_Scratch/index.html" rel="noreferrer" target="_blank">http://clusterlabs.org/doc/<wbr>en-US/Pacemaker/1.1-plugin/<wbr>html-single/Clusters_from_<wbr>Scratch/index.html</a>&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Digimer<br>
&gt;     Papers and Projects: <a href="https://alteeve.com/w/" rel="noreferrer" target="_blank">https://alteeve.com/w/</a><br>
&gt;     &quot;I am, somehow, less interested in the weight and convolutions of<br>
&gt;     Einstein’s brain than in the near certainty that people of equal talent<br>
&gt;     have lived and died in cotton fields and sweatshops.&quot; - Stephen Jay<br>
&gt;     Gould<br>
&gt;<br>
&gt;     ______________________________<wbr>_________________<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>
&gt;     <a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<div class="HOEnZb"><div class="h5">&gt;     &lt;<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a>&gt;<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:<br>
&gt;     <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
&gt;     &lt;<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a>&gt;<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; ______________________________<wbr>_________________<br>
&gt; Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
&gt; <a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>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/<wbr>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.com/w/" rel="noreferrer" target="_blank">https://alteeve.com/w/</a><br>
&quot;I am, somehow, less interested in the weight and convolutions of<br>
Einstein’s brain than in the near certainty that people of equal talent<br>
have lived and died in cotton fields and sweatshops.&quot; - Stephen Jay Gould<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>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/<wbr>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>