[Pacemaker] Pacemaker 1.1.7 order constraint syntax

Vadym Chepkov vchepkov at gmail.com
Thu Jul 19 09:44:33 EDT 2012


On Jul 19, 2012, at 8:16 AM, Phillip Frost wrote:

> On Jul 19, 2012, at 7:44 AM, Vadym Chepkov wrote:
> 
>> Not there either.
> 
> Maybe I'm not understanding your question. Isn't this what you are seeking?
> 
>> Ordered resource sets have an
>> extra attribute to allow for sets of resources whose actions may run
>> in parallel. The shell syntax for such sets is to put resources in
>> parentheses.
>> 
>> Example:
>>       order o1 inf: A ( B C )
> 
> Other examples are:
> 
> # A, then B, C, D, then E
> order o2 inf: A B C D E
> 
> # A, then B and C and D in parallel, then E
> order o2 inf: A ( B C D ) E
> 


which translates to

A (B and C and D) E

compare to 

A (B or C or D ) E



> If none of that is it, but you can find documentation of what you want in XML, you could try inserting the desired XML into your configuration, then running "crm configure show" to find the corresponding CRM syntax.
> 

Andreas beat me to it.





> _______________________________________________
> 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





More information about the Pacemaker mailing list