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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
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