Maintenance mode each host in a cluster

I needed to move all my VM swap files from one datastore to another and after i changed the swap location i needed to VMotion each vm once to make them relocate the swap file.
I wrote a quick workflow that puts one host at a time in to maintenance mode for a cluster.
As you can see this was written before the new for-each functionality that now exists in 5.1, I will be rewriting this in a future post to show how much easier it is to do that now.

As always, make sure you test it thoroughly before running on any production systems. And no warranties are included.

Any comments / suggestions are welcome.

Download package here.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">