[Pacemaker] Force Pacemaker to not monitor resources on a node

Andrew Beekhof andrew at beekhof.net
Mon Sep 29 02:59:19 EDT 2014


On 27 Sep 2014, at 5:40 am, Arnold Krille <arnold at arnoldarts.de> wrote:

> Hi,
> 
> On Fri, 26 Sep 2014 12:46:30 +0200 Felix Zachlod
> <fz.lists at sis-gmbh.info> wrote:
>> I am currently trying to add a third node only for giving a quorum a
>> to the cluster in case a servicing node fails. But oviously I can't
>> get it right.
> <snip>
>> This is the message from crm status:
>> 
>> Failed actions:
>>     drbd_testdata1:0_monitor_0 (node=storage-voter, call=9, rc=5, 
>> status=complete): not installed
>> 
>> Can anyone give me a hint how to solve this? As said storage-voter
>> will never run any resource although it would be nive if it could
>> trigger stonith actions anyway.
> 
> Additional to your own findings:
> 
> When the cluster is symmetric, the monitor action _will_ be called on
> all nodes. The reason is that you told to cluster to be responsible to
> run your resource. And also to be responsible that the resource isn't
> running where it shouldn't. So it runs the monitor action at least once
> on every node to make sure the resource isn't somewhere where it
> doesn't belong.
> 
> The failure of "not installed" is then exactly what you want to have
> there. And its far less critical to get a failed monitor action on the
> node where it shouldn't run then when a resource is actually running on
> a node where cluster is expecting it and subsequently a start-action
> failing on another node.

Right. We always run the monitor op, but for symetric-cluster="false" we don't treat the failure as an error.

> 
> Have a nice weekend,
> 
> Arnold
> _______________________________________________
> 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/20140929/e50b0f41/attachment-0003.sig>


More information about the Pacemaker mailing list