David Vossel <dvos...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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

Reply via email to