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.

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.


  1. In Windows Server 2003 or 2008, start the Command Prompt.
  2. 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\
  3. Run the cleanup.bat script.
    cleanup.bat -u user -p password -d datacenter_name|deleteAllDCs
    Option Description
    -u Username of the vCenter Server Administrator.
    -p 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.
  4. Clear the Network uplink redundancy lost alarms for each ESXi host.
  5. Restart the VMware Virtual Center Management Webservices manually:
    Settings > Control Panel > Administrative Tools > Services > Services > VMware Virtual Center Management Webservicesand start the service. It might require several minutes to start the service.
  6. 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.