Add a tool for cleaning up clusters
authorIustin Pop <iustin@google.com>
Tue, 24 Jun 2008 05:17:25 +0000 (05:17 +0000)
committerIustin Pop <iustin@google.com>
Tue, 24 Jun 2008 05:17:25 +0000 (05:17 +0000)
commit9598bd0ad9e948329ffd94a193a695866b2b6a4a
treed88420fd20cced643e33dd0b0c95e586e0710e6d
parent5da1b1e9441cddb062902acd9a422477c5b6c1a1
Add a tool for cleaning up clusters

This tool (that is not installed, just available in the source tree)
helps with cleaning up clusters to a (as much as possible) pristine
state. This helps in preparing for QA runs. By cleaning I mean removing
all instances, logical volumes, nodes, etc. - so this will cause
complete data-loss if it's run on a normal cluster.

Limitations: it only deals with drbd8 and not md (if any md devices are
in use which use drbd devices, they will not be cleaned up). Also the
logic behind the cleaning up is not bulet-proof.

Reviewed-by: ultrotter
devel/Makefile.am
devel/clean-cluster.in [new file with mode: 0644]