VSA Manager provides a cleanup script that you use to delete a VSA cluster if you no longer use it or to clean up the ESXi hosts configuration if you failed to create a VSA cluster and want to make another attempt.
About this task
You cannot delete the VSA cluster by uninstalling VSA Manager. To delete the VSA cluster managed by the vCenter Server, you must use the cleanup.bat script that is installed by VSA Manager.
- In Windows Server 2003 or 2008, start the Command Prompt.
- In the Command Prompt, change directory to the directory of the cleanup.bat script.
cd C:\Program Files\VMware\Infrastructure\tomcat\webapps\VSAManager\WEB-INF\test\tool\
- Run the cleanup.bat script.
cleanup.bat -u user -p password -d datacenter_name|deleteAllDCs
Username of the vCenter Server Administrator.
Password of the vCenter Server Administrator.
The name of a datacenter that accommodates the VSA cluster you want to remove.
Type this option if you want to delete all VSA clusters managed by vCenter Server.
The cleanup.bat script unmounts and deletes the VSA datastores, stops and deletes the VSA virtual machines, and reverts the ESXi hosts to their default configuration. The script removes additional virtual switches and uplinks and preserves only the default port groups for the default virtual switch. After the process finishes, the ESXi hosts might appear with an alert icon in the vCenter Server inventory. This is because the script deletes the redundant uplinks for the default virtual switch. The VSA Manager page shows a message that the VSA cluster is now unavailable.
- Clear the Network uplink redundancy lost alarms for each ESXi host.
- Restart the VMware Virtual Center Management Webservices manually:
and start the service. It might require several minutes to start the service.
- Refresh the vSphere Web Client and the VSA Manager page.
What to do next
You can now create a new VSA cluster with the same ESXi hosts.