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

Andrew Beekhof andrew at beekhof.net
Wed Jun 9 06:53:14 UTC 2010


On Mon, Jun 7, 2010 at 9:35 AM, ch huang <justlooks at gmail.com> 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)
>
> [root at 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




More information about the Pacemaker mailing list