Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Removing a cluster in VMware vSphere Storage Appliance 1.0.x and 5.1.x (2004838)
Purpose
A vSphere Storage Appliance (VSA) cluster cannot be removed using either the VSA Manager or using the vSphere Client as the VSA virtual machines are locked for certain operations.
This article describes a process to delete a VSA Cluster, including:
- Removing VSA tags from the datacenter where the cluster is installed
- Unmounting VSA datastores from all mounted hosts
- Destroying VSA datastores
- Deleting all VSA virtual machines from ESXi hosts
Caution: Deleting VSA virtual machines is irreversible and results in data loss for everything stored on the VSA cluster.
Resolution
To delete a VSA 1.1 Cluster and its data:
- Un-register, migrate, or Storage vMotion off all virtual machines hosted on the VSA cluster's datastores.
Note: The datastores cannot be removed if they are in use by virtual machines. - Connect to the vCenter Server where VSA Manager is installed.
- As the Administrator, run these commands:
cd "%PROGRAMFILES%"\VMware\Infrastructure\tomcat\webapps\VSAManager\WEB-INF\classes
java -cp .;..\lib\* com.vmware.sva.manager.tools.DeleteSVACluster Administrator VC-Admin-Password
This puts your hosts back to a "greenfield" configuration (all networking removed, and the cluster is also removed).
Caution: This step deletes the VSA cluster node virtual machines and cannot be reverted. - VSA manager notifies you that the cluster is unavailable. To ensure that VSA manager shows the correct information, restart these services on the vCenter/VSA Manager Server:
- Restart the VSA cluster service
- Restart the VMware VirtualCenter Server service
- Log out of the vSphere Client and log into vCenter Server again. The VSA Manager now shows the VSA Installer screen which can be used to reinstall the VSA cluster.
Note: You may need to enable the VSA plug-in if the VSA Manager tab is missing.
To delete a VSA 5.1 Cluster:
Notes:
- VSA Manager provides a cleanup script (
cleanup.bat) that you use to delete a VSA cluster if you no longer use it, or to clean up the ESXi host 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, you must use the
cleanup.batscript that is installed by VSA Manager. - If
cleanup.batis run with no parameters, then all DCs being managed by the current VC are deleted.
- In Windows Server 2003 or 2008, open the Command Prompt.
- At the Command Prompt, change directory to the
cleanup.batscript directory:cd C:\Program Files\VMware\Infrastructure\tomcat\webapps\VSAManager\WEB-INF\test\tool\ - Run the
cleanup.batscript and provide Administrator credentials for vCenter Server:cleanup.bat user password datacenter_name
Fordatacenter_name, type the name of a datacenter that accommodates the VSA cluster you want to remove. If you do not provide the name, the script removes all available clusters.
Note: Thecleanup.batscript 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 tab shows a message that the VSA cluster is now unavailable. - Clear the Network uplink redundancy lost alarms for each ESXi host.
- Refresh the VSA Manager tab by restarting the vSphere Client or the vSphere web client, and the Tomcat Web service:
- Quit the client.
- At the Command Prompt, type
net stop vctomcatand press Enter to stop the Tomcat Web service. The Tomcat Web service stops. - At the Command Prompt, type
net start vctomcatand press Enter to restart the Tomcat Web service. The Tomcat Web service starts. - Start the client and navigate to the VSA Manager tab. The VSA Manager tab shows the VSA Installer wizard.
Note: You can now create a new VSA cluster with the same ESXi hosts.
Additional Information
See Also
This Article Replaces
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

