[Pacemaker] Avoid monitoring of resources on nodes

Daniel Dehennin daniel.dehennin at baby-gnu.org
Tue Nov 25 22:27:26 UTC 2014


David Vossel <dvossel at redhat.com> writes:

> actually, this is possible now. I am unaware of any configuration tools (pcs or
> crmsh) that support this feature yet though. You might have to edit the cib xml
> manually.
>
> There's a new 'resource-discovery' option you can set on a location constraint
> that help prevent resources from ever being started or monitored on a node.
>
> Example: never start or monitor the resource FAKE1 on 18node2.
>
> <rsc_location id="location-FAKE1-18node2" node="18node2" resource-discovery="never" rsc="FAKE1" score="-INFINITY"/>
>
> There are more examples in this regression test.
> https://github.com/ClusterLabs/pacemaker/blob/master/pengine/test10/resource-discovery.xml#L99

Thanks a lot.

I'll try find how to make the change directly in XML.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 342 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20141125/d555c2a4/attachment-0004.sig>


More information about the Pacemaker mailing list