[Pacemaker] recover cib from raw file

Andrew Beekhof andrew at beekhof.net
Mon Nov 11 17:03:12 EST 2013


On 11 Nov 2013, at 9:41 pm, s.oreilly <s.oreilly at linnovations.co.uk> wrote:

> Hi,
> 
> Is it possible to recover/replace cib.xml from one of the raw files in
> /var/lib/pacemaker/cib?
> 
> I would like to reset the cib to the configuration referenced in cib.last. In the
> case cib-89.raw
> 
> I haven't been able to find a command to do this.

You can reload it into a running cluster with:

cibadmin --replace --xml-file /path/to/cib-89.raw

> 
> Thanks
> 
> 
> Sean O'Reilly
> 
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> 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://bugs.clusterlabs.org





More information about the Pacemaker mailing list