On Mon, Jun 7, 2010 at 9:35 AM, ch huang <[email protected]> wrote:
> i make an empty file tmp.xml:
>
>  <cib admin_epoch="0" epoch="0" num_updates="0" have-quorum="false">
>    <configuration>
>     <crm_config/>
>
>     <nodes/>
>     <resources/>
>     <constraints/>
>    </configuration>
>    <status/>
>   </cib>
>
> 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_replace failed (-45): Update was older than existing configuration

http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch-cluster-options.html#s-options-version

_______________________________________________
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

Reply via email to