<div>Hi Lars,</div><div><br></div><div>Yes, you are right. But how to prevent the &quot;orphaned&quot; resources from stopping by default, please?<br><br><div class="gmail_quote">2011/12/17 Lars Ellenberg <span dir="ltr">&lt;<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</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, Dec 09, 2011 at 08:23:36AM +1100, Andrew Beekhof wrote:<br>
&gt; Can you file a bug and attach a crm_report to it please?<br>
&gt; Unfortunately there&#39;s not enough information here to figure out the<br>
&gt; cause (although it does look like a bug)<br>
<br>
<br>
</div>Node count drops from three to two,<br>
 rsc:2 becomes the label of &quot;orphaned&quot; resources,<br>
 &quot;orphanes&quot; are to be stopped by default?<br>
<br>
Something like that?<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; 2011/12/1 Sha Fanghao &lt;<a href="mailto:shafanghao@gmail.com">shafanghao@gmail.com</a>&gt;:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I have a cluster 3 nodes (CentOS 5.2) using pacemaker-1.0.11(also 1.0.12),<br>
&gt; &gt; with heartbeat-3.0.3.<br>
&gt; &gt;<br>
&gt; &gt; You can see the configuration:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; #crm configure show:<br>
&gt; &gt;<br>
&gt; &gt; node $id=&quot;85e0ca02-7aa4-45c8-9911-4035e1e6ee15&quot; node-2<br>
&gt; &gt;<br>
&gt; &gt; node $id=&quot;a046bd1e-6267-49e5-902d-c87b6ed1dcb9&quot; node-0<br>
&gt; &gt;<br>
&gt; &gt; node $id=&quot;d0f0b2ab-f243-4f78-b541-314fa7d6b346&quot; node-1<br>
&gt; &gt;<br>
&gt; &gt; primitive failover-ip ocf:heartbeat:IPaddr2 \<br>
&gt; &gt;<br>
&gt; &gt;         params ip=&quot;10.10.5.83&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         op monitor interval=&quot;5s&quot;<br>
&gt; &gt;<br>
&gt; &gt; primitive master-app-rsc lsb:cluster-master \<br>
&gt; &gt;<br>
&gt; &gt;         op monitor interval=&quot;5s&quot;<br>
&gt; &gt;<br>
&gt; &gt; primitive node-app-rsc lsb:cluster-node \<br>
&gt; &gt;<br>
&gt; &gt;         op monitor interval=&quot;5s&quot;<br>
&gt; &gt;<br>
&gt; &gt; group group-dc failover-ip master-app-rsc<br>
&gt; &gt;<br>
&gt; &gt; clone clone-node-app-rsc node-app-rsc<br>
&gt; &gt;<br>
&gt; &gt; location rule-group-dc group-dc \<br>
&gt; &gt;<br>
&gt; &gt;         rule $id=&quot;rule-group-dc-rule&quot; -inf: #is_dc eq false<br>
&gt; &gt;<br>
&gt; &gt; property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         start-failure-is-fatal=&quot;false&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         no-quorum-policy=&quot;ignore&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         symmetric-cluster=&quot;true&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         stonith-enabled=&quot;false&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         dc-version=&quot;1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87&quot; \<br>
&gt; &gt;<br>
&gt; &gt;         cluster-infrastructure=&quot;Heartbeat&quot;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; #crm_mon -n -1:<br>
&gt; &gt;<br>
&gt; &gt; ============<br>
&gt; &gt;<br>
&gt; &gt; Last updated: Sat Oct 29 08:44:14 2011<br>
&gt; &gt;<br>
&gt; &gt; Stack: Heartbeat<br>
&gt; &gt;<br>
&gt; &gt; Current DC: node-0 (a046bd1e-6267-49e5-902d-c87b6ed1dcb9) - partition with<br>
&gt; &gt; quorum<br>
&gt; &gt;<br>
&gt; &gt; Version: 1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87<br>
&gt; &gt;<br>
&gt; &gt; 3 Nodes configured, unknown expected votes<br>
&gt; &gt;<br>
&gt; &gt; 2 Resources configured.<br>
&gt; &gt;<br>
&gt; &gt; ============<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Node node-0 (a046bd1e-6267-49e5-902d-c87b6ed1dcb9): online<br>
&gt; &gt;<br>
&gt; &gt;         master-app-rsc  (lsb:cluster-master) Started<br>
&gt; &gt;<br>
&gt; &gt;         failover-ip     (ocf::heartbeat:IPaddr2) Started<br>
&gt; &gt;<br>
&gt; &gt;         node-app-rsc:0  (lsb:cluster-node) Started<br>
&gt; &gt;<br>
&gt; &gt; Node node-1 (d0f0b2ab-f243-4f78-b541-314fa7d6b346): online<br>
&gt; &gt;<br>
&gt; &gt;         node-app-rsc:1  (lsb:cluster-node) Started<br>
&gt; &gt;<br>
&gt; &gt; Node node-2 (85e0ca02-7aa4-45c8-9911-4035e1e6ee15): online<br>
&gt; &gt;<br>
&gt; &gt;         node-app-rsc:2  (lsb:cluster-node) Started<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; The problem:<br>
&gt; &gt;<br>
&gt; &gt; After stopping heartbeat service on node-1, if I remove node-1 with command<br>
&gt; &gt; &quot;hb_delnode node-1 &amp;&amp; crm node delete node-1&quot;, then<br>
&gt; &gt;<br>
&gt; &gt; the clone resource(node-app-rsc:2) running on the node-2 will restart and<br>
&gt; &gt; change to &quot;node-app-rsc:1&quot;.<br>
&gt; &gt;<br>
&gt; &gt; You know, the node-app-rsc is my application, and I don&#39;t want it to<br>
&gt; &gt; restart.<br>
&gt; &gt;<br>
&gt; &gt; How could I do, Please?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Any help will be very appreciated. :)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Best Regards,<br>
&gt; &gt;<br>
&gt; &gt;          Fanghao Sha<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&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; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt; &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: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
: Lars Ellenberg<br>
: LINBIT | Your Way to High Availability<br>
: DRBD/HA support and consulting <a href="http://www.linbit.com" target="_blank">http://www.linbit.com</a><br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
</font></span><div class="HOEnZb"><div class="h5"><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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>