[Pacemaker] ping monitor
Andrew Beekhof
andrew at beekhof.net
Tue Oct 15 22:00:05 UTC 2013
On 14/10/2013, at 7:51 PM, s.oreilly <s.oreilly at linnovations.co.uk> wrote:
> Hi,
>
> I am setting up a 2 node mysql cluster using pcs instead of crm for the first
> time and have everything working nicely except my ping monitor.
> Ping is running on both nodes but I can't figure out how to configure the
> location resource to failover if the network fails on the live node!!
>
> With crm I would have done something similar to this
>
> crm(live) configure# location l_drbd_master_on_ping ms_drbd_mysql rule
> $role="Master" -inf: not_defined ping or ping number:lte 0
>
> I don't seem to be able to replicate this with pcs. Can anyone point me in the
> right direction?
For now it has to be two separate rules, eg:
pcs constraint location rule ms_drbd_mysql score=-INFINITY connected lte 0
pcs constraint location rule ms_drbd_mysql score=-INFINITY connected not_defined
>
> Pacemaker version 1.1.8-7
> pcs version 0.9.26-10.0.1
>
> many Thanks
>
> Sean O'Reilly
>
>
>
>
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131016/4378c937/attachment-0004.sig>
More information about the Pacemaker
mailing list