[Pacemaker] Pacemaker 1.1.7 order constraint syntax

Andreas Kurz andreas at hastexo.com
Thu Jul 19 12:38:53 UTC 2012


On 07/19/2012 11: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 ?

I don't think it is supported in crm or any other configuration tool
.... syntax for above example in xml looks like:

<rsc_order id="order-1">
      <resource_set id="req-1" sequential="false" require-all="false">
        <resource_ref id="B"/>
        <resource_ref id="C"/>
	<resource_ref id="D"/>
      </resource_set>
      <resource_set id="req-2">
        <resource_ref id="A"/>
      </resource_set>
</rsc_order>

... can be found in the pengine regression tests directory in Pacemaker
source ...

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

> 
> Thanks,
> Vadym
> 
> 
> 
> _______________________________________________
> 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
> 





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120719/d7ace634/attachment-0004.sig>


More information about the Pacemaker mailing list