Manually Removing vCloud Director Agents

There are a few scenarios where you need to manually remove a vCloud Director agent from an ESXi host, for example troubleshooting or re-preparing a host following a failed vCloud Director installation.

It’s quite simple to achieve in both ESXi 4.1 and 5.x host versions. (You need to enable SSH for the host in the security profile for this method, if it isn’t usually running).

1) In both cases, SSH to the ESXi host, authenticating as root user.

2a) For ESXi 4.1 hosts, run the following command:

/opt/vmware/uninstallers/vslad-uninstall.sh

2b) For ESXi 5.x hosts, run the following command:

esxcli software vib remove -n vcloud-agent

3) DIsconnect your SSH session.

Re-secure the host in the security profile if SSH is not usually enabled.

Following this process, hosts should then be available to be prepared from the vCloud Director console in the usual manner.

Jeremy loves all things technology! Has been in IT for years, loves Macs (but doesn't preach to others about their virtues), loves virtualization (and does shout about it's virtues), and sometimes skis, bikes and directs amateur plays!

Comments

Leave a Reply

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

Powered by sweet Captcha