[ClusterLabs] Antwort: pcs removing single order constraint

philipp.achmueller at arz.at philipp.achmueller at arz.at
Fri Jun 12 07:59:59 UTC 2015


Dennis Jacobfeuerborn <dennisml at conversis.de> schrieb am 12.06.2015 
04:19:57:

> Von: Dennis Jacobfeuerborn <dennisml at conversis.de>
> An: users at clusterlabs.org
> Datum: 12.06.2015 04:21
> Betreff: [ClusterLabs] pcs removing single order constraint
> 
> Hi,
> I'm wondering how I can remove a single order constraint using pcs.
> Given the following constraints:
> 
> 1. A -> B
> 2. B -> C
> 3. C -> D
> 
> How can I remove constraint 2?
> 
> "pcs constraint order remove B" would remove both 1+2, "pcs constraint
> order remove C" would remove 2+3 and "pcs constraint order remove B C"
> would remove all constraints since an OR is implied there.
> 
> So how do I remove constraint 2 only without touching the other ones?
> 

removing "constraint id" works best for me:

lookup id:
pcs constraint show --full 

remove id:
pcs constraint remove order-b-c-mandatory

regards
Philipp

> Regards,
>   Dennis
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20150612/cc1763f5/attachment.htm>


More information about the Users mailing list