postheadericon UPDATE: Tool: CloudCleaner v2.5

UPDATE: [16-09-2010] Version 2.5 is released! Checkout the new features below! Please note that this is not an official VMware tool. Use it at your own risk!

My colleague, Luke Terheyden, coded a very useful tool to clean-up the vSphere environments prepared and managed by VMware vCloud Director. I was personally using it throughout the process of cleaning/reinstalling the different Redwood RTQA releases in my remote physical lab. You can imagine how much time and effort this tool saved me instead of going through the manual process.

I thought you also might be interested in the same since you will be probably in the phase of testing and evaluation of vCD at the time of writing these lines. I contacted Luke yesterday and he was very kind to approve sharing his tool with the public. To quote Luke’s own words: “I’m satisfied that it’s been used internally enough to be stable for a wider audience, so go ahead and post it on your blog! I would be thrilled if it could also help our customers.”

With that said, here is the download link.

The CloudCleaner removes the following (you have the choice to select whatever you want):

  • Virtual machines
  • Portgroups
  • VM inventory folders
  • Resource pools
  • Datastores
  • Networks
  • Uninstalls host agents

Features:

  • Written in java, so it’s cross-platform (It has been tested on Windows so far)
  • Easy-to-use UI
  • Intelligent authentication handling – if your login credentials fail, you’ll be given the chance to re-auth in realtime
  • Fast! Uses up to 2000 simultaneous threads
  • Single jar deployment – download and run
  • Auto-detects developer settings – vCenter IP and credentials
  • Safe – auto-detects inconsistencies and repairs them

New in release 2.5:

  • more robust error handling for edge cases
  • much smarter vCD item detection
  • no longer cleans VC VMs not related to vCloud Director
  • no longer wipes unrelated folders found in datastores
  • new – advanced ‘clean all’ mode, in case you really want to clean unrelated items!
  • fixed some thread lock issues
  • VC crawl engine optimizations
  • now supports command-line usage
  • fixed some scan / rescan bugs
  • now detects orphaned objects (e.g. removing a VM leaves a folder behind, etc.)

Screenshot:

Share
  • Pingback: Exectweets » KendrickColeman at 09/10/10 11:19:25

  • http://vdestination.com/ gregwstuart

    I like this tool, but in the hands of an amateur it could do some real damage, especially the part about datastores “all your datastore content will be deleted if you chose this option” Wow, careful people, this could be a REGE incident (resume generating incident).

  • http://www.hypervizor.com Hany Michael

    Hi Greg,

    Thanks for the feedback, I will pass to my colleague maybe he can put more restrictions on this part. In general, this tool should be used in lab environments only not production, also you will need the admin and root passwords for the vCenter and ESX servers respectively.

  • http://www.vcritical.com Eric Gray

    I used CloudCleaner yesterday when updating my vCD to the GA release. Very handy.

    And I use the term “update” loosely…

  • http://www.hypervizor.com Hany Michael

    thanks for the feedback, Eric! Will pass it to Luke, although you may already know him ;)

  • http://www.terheyden.com Luke

    Thanks for the feedback, Greg. The latest version (2.5) only cleans vCloud-related data from datastores. Please let me know if you have any other suggestions.


My name is Hany Michael, Consulting Architect at VMware. I blog about various topics ranging from the core vSphere technologies all the way to the vCloud based products. (Read more)
Sponsors
Disclaimer
Any views or opinions expressed on this blog are strictly my own and not the opinions and views of my employer.