[Pacemaker] problem with float IP with pacemaker

Andrew Beekhof andrew at beekhof.net
Fri Dec 14 02:34:18 UTC 2012


On Fri, Dec 14, 2012 at 6:59 AM, Jake Smith <jsmith at argotec.com> wrote:
>
> ________________________________
>
> From: "Felipe Gutierrez" <felipe.o.gutierrez at gmail.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Thursday, December 13, 2012 2:41:35 PM
> Subject: [Pacemaker] problem with float IP with pacemaker
>
>
> Hi,
>
> I tryed to make this configuration of failover floating IP on my cluster:
>
> on the master:
> crm configure
> primitive ClusterIP ocf:heartbeat:IPaddr2 params ip=192.168.188.80
> cidr_netmask=32 op monitor interval=30s
> commit
>
> After this I configured the quorum:
> crm configure property no-quorum-policy=ignore
>
> I stop the corosync on master machine and the IP float to the slave machine.
> But when I start the corosync on the master machine, the IP doesn't float
> back.
> Does anyone know why?
>
> I'm not sure the guide is correct in showing the IP going back to the master
> machine with that basic configuration...

Pacemaker used to behave that way, we've since fixed it (and updated
newer versions of the guide)

> You would need at least one of
> these three things before the cluster would fail-back the IP to the master
> when it comes back:
> Location preference for the master
> Modification of resource-stickiness
> More than one resource configured
>
> On the next page of the guide "By default, Pacemaker assumes there is zero
> cost associated with moving resources and will do so to achieve
> "optimal[15]" resource placement." - I don't see anything in the basic
> config that would make the cluster move the IP back to master.
>
> HTH
>
> Jake
>
> i am following this site:
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/ch05s03.html
>
> Thanks in advance,
> Felipe
>
> --
> --
> -- Felipe Oliveira Gutierrez
> -- Felipe.o.Gutierrez at gmail.com
> -- https://sites.google.com/site/lipe82/Home/diaadia
>
> _______________________________________________
> 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
>




More information about the Pacemaker mailing list