[Pacemaker] Pacemaker 1.1.7 order constraint syntax

Vadym Chepkov vchepkov at gmail.com
Thu Jul 19 07:44:28 EDT 2012


On Jul 19, 2012, at 6:55 AM, Phillip Frost wrote:

> On Jul 19, 2012, at 5:47 AM, Vadym Chepkov wrote:
> 
>> Hi,
>> 
>> When Pacemaker 1.1.7 was announced, a new feature was mentioned:
>> 
>> The ability to specify that A starts after ( B or C or D )
>> 
>> I wasn't able to find an example how to express it crm shell in neither man crm nor in Pacemaker Explained.
>> In fact, http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-ordering.html doesn't have new attribute listed either.
>> Is it supported in crm ?
> 
> crm configure help order

Not there either.

pacemaker-1.1.7-6.el6.x86_64

This constraint expresses the order of actions on two resources
or more resources. If there are more than two resources, then the
constraint is called a resource set. 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.

Usage:
...............
        order <id> score-type: <rsc>[:<action>] <rsc>[:<action>] ...
          [symmetrical=<bool>]

        score-type :: advisory | mandatory | <score>
...............
Example:
...............
        order c_apache_1 mandatory: apache:start ip_1
        order o1 inf: A ( B C )
...............


Vadym

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120719/d8b63abf/attachment-0003.sig>


More information about the Pacemaker mailing list