[Linux-HA] Re: Change the cib.xml under a live cluster

Stephen Souness sounie at hotmail.com
Mon Nov 6 20:31:34 MST 2006


Andrew Beekhof wrote:
> Please never, never ever, not in a million years, change the cib.xml
> file when the cluster is active.
> 
> We specifically try to detect this, thats how bad an idea it is.
> 
> If you want to edit the XML by hand, please get a copy of it by running:
>    cibadmin -Q > ~/saved.cib.xml
> 
> then you may safely edit ~/saved.cib.xml and (when you're ready)
> upload it again with:
>    cat ~/saved.cib.xml | cibadmin -R (plus any other options you want to 
> add)
>


cat ~/saved.cib.xml | cibadmin -R -p

may get you a bit further - otherwise you could get presented with:

Call cib_replace failed (-25): The update was empty
<null>




--
Stephen



More information about the Linux-HA mailing list