<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=&quot;2&quot; <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=&quot;classic openais (with plugin)&quot; \<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">&lt;<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</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=""><br>
On 2 May 2014, at 2:40 pm, ESWAR RAO &lt;<a href="mailto:eswar7028@gmail.com">eswar7028@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; It was a copy paste error.<br>
&gt; But all the configured resources are correct.<br>
&gt;<br>
&gt; But still I could see pacemaker trying to start service on common-test-redhat<br>
<br>
</div>We cant though.  You&#39;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>
&gt; where I kept anti-affinity rule and also the max-clone is 2.<br>
&gt;<br>
&gt;<br>
&gt; Thanks<br>
&gt; Eswar<br>
&gt;<br>
&gt;<br>
&gt; On Fri, May 2, 2014 at 8:52 AM, Vladislav Bogdanov &lt;<a href="mailto:bubble@hoster-ok.com">bubble@hoster-ok.com</a>&gt; wrote:<br>
&gt; 02.05.2014 03:47, ESWAR RAO wrote:<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt; I am working on 3 node cluster with corosync+pacemaker on RHEL 6.<br>
&gt; &gt; Eventhough I applied anti-affinity the app is still trying to run on 3rd<br>
&gt; &gt; node.<br>
&gt; &gt;<br>
&gt; &gt; # rpm -qa|grep corosync<br>
&gt; &gt; corosync-1.4.1-17.el6_5.1.x86_64<br>
&gt; &gt; corosynclib-1.4.1-17.el6_5.1.x86_64<br>
&gt; &gt; # rpm -qa | grep -i pacemaker<br>
&gt; &gt; pacemaker-1.1.10-14.el6_5.3.x86_64<br>
&gt; &gt; pacemaker-libs-1.1.10-14.el6_5.3.x86_64<br>
&gt; &gt; pacemaker-cluster-libs-1.1.10-14.el6_5.3.x86_64<br>
&gt; &gt; pacemaker-cli-1.1.10-14.el6_5.3.x86_64<br>
&gt; &gt; # rpm -qa | grep -i crm<br>
&gt; &gt; crmsh-2.0+git5-1.1.x86_64<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; # crm configure primitive oc_app lsb::app meta migration-threshold=10<br>
&gt; &gt; failure-timeout=300s op monitor interval=3s<br>
&gt; &gt; # crm configure clone oc_app_clone oc_app meta clone-max=2<br>
&gt; &gt; globally-unique=false interleave=true<br>
&gt; &gt; # crm configure location nvp_prefer_node oc_app_clon -inf:<br>
&gt; &gt; &quot;common-test-redhat&quot;<br>
&gt;<br>
&gt; Typo in the configuration? oc_app_clon.<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Online: [ common-test-redhat test-redhat-1 test-redhat-2 ]<br>
&gt; &gt;<br>
&gt; &gt; Full list of resources:<br>
&gt; &gt;<br>
&gt; &gt;  Clone Set: oc_app_clone [oc_app]<br>
&gt; &gt;      oc_app    (lsb:app):    FAILED common-test-redhat (unmanaged)<br>
&gt; &gt;      Started: [ test-redhat-1 ]<br>
&gt; &gt;      Stopped: [ test-redhat-2 ]<br>
&gt; &gt;<br>
&gt; &gt; The same configuration worked correctly on ubuntu and it started oc_app<br>
&gt; &gt; on only 2 nodes and not on common-test-redhat node.<br>
&gt; &gt;<br>
&gt; &gt; after some time:<br>
&gt; &gt; -------------------------<br>
&gt; &gt;  Clone Set: oc_app_clone [oc_app]<br>
&gt; &gt;      Started: [ test-redhat-1 ]<br>
&gt; &gt;      Stopped: [ common-test-redhat test-redhat-2 ]<br>
&gt; &gt;<br>
&gt; &gt; # crm configure show<br>
&gt; &gt; node common-test-redhat<br>
&gt; &gt; node test-redhat-1<br>
&gt; &gt; node est-redhat-2<br>
&gt; &gt; primitive oc_app lsb:app \<br>
&gt; &gt;     meta migration-threshold=10 failure-timeout=300s \<br>
&gt; &gt;     op monitor interval=3s<br>
&gt; &gt; clone oc_app_clone oc_app \<br>
&gt; &gt;     meta clone-max=2 globally-unique=false interleave=true<br>
&gt; &gt; location nvp_prefer_node oc_app_clone -inf: common-test-redhat<br>
&gt; &gt; property cib-bootstrap-options: \<br>
&gt; &gt;     dc-version=1.1.10-14.el6_5.3-368c726 \<br>
&gt; &gt;     cluster-infrastructure=&quot;classic openais (with plugin)&quot; \<br>
&gt; &gt;     expected-quorum-votes=3 \<br>
&gt; &gt;     stonith-enabled=false<br>
&gt; &gt;<br>
&gt; &gt; Can someone please help me on the configuration.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt; &gt; Eswar<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt; 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>
&gt; &gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; 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>