Hi,

On Mon, Feb 11, 2008 at 10:57:46AM +0100, Johan Hoeke wrote:
> LS,
> 
> Now that I've got my cluster working, I'd like to be able to save the
> config in SVN and to rebuild the cluster from SVN if necessary.
> 
> In a thread from 2007-076-14 I found a reference to this by Bron
> Gondwana who wrote:
> 
> "Yeah, I have a couple of tools: 'update_managed.pl' which allows me to
> mark nodes unmanaged, and 'scorched_earth.pl' which nukes all
> heartbeat's processes on all nodes before it has a chance to figure out
> what's going on, then wipes out all on-disk config and state, builds and
> installs the latest config from svn and brings everything back up
> unmanged."
> 
> I'd love to see this scorched _earth.pl and hear how other people are
> doing this because I'm not sure what to put in SVN, (obviously not the
> entire cib.xml) and how to rebuild a cluster using SVN config files.

Yes, you should save the entire cib.xml, just without the status
section. That is the only way, unless you have some script
machinery to produce your production cib.xml.

Thanks,

Dejan

> t.i.a!
> 
> regards,
> 
> Johan
> 



> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to