Many thanks Pavel !! Using a value of 0 changes the behavior to the desired, makes perfect sense when explained in plain terms also !!<div><br></div><div>I will experiment with some non-0 values, what situations could cause the order directive not being honored with a 0 value ?<br>
<br><div class="gmail_quote">On Tue, Mar 22, 2011 at 8:35 AM, Pavel Levshin <span dir="ltr"><<a href="mailto:pavel@levshin.spb.ru">pavel@levshin.spb.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
21.03.2011 1:39, David Morton:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="im">
order DB_SHARE_FIRST_DEPOT inf: CL_OCFS2_SHARED DEPOT<br>
order DB_SHARE_FIRST_ESP_AUDIT inf: CL_OCFS2_SHARED ESP_AUDIT<br>
<br>
</div></blockquote>
<br>
Hmm, does not this cause the observed behaviour? Infinite score makes order mandatory. It is not simple ordering. It requires to do both actions together always. Order is also symmetric by default. Your rules could be written in common language as follows:<br>
<br>
1. Always start CL_OCFS2_SHARED then start DEPOT;<br>
1a. Always stop DEPOT then stop CL_OCFS2_SHARED;<br>
2. Always start CL_OCFS2_SHARED then start ESP_AUDIT;<br>
2a. Always stop ESP_AUDIT then stop CL_OCFS2_SHARED;<br>
<br>
In your described case, cluster wants to execute 2a. It causes 1a to be executed, because CL_OCFS2_SHARED stops. Then the cluster starts DEPOT again.<br>
<br>
Where this behaviour is useful is not clear to me. Could anyone explain?<br>
<br>
I should suggest relaxing your ordering rules to 0: score.<div><div></div><div class="h5"><br>
<br>
<br>
--<br>
Pavel Levshin<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</div></div></blockquote></div><br></div>