[Pacemaker] HAproxy resource not moving

Mark Busuttil markbusu at gmail.com
Mon Apr 30 15:44:55 EDT 2012


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
On Apr 30, 2012 8:16 PM, "Jake Smith" <jsmith at argotec.com> wrote:

>
> ----- Original Message -----
>
> > From: "Mark Busuttil" <markbusu at gmail.com>
> > To: pacemaker at oss.clusterlabs.org
> > Sent: Monday, April 30, 2012 2:06:42 PM
> > Subject: [Pacemaker] HAproxy resource not moving
>
> > Hey guys,
>
> > I recently started testing out Pacemaker + Corosync for a clustering
> > solution for HA proxy. My configuration is as follows
>
> > crm(live)configure# show
> > node node1.local
> > node node2.local
> > primitive ClusterIP ocf:heartbeat:IPaddr2 \
> > params ip="********" cidr_netmask="32" \
> > op monitor interval="30s"
> > primitive test lsb:haproxy \
> > op monitor interval="10s"
> > colocation haproxy-with-public-IPs inf: test ClusterIP
> > order haproxy-after-IP inf: ClusterIP test
> > property $id="cib-bootstrap-options" \
> > dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" \
> > cluster-infrastructure="openais" \
> > expected-quorum-votes="2" \
> > stonith-enabled="false"
>
> Might be because you've lost quorum and the cluster has no directions
> without quorum... this might fix:
>
> crm configure property no-quorum-policy="ignore"
>
>
> HTH
>
> Jake
>
> > If both my nodes are up, the VIP responds as requested to the HA
> > proxy requests.. and seems to always stick to node2.
>
> > Online: [node2.local node1.local ]
>
> > ClusterIP (ocf::heartbeat:IPaddr2): Started node2.local
> > test (lsb:haproxy): Started node2.local
>
> > 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:
>
> > Online: [node1.local ]
> > OFFLINE: [ node2.local ]
>
> > Not sure what im missing here, however i would assume that both
> > resources should move over to Node1..
>
> > Thanks in advance for any help you can provide. --
> > Regards,
> > Mark Busuttil
>
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> > Project Home: http://www.clusterlabs.org
> > Getting started:
> > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120430/35fbbd97/attachment-0003.html>


More information about the Pacemaker mailing list