On 14/10/2013, at 7:51 PM, s.oreilly <s.orei...@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@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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Pacemaker mailing list: Pacemaker@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