i follow your way ,do this in prim node and sec node here is prim node output
[r...@prim ~]# crm resource stop fs_mysql [r...@prim ~]# crm resource stop ip_mysql [r...@prim ~]# crm resource stop mysqld [r...@prim ~]# crm resource stop drbd_mysql [r...@prim ~]# crm configure erase WARNING: resource drbd_mysql is running, can't delete it ERROR: CIB erase aborted (nothing was deleted) [r...@prim ~]# crm resource stop drbd_mysql [r...@prim ~]# crm configure erase WARNING: resource drbd_mysql is running, can't delete it ERROR: CIB erase aborted (nothing was deleted) and here is sec node output [r...@sec home]# crm resource stop fs_mysql [r...@sec home]# crm resource stop ip_mysql [r...@sec home]# crm resource stop mysqld [r...@sec home]# crm resource stop drbd_mysql [r...@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) erase command failed on both nodes On Mon, Jun 7, 2010 at 3:46 PM, Dalibor Dukic <[email protected]>wrote: > On Mon, 2010-06-07 at 15:35 +0800, ch huang wrote: > > how to do this(erase current configure) > > You could stop all resources with: > # crm resource stop RES_NAME > > and afterwards erase CIB with > # crm configure erase > > -- > Dalibor Dukic <[email protected]> > > > _______________________________________________ > Pacemaker mailing list: [email protected] > 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 >
_______________________________________________ Pacemaker mailing list: [email protected] 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
