<div>Hey guys,</div><div><br></div><div>I recently started testing out Pacemaker + Corosync for a clustering solution for HA proxy. My configuration is as follows</div><div><br></div><div>crm(live)configure# show</div><div>
node node1.local</div><div>node node2.local</div><div>primitive ClusterIP ocf:heartbeat:IPaddr2 \</div><div> params ip="********" cidr_netmask="32" \</div><div> op monitor interval="30s"</div>
<div>primitive test lsb:haproxy \</div><div> op monitor interval="10s"</div><div>colocation haproxy-with-public-IPs inf: test ClusterIP</div><div>order haproxy-after-IP inf: ClusterIP test</div><div>property $id="cib-bootstrap-options" \</div>
<div> dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" \</div><div> cluster-infrastructure="openais" \</div><div> expected-quorum-votes="2" \</div><div> stonith-enabled="false"</div>
<div><br></div><div>If both my nodes are up, the VIP responds as requested to the HA proxy requests.. and seems to always stick to node2.</div><div><br></div><div><div>Online: [node2.local node1.local ]</div><div><br></div>
<div>ClusterIP (ocf::heartbeat:IPaddr2): Started node2.local</div><div>test (lsb:haproxy): Started node2.local</div></div><div><br></div><div>However, if i break HA proxy on node 2 or reboot that machine, the cluster dies and doest move over to node 1 and the crm_mon displays:</div>
<div><br></div><div><div>Online: [node1.local ]</div><div>OFFLINE: [ node2.local ]</div></div><div><br></div><div>Not sure what im missing here, however i would assume that both resources should move over to Node1..</div>
<div><br></div><div>Thanks in advance for any help you can provide.</div>-- <br>Regards,<br>Mark Busuttil<br>