<p>Hmm unfortunately seems to be the same issue... the cluster IP seems to remain... however the ha proxy resource just goes offline and does not move.. thanks </p>
<div class="gmail_quote">On Apr 30, 2012 8:16 PM, &quot;Jake Smith&quot; &lt;<a href="mailto:jsmith@argotec.com" target="_blank">jsmith@argotec.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
----- Original Message -----<br>
<br>
&gt; From: &quot;Mark Busuttil&quot; &lt;<a href="mailto:markbusu@gmail.com" target="_blank">markbusu@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a><br>
&gt; Sent: Monday, April 30, 2012 2:06:42 PM<br>
&gt; Subject: [Pacemaker] HAproxy resource not moving<br>
<br>
&gt; Hey guys,<br>
<br>
&gt; I recently started testing out Pacemaker + Corosync for a clustering<br>
&gt; solution for HA proxy. My configuration is as follows<br>
<br>
&gt; crm(live)configure# show<br>
&gt; node node1.local<br>
&gt; node node2.local<br>
&gt; primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>
&gt; params ip=&quot;********&quot; cidr_netmask=&quot;32&quot; \<br>
&gt; op monitor interval=&quot;30s&quot;<br>
&gt; primitive test lsb:haproxy \<br>
&gt; op monitor interval=&quot;10s&quot;<br>
&gt; colocation haproxy-with-public-IPs inf: test ClusterIP<br>
&gt; order haproxy-after-IP inf: ClusterIP test<br>
&gt; property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt; dc-version=&quot;1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558&quot; \<br>
&gt; cluster-infrastructure=&quot;openais&quot; \<br>
&gt; expected-quorum-votes=&quot;2&quot; \<br>
&gt; stonith-enabled=&quot;false&quot;<br>
<br>
Might be because you&#39;ve lost quorum and the cluster has no directions without quorum... this might fix:<br>
<br>
crm configure property no-quorum-policy=&quot;ignore&quot;<br>
<br>
<br>
HTH<br>
<br>
Jake<br>
<br>
&gt; If both my nodes are up, the VIP responds as requested to the HA<br>
&gt; proxy requests.. and seems to always stick to node2.<br>
<br>
&gt; Online: [node2.local node1.local ]<br>
<br>
&gt; ClusterIP (ocf::heartbeat:IPaddr2): Started node2.local<br>
&gt; test (lsb:haproxy): Started node2.local<br>
<br>
&gt; However, if i break HA proxy on node 2 or reboot that machine, the<br>
&gt; cluster dies and doest move over to node 1 and the crm_mon displays:<br>
<br>
&gt; Online: [node1.local ]<br>
&gt; OFFLINE: [ node2.local ]<br>
<br>
&gt; Not sure what im missing here, however i would assume that both<br>
&gt; resources should move over to Node1..<br>
<br>
&gt; Thanks in advance for any help you can provide. --<br>
&gt; Regards,<br>
&gt; Mark Busuttil<br>
<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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>
<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started:<br>
&gt; <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>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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>
</blockquote></div>