[Pacemaker] i try to replace current configure with empty file , but failed

ch huang justlooks at gmail.com
Mon Jun 7 08:17:45 UTC 2010


i follow your way ,do this in prim node and sec node

here is prim node output

[root at PRIM ~]#  crm resource stop fs_mysql
[root at PRIM ~]#  crm resource stop ip_mysql
[root at PRIM ~]#  crm resource stop mysqld
[root at PRIM ~]# crm resource stop drbd_mysql
[root at PRIM ~]# crm configure erase
WARNING: resource drbd_mysql is running, can't delete it
ERROR: CIB erase aborted (nothing was deleted)
[root at PRIM ~]# crm resource stop drbd_mysql
[root at 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

[root at SEC home]# crm resource stop fs_mysql
[root at SEC home]# crm resource stop ip_mysql
[root at SEC home]# crm resource stop mysqld
[root at SEC home]# crm resource stop drbd_mysql
[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)

erase command failed on both nodes

On Mon, Jun 7, 2010 at 3:46 PM, Dalibor Dukic <dalibor.dukic at gmail.com>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 <dalibor.dukic at gmail.com>
>
>
> _______________________________________________
> 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/bbb8c06c/attachment-0002.htm>


More information about the Pacemaker mailing list