<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>What do you mean the cluster IP remains?<br><br>No errors in the logs?<br><br>Is the haproxy LSB compliant? see<br>http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ap-lsb.html<br><br>Output of crm_mon -fr1?<br><br><div><span name="x"></span>

<style>/* Style Definitions */p.MsoNormal, p.MsoAutoSig, li.MsoNormal, div.MsoNormal        {margin:0cm; margin-bottom:.0001pt;}@page WordSection1        {size:612.0pt 792.0pt;        margin:72.0pt 72.0pt 72.0pt 72.0pt;        mso-header-margin:36.0pt;        mso-footer-margin:36.0pt;        mso-paper-source:0;}div.WordSection1        {page:WordSection1;}</style>

<div class="WordSection1">

<p class="MsoNormal">Jake<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>

<span name="x"></span><br></div><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Mark Busuttil" &lt;markbusu@gmail.com&gt;<br><b>To: </b>"Jake Smith" &lt;jsmith@argotec.com&gt;, pacemaker@oss.clusterlabs.org<br><b>Sent: </b>Monday, April 30, 2012 3:44:55 PM<br><b>Subject: </b>Re: [Pacemaker] HAproxy resource not moving<br><br><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, "Jake Smith" &lt;<a href="mailto:jsmith@argotec.com" target="_blank">jsmith@argotec.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
----- Original Message -----<br>
<br>
&gt; From: "Mark Busuttil" &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="********" cidr_netmask="32" \<br>
&gt; op monitor interval="30s"<br>
&gt; primitive test lsb:haproxy \<br>
&gt; op monitor interval="10s"<br>
&gt; colocation haproxy-with-public-IPs inf: test ClusterIP<br>
&gt; order haproxy-after-IP inf: ClusterIP test<br>
&gt; property $id="cib-bootstrap-options" \<br>
&gt; dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" \<br>
&gt; cluster-infrastructure="openais" \<br>
&gt; expected-quorum-votes="2" \<br>
&gt; stonith-enabled="false"<br>
<br>
Might be because you've lost quorum and the cluster has no directions without quorum... this might fix:<br>
<br>
crm configure property no-quorum-policy="ignore"<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>
</blockquote><br></div></body></html>