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

ch huang justlooks at gmail.com
Mon Jun 7 07:35:31 UTC 2010


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
<null>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100607/04ee7962/attachment-0001.html>


More information about the Pacemaker mailing list