vCloud Director CloudCleaner Tool
I will be creating a vCloud Director install series so I wanted to clean-up my existing vCenter to make sure that there was not any objects remaining from my previous vCloud Director installation. I knew of a tool called CloudCleaner (https://labs.vmware.com/flings/cloudcleaner) that is a VMware Fling so I have decided to make a guide on how to use it. It has not been updated in a long time but still seems to work on vSphere 6. You will need to download the initial file from here – http://download3.vmware.com/software/vmw-tools/Cloudcleaner/cloudcleaner-3.2.1.jar – You may need Java Runtime Environment/Java to be installed for this to work correctly. This can be downloaded via their website.
Open the file and you will be presented with the following login prompt. You will need to enter your vCenter Hostname/IP and your administrator credentials.
CloudConnector will now scan the vCenter of anything left over by a previous vCloud Director Installation.
As you can see below, you will be presented with the below. This will confirm the items that it will attempt to remove from the vCenter. You can remove items from this list If required. I would advise being very careful here as It will remove old VM’s, Folders, resource pools and it may put your hosts in maintenance mode to remove the vCloud Agent.
When you press ‘Start Cleaning!’ it will ask for your host credentials so It can remove the vCloud Agent.
You can now see it is proceeding to remove the folders and resource pools left over by vCloud Director. The tool attempted to place my host in maintenance mode but as I use local storage I had to cancel this operation via vCenter.
Stay tuned for a vCloud Director Install series coming shortly!