There are different scenarios for taking this course of action as detailed in VMware KB2144269 in my case this was a result of losing my lab vCenter which resulted in a manual effort to remove reservations, VM’s and tenant. The following details how to cleanup the virtual machines associated with a ‘Devops’ business group which prevented deletion of the associated reservation:

VMDelete0

Begin by downloading vRealize CloudClient 4.3 extracting the zip and running the cloudclient.bat file:

deleteendpointvRA1

Login to vRA from the cloud client console:

vra login userpass –user EHC_SYSADMIN –tenant EHC –server VRA01.ppsilver.lab.local –password password

VMDelete11

Login to the IaaS Web machine from the cloud client console:

vra login iaas –user svc_iaas –domain ppsilver.lab.local –server iaasweb01.ppsilver.lab.local –password password

VMDelete12

Remove the affected virtual machines owned by the ‘Devops’ Business Group:

vra machines forceunregister –name ppsilver-win012

VMDelete2

Virtual machines successfully removed from vRA:

VMDelete3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s