[Pacemaker] i try to replace current configure with empty file , but failed
ch huang
justlooks at gmail.com
Mon Jun 7 08:37:24 UTC 2010
yes i erase configure on prim ,but on sec node ,the configure still
exist,can not erase
[root at PRIM ~]# crm configure property stop-all-resources=true
[root at PRIM ~]# crm configure erase
INFO: resource references in colocation:mysql_on_drbd updated
INFO: resource references in order:mysql_after_drbd updated
crm_verify[32711]: 2010/06/05_14:26:22 WARN: cluster_status: We do not have
quor
um - fencing and resource management disabled
crm_verify[32711]: 2010/06/05_14:26:22 ERROR: unpack_resources: Resource
start-u
p disabled since no STONITH resources have been defined
crm_verify[32711]: 2010/06/05_14:26:22 ERROR: unpack_resources: Either
configure
some or disable STONITH with the stonith-enabled option
crm_verify[32711]: 2010/06/05_14:26:22 ERROR: unpack_resources: NOTE:
Clusters
w
ith shared data need STONITH to ensure data integrity
Errors found during check: config not valid
Do you still want to commit? commit
Please answer with y[es] or n[o]
Do you still want to commit? yes
[root at PRIM ~]# crm configure show
node PRIM
node SEC
property $id="cib-bootstrap-options" \
dc-version="1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7" \
cluster-infrastructure="openais" \
expected-quorum-votes="2"
[root at SEC home]# crm configure property stop-all-resources=true
[root at SEC home]# crm configure erase
WARNING: resource fs_mysql is running, can't delete it
WARNING: resource ip_mysql is running, can't delete it
WARNING: resource mysqld is running, can't delete it
WARNING: resource drbd_mysql is running, can't delete it
ERROR: CIB erase aborted (nothing was deleted)
On Mon, Jun 7, 2010 at 4:28 PM, Florian Haas <florian.haas at linbit.com>wrote:
> crm configure property stop-all-resources=true
> crm configure erase
>
> Cheers,
> Florian
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100607/e3534c9b/attachment-0002.htm>
More information about the Pacemaker
mailing list