No, i mean that in this constaint:<br><br>location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \<br>        rule role=&quot;slave&quot; -inf: #uname ne drbd3<br><br>pacemaker will try to start slave part of resource (if drbd3 is down) on other nodes, but it doesn&#39;t must do that. For example on follow configuration:<br>
<br>location ms_drbd_svn_slave_on_backup0 ms_drbd_svn-U \<br>        rule role=&quot;Slave&quot; -inf: #uname ne backup0<br><br><br>I see follow in failed actions:<br><br> drbd_svn-U:1_start_0 (node=storage1, call=364, rc=-2, status=Timed Out): unknown exec error. <br>
<br><br>But as i think pacemaker doesn&#39;t must try do start actions on Slave part of resource ms_drbd_svn-U on node storage1. And this looks like bug or perhaps i misunderstand some things.<br><br><div class="gmail_quote">
2011/6/21 Andrew Beekhof <span dir="ltr">&lt;<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Jun 17, 2011 at 9:31 AM, ruslan usifov &lt;<a href="mailto:ruslan.usifov@gmail.com">ruslan.usifov@gmail.com</a>&gt; wrote:<br>
&gt; Andrew does any chance to fix this behaivour??? Now this constraint doesn&#39;t<br>
&gt; work:<br>
<br>
</div>Define &quot;doesn&#39;t work&quot;?<br>
Not accepted by the shell?  Allow&#39;s it to be started elsewhere?<br>
In the later case, please include a crm_report covering the time when<br>
ms_drbd_web-U was promoted in the incorrect location<br>
<div><div></div><div class="h5"><br>
&gt;<br>
&gt; location ms_drbd_web_slave_on_backup0 ms_drbd_web-U \<br>
&gt;         rule $id=&quot;ms_drbd_web_slave_on_backup0-rule&quot; $role=&quot;Slave&quot; -inf:<br>
&gt; #uname ne backup0<br>
&gt;<br>
&gt;<br>
&gt; 2011/6/8 ruslan usifov &lt;<a href="mailto:ruslan.usifov@gmail.com">ruslan.usifov@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; I want exactly slave role will be launch only drbd3 (stacked drbd<br>
&gt;&gt; resource). So disable launch resource on drbd3 at all not good solution for<br>
&gt;&gt; me<br>
&gt;&gt;<br>
&gt;&gt; 2011/6/8 Dominik Klein &lt;<a href="mailto:dk@in-telegence.net">dk@in-telegence.net</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Try without role. If the resource must not run on the node at all, then<br>
&gt;&gt;&gt; the role does not matter. Maybe there&#39;s a bug with role=&quot;slave&quot;?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 06/08/2011 10:56 AM, ruslan usifov wrote:<br>
&gt;&gt;&gt; &gt; i try follow:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \<br>
&gt;&gt;&gt; &gt;         rule role=&quot;slave&quot; -inf: #uname ne drbd3<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; result is identical, pacemaker try launch slave role on other<br>
&gt;&gt;&gt; &gt; nodes:-(((<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2011/6/8 Dominik Klein &lt;<a href="mailto:dk@in-telegence.net">dk@in-telegence.net</a><br>
&gt;&gt;&gt; &gt; &lt;mailto:<a href="mailto:dk@in-telegence.net">dk@in-telegence.net</a>&gt;&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;     &gt;&gt; but when i shutdown drbd3 host Pacemaker try start slave role on<br>
&gt;&gt;&gt; &gt;     &gt;&gt; other host. How can i prevent this behavior?<br>
&gt;&gt;&gt; &gt;     &gt;<br>
&gt;&gt;&gt; &gt;     &gt; try<br>
&gt;&gt;&gt; &gt;     &gt; s/inf/-inf<br>
&gt;&gt;&gt; &gt;     &gt; s/eq/neq<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;     &quot;ne&quot; actually, sorry<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt;&gt;&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt;&gt;&gt; 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>
&gt;&gt;&gt; Bugs:<br>
&gt;&gt;&gt; <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>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; Bugs:<br>
&gt; <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>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">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>