[Pacemaker] The best way to take a CIB backup and rooback to a defined state

martin.braun at icw.de martin.braun at icw.de
Tue Oct 6 04:30:05 EDT 2009


Hi,

> - cibadmin -C --xml-file backupfile.xml
> 
> This is a way, but maybe not the best? 

I found this a convenient way:

- crm configure show > backup_config.xml
- crash!! 
- cibadmin -E --force
- edit configuration to delete last-lrm-refresh etc.
- crm configure < backup_config.xml

It's just because the "crm configure show" output is much easier (=> less 
error-prone)  to edit.

HTH,
Martin
 


coolpix880 at web.de wrote on 05.10.2009 22:06:47:

> [image removed] 
> 
> [Pacemaker] The best way to take a CIB backup and rooback to a defined 
state
> 
> coolpix880 
> 
> to:
> 
> pacemaker
> 
> 05.10.2009 22:07
> 
> Please respond to pacemaker
> 
> Hello
> 
> My cluster crashed two times and I lost my whole configuration, i.e.
> the cib..xml was garbage. I'm looking for a sure way to rollback my 
> configuration to a defined state.
> 
> I'm not sure if this is the best way:
> 
> - cibadmin -Q > backupfile.xml
> - crash!! 
> - cibadmin -E --force
> - editing backupfile.xml to removing the <cib ..../> meta 
> information, to avoid the version trouble
> - cibadmin -C --xml-file backupfile.xml
> 
> This is a way, but maybe not the best? 
> 
> Thanks
> ________________________________________________________________
> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker


InterComponentWare AG:  
Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, Jörg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516  



More information about the Pacemaker mailing list