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

2010-06-08 Thread Andrew Beekhof
On Mon, Jun 7, 2010 at 9:35 AM, ch huang wrote: > i make an empty file tmp.xml: > > > > > > > > > > > > > and issue the command "cibadmin --replace --xml-file tmp.xml" ,try to erase > all configure in cluster,but failed with error > > how to do this(erase curre

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

2010-06-07 Thread ch huang
yes i erase configure on prim ,but on sec node ,the configure still exist,can not erase [r...@prim ~]# crm configure property stop-all-resources=true [r...@prim ~]# crm configure erase INFO: resource references in colocation:mysql_on_drbd updated INFO: resource references in order:mysql_after_drbd

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

2010-06-07 Thread Florian Haas
crm configure property stop-all-resources=true crm configure erase Cheers, Florian signature.asc Description: OpenPGP digital signature ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Pr

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

2010-06-07 Thread ch huang
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: reso

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

2010-06-07 Thread Dalibor Dukic
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 ___ Pacemaker mailin

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

2010-06-07 Thread ch huang
i make an empty file tmp.xml: and issue the command "cibadmin --replace --xml-file tmp.xml" ,try to erase all configure in cluster,but failed with error how to do this(erase current configure) [r...@sec ~]# cibadmin --replace --xml-file tmp.xml Call cib_repla