[Pacemaker] Offline Cluster edit

Lars Marowsky-Bree lmb at suse.com
Tue Oct 15 10:38:05 UTC 2013


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





More information about the Pacemaker mailing list