<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"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></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's part of why it was created in the first place. Use it, and you can<br>
pretend cman doesn't exist for all intent and purpose.<br>
<br>
If that's not good enough, switch to EL7 where it'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>
> I have dreaded that answer. Maybe I can fix vote quorum on corosync 1.4.<br>
> Or maybe I can get 2.X working on EL6. Really don't wanna deal with<br>
> another layer.<br>
><br>
> Thanks.<br>
><br>
><br>
> On Thu, Apr 13, 2017 at 2:10 PM, Digimer <<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a><br>
</span><div><div class="h5">> <mailto:<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a>>> wrote:<br>
><br>
> On 13/04/17 05:07 PM, neeraj ch wrote:<br>
> > Hi,<br>
> ><br>
> > I have three node cluster set up. My corosync config is as follows.<br>
> ><br>
> > compatibility: whitetank<br>
> > totem {<br>
> > version: 2<br>
> > secauth: on<br>
> > threads: 0<br>
> > interface {<br>
> > member{<br>
> > memberaddr: ip<br>
> > }<br>
> > member{<br>
> > memberaddr:ip<br>
> > }<br>
> > member{<br>
> > memberaddr:ip<br>
> > }<br>
> > bindnetaddr:172.31.31.12<br>
> > ringnumber: 0<br>
> > mcastport: 5405<br>
> > ttl: 1<br>
> > }<br>
> > transport: udpu<br>
> > }<br>
> > logging {<br>
> > fileline: off<br>
> > to_stderr:yes<br>
> > to_logfile: yes<br>
> > to_syslog:yes<br>
> > logfile:/var/log/cluster/<wbr>corosync.log<br>
> > debug:off<br>
> > timestamp: on<br>
> > logger_subsys {<br>
> > subsys: AMF<br>
> > debug:off<br>
> > }<br>
> > }<br>
> > service {<br>
> > name: pacemaker<br>
> > ver: 1<br>
> > }<br>
> > amf {<br>
> > mode: disabled<br>
> > }<br>
> ><br>
> ><br>
> ><br>
> > I went on to partition the master, the rest of the cluster considered<br>
> > the master down and elected a new master.<br>
> ><br>
> > But the corosync on the partitoned node didnt realize loss of<br>
> quoram and<br>
> > consequently pacemaker didnt shut down the resources. Giving me a<br>
> > multi-master scenario.<br>
> ><br>
> > I have tried adding , quorum tool as votequoram and it seems to<br>
> give the<br>
> > same result.<br>
> ><br>
> > Why isn't corosync not detecting this scenario ? any ideas.<br>
> ><br>
> > I used IP tables to block all UDP traffic in and out of the node . I<br>
> > didn't block traffic on lo.<br>
> ><br>
> > any help would be appreciated.<br>
><br>
> On EL6, cman is the quorum provider. You need to have a skeleton<br>
> cluster.conf setup with it's fencing passed over to pacemaker via<br>
> fence_pcmk.<br>
><br>
> It you use pcs/pcsd, it will configure everything for you. Do NOT<br>
> configure corosync directly; You need to configure it inside cman<br>
> itself. Reset corosync.conf back to defaults.<br>
><br>
> Reference;<br>
><br>
> <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>
> <<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>><br>
><br>
> --<br>
> Digimer<br>
> Papers and Projects: <a href="https://alteeve.com/w/" rel="noreferrer" target="_blank">https://alteeve.com/w/</a><br>
> "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." - Stephen Jay<br>
> Gould<br>
><br>
> ______________________________<wbr>_________________<br>
</div></div>> Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a> <mailto:<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>
<div class="HOEnZb"><div class="h5">> <<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:<br>
> <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>
> <<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>
><br>
><br>
><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>
><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>
"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." - 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>