[Linux-cluster] ordering scores and kinds

Andrew Beekhof andrew at beekhof.net
Mon Sep 29 07:14:37 UTC 2014


On 22 Sep 2014, at 6:24 pm, Ferenc Wagner <wferi at niif.hu> wrote:

> Hi,
> 
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-ordering.html
> says that optional ordering is achieved by setting the "kind" attribute
> to "Optional".  However, the next section
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_advisory_ordering.html
> says that advisory ordering is achieved by setting the "score" attribute
> to 0.  Is there any difference between an optional and an advisory
> ordering constraint?

No.  kind=optional is the newer syntax that was intended to be more human friendly

>  How do nonzero score values influence cluster
> behaviour, if at all?

score > 0 is equivalent to kind=mandatory

>  Or is the kind attribute intended to replace all
> score settings on ordering constraints?

yes

> -- 
> Thanks,
> Feri.
> 
> -- 
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20140929/64881deb/attachment.sig>


More information about the Linux-cluster mailing list