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