Re: [Pacemaker] recover cib from raw file
Brilliant, thanks Andrew. I was looking for a pcs option. Should have thought about cibadmin. Hopefully I will never break things badly enough to have to use it :-) Regards Sean O'Reilly On Mon 11/11/13 10:03 PM , Andrew Beekhof and...@beekhof.net sent: On 11 Nov 2013, at 9:41 pm, s.oreilly s.orei...@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@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 ___ Pacemaker mailing list: Pacemaker@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
Re: [Pacemaker] recover cib from raw file
I wouldn't be surprised to see a relevant pcs command in the future ;-) On 12 Nov 2013, at 8:51 pm, s.oreilly s.orei...@linnovations.co.uk wrote: Brilliant, thanks Andrew. I was looking for a pcs option. Should have thought about cibadmin. Hopefully I will never break things badly enough to have to use it :-) Regards Sean O'Reilly On Mon 11/11/13 10:03 PM , Andrew Beekhof and...@beekhof.net sent: On 11 Nov 2013, at 9:41 pm, s.oreilly s.orei...@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@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 signature.asc Description: Message signed with OpenPGP using GPGMail ___ Pacemaker mailing list: Pacemaker@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
Re: [Pacemaker] recover cib from raw file
On 2013-11-12T09:51:02, s.oreilly s.orei...@linnovations.co.uk wrote: Brilliant, thanks Andrew. I was looking for a pcs option. Should have thought about cibadmin. Hopefully I will never break things badly enough to have to use it :-) crm configure load xml ... ;-) Regards, Lars -- Architect Storage/HA SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Experience is the name everyone gives to their mistakes. -- Oscar Wilde ___ Pacemaker mailing list: Pacemaker@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
Re: [Pacemaker] recover cib from raw file
On 11 Nov 2013, at 9:41 pm, s.oreilly s.orei...@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@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 ___ Pacemaker mailing list: Pacemaker@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