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