[Pacemaker] Offline Cluster edit

Robert Lindgren robert.lindgren at gmail.com
Tue Oct 15 10:43:07 UTC 2013


Excellent, thanks Lars, this looks the proper way forward! Cheers


On Tue, Oct 15, 2013 at 12:38 PM, Lars Marowsky-Bree <lmb at suse.com> wrote:

> On 2013-10-15T09:39:25, Robert Lindgren <robert.lindgren at gmail.com> wrote:
>
> What I'd do is to backup, then wipe the cluster configuration
> (/var/lib/pacemaker/cib/*), restart with the empty configuration (which
> will also help with ids that have changed etc).
>
> And then:
> # crm configure
> crm(live)configure# load xml replace /path/to/cib-backup.xml
> crm(live)configure# edit
> (Fix up anything you need fixed)
>
> crm(live)configure# simulate actions nograph
>
> (See if it does what you expect it to; edit until it really does ;-)
>
> crm(live)configure# commit
>
> I really don't like editing xml by hand ;-)
>
>
> --
> 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131015/ec40ccf9/attachment.htm>


More information about the Pacemaker mailing list