<div dir="ltr"><div><div><div>Hi,<br><br></div>On RHEL6 systems with corosync+pacemaker+crmsh<br><br># crm configure property expected-quorum-votes="2" <br>(its not getting changed)<br><br># crm configure show<br>
node nvsd-common-test-redhat<br>node nvsd-test-redhat-1<br>node nvsd-test-redhat-2<br>property cib-bootstrap-options: \<br>    dc-version=1.1.10-14.el6_5.3-368c726 \<br>    cluster-infrastructure="classic openais (with plugin)" \<br>
    expected-quorum-votes=3 \<br>    stonith-enabled=false \<br>    cluster-recheck-interval=3min<br><br><br></div>Thanks<br></div>Eswar<br><div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, May 2, 2014 at 10:21 AM, Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><br>
On 2 May 2014, at 2:40 pm, ESWAR RAO <<a href="mailto:eswar7028@gmail.com">eswar7028@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> It was a copy paste error.<br>
> But all the configured resources are correct.<br>
><br>
> But still I could see pacemaker trying to start service on common-test-redhat<br>
<br>
</div>We cant though.  You'll need to send through a crm_report archive covering the period of your test for us to investigate.<br>
<div class="HOEnZb"><div class="h5"><br>
> where I kept anti-affinity rule and also the max-clone is 2.<br>
><br>
><br>
> Thanks<br>
> Eswar<br>
><br>
><br>
> On Fri, May 2, 2014 at 8:52 AM, Vladislav Bogdanov <<a href="mailto:bubble@hoster-ok.com">bubble@hoster-ok.com</a>> wrote:<br>
> 02.05.2014 03:47, ESWAR RAO wrote:<br>
> > Hi All,<br>
> ><br>
> > I am working on 3 node cluster with corosync+pacemaker on RHEL 6.<br>
> > Eventhough I applied anti-affinity the app is still trying to run on 3rd<br>
> > node.<br>
> ><br>
> > # rpm -qa|grep corosync<br>
> > corosync-1.4.1-17.el6_5.1.x86_64<br>
> > corosynclib-1.4.1-17.el6_5.1.x86_64<br>
> > # rpm -qa | grep -i pacemaker<br>
> > pacemaker-1.1.10-14.el6_5.3.x86_64<br>
> > pacemaker-libs-1.1.10-14.el6_5.3.x86_64<br>
> > pacemaker-cluster-libs-1.1.10-14.el6_5.3.x86_64<br>
> > pacemaker-cli-1.1.10-14.el6_5.3.x86_64<br>
> > # rpm -qa | grep -i crm<br>
> > crmsh-2.0+git5-1.1.x86_64<br>
> ><br>
> ><br>
> > # crm configure primitive oc_app lsb::app meta migration-threshold=10<br>
> > failure-timeout=300s op monitor interval=3s<br>
> > # crm configure clone oc_app_clone oc_app meta clone-max=2<br>
> > globally-unique=false interleave=true<br>
> > # crm configure location nvp_prefer_node oc_app_clon -inf:<br>
> > "common-test-redhat"<br>
><br>
> Typo in the configuration? oc_app_clon.<br>
><br>
> ><br>
> > Online: [ common-test-redhat test-redhat-1 test-redhat-2 ]<br>
> ><br>
> > Full list of resources:<br>
> ><br>
> >  Clone Set: oc_app_clone [oc_app]<br>
> >      oc_app    (lsb:app):    FAILED common-test-redhat (unmanaged)<br>
> >      Started: [ test-redhat-1 ]<br>
> >      Stopped: [ test-redhat-2 ]<br>
> ><br>
> > The same configuration worked correctly on ubuntu and it started oc_app<br>
> > on only 2 nodes and not on common-test-redhat node.<br>
> ><br>
> > after some time:<br>
> > -------------------------<br>
> >  Clone Set: oc_app_clone [oc_app]<br>
> >      Started: [ test-redhat-1 ]<br>
> >      Stopped: [ common-test-redhat test-redhat-2 ]<br>
> ><br>
> > # crm configure show<br>
> > node common-test-redhat<br>
> > node test-redhat-1<br>
> > node est-redhat-2<br>
> > primitive oc_app lsb:app \<br>
> >     meta migration-threshold=10 failure-timeout=300s \<br>
> >     op monitor interval=3s<br>
> > clone oc_app_clone oc_app \<br>
> >     meta clone-max=2 globally-unique=false interleave=true<br>
> > location nvp_prefer_node oc_app_clone -inf: common-test-redhat<br>
> > property cib-bootstrap-options: \<br>
> >     dc-version=1.1.10-14.el6_5.3-368c726 \<br>
> >     cluster-infrastructure="classic openais (with plugin)" \<br>
> >     expected-quorum-votes=3 \<br>
> >     stonith-enabled=false<br>
> ><br>
> > Can someone please help me on the configuration.<br>
> ><br>
> ><br>
> > Thanks<br>
> > Eswar<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> > <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
> ><br>
> > Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> > Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> > Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
><br>
> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div></div>