yes i erase configure on prim ,but on sec node ,the configure still exist,can not erase<br><br>[root@PRIM ~]# crm configure property stop-all-resources=true<br>[root@PRIM ~]# crm configure erase<br>INFO: resource references in colocation:mysql_on_drbd updated<br>
INFO: resource references in order:mysql_after_drbd updated<br>crm_verify[32711]: 2010/06/05_14:26:22 WARN: cluster_status: We do not have quor um - fencing and resource management disabled<br>
crm_verify[32711]: 2010/06/05_14:26:22 ERROR: unpack_resources: Resource start-u p disabled since no STONITH resources have been defined<br>
crm_verify[32711]: 2010/06/05_14:26:22 ERROR: unpack_resources: Either configure some or disable STONITH with the stonith-enabled option<br>
crm_verify[32711]: 2010/06/05_14:26:22 ERROR: unpack_resources: NOTE: Clusters w ith shared data need STONITH to ensure data integrity<br>
Errors found during check: config not valid<br>Do you still want to commit? commit<br>Please answer with y[es] or n[o]<br>Do you still want to commit? yes<br>[root@PRIM ~]# crm configure show<br>node PRIM<br>node SEC<br>property $id="cib-bootstrap-options" \<br>
dc-version="1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7" \<br> cluster-infrastructure="openais" \<br> expected-quorum-votes="2"<br><br>[root@SEC home]# crm configure property stop-all-resources=true<br>
[root@SEC home]# crm configure erase<br>WARNING: resource fs_mysql is running, can't delete it<br>WARNING: resource ip_mysql is running, can't delete it<br>WARNING: resource mysqld is running, can't delete it<br>
WARNING: resource drbd_mysql is running, can't delete it<br>ERROR: CIB erase aborted (nothing was deleted)<br><br><br><br><div class="gmail_quote">On Mon, Jun 7, 2010 at 4:28 PM, Florian Haas <span dir="ltr"><<a href="mailto:florian.haas@linbit.com">florian.haas@linbit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">crm configure property stop-all-resources=true<br>
crm configure erase<br>
<br>
Cheers,<br>
<font color="#888888">Florian<br>
<br>
</font><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>
<br></blockquote></div><br>