22.03.2011 0:06, David Morton:
Many thanks Pavel !! Using a value of 0 changes the behavior to the desired, makes perfect sense when explained in plain terms also !!

I will experiment with some non-0 values, what situations could cause the order directive not being honored with a 0 value ?


Advisory-only ordering is applied when both action need to be executed. You have colocation constraint which takes care of starting OCFS2_SHARED with DEPOT, and then order constraint determines what starts first. The same logic applies to stop. So this setup should be safe.

Note that score in ordering constraint is somewhat misleading. The actual value does not matter; basically, there is only two possible values: above zero for mandatory constraing and zero or less for advisory one.


--
Pavel Levshin


_______________________________________________
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to