Disabling vSAN services may fail on existing vSAN cluster permanently due to various reasons.
search cancel

Disabling vSAN services may fail on existing vSAN cluster permanently due to various reasons.

book

Article ID: 390679

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Due to various reasons, it may required to decommission all the hosts and disable vSAN services the existing vSAN cluster.

Environment

VMware vSAN 7.x
VMware vSAN 8.x
Cluster has VMFS/NFS datastores and VMs running from those datastores.

Resolution

Instructions to disable vSAN services on vSAN cluster.

NOTICE: Please make sure we have no user data on vSAN datastore and considered to be DECOMMISSIONED. This data on the datastore be verified by browsing the vSAN datastore. If there is any data that is needed for future purpose, please backup the data.

VMs and other user data:

1. Evacuate all the VMs from vSAN Datastore using storage vMotion to other datastores in the same cluster or to a different cluster. 

If there is any other data (ISO, OVF, any other files) stored on vSAN datastore, copy or download it to a different location and preserve it.

vCLS VMs running on vSAN Datastore:

If vCLS VMs running on vSAN datastore, change the cluster services to Retreat Mode. This would disable the cluster services and delete the vCLS VMs from the vSAN datastore. Refer: Disable vCLS on a Cluster via Retreat Mode

vSAN Performance Service:

There is a perf stats objects which is residing on vSAN datastore. This shows in the object list on vSAN. Disabling the performance service would delete that perf stats object.

Ref: Unable to Disable Performance Service in vSAN 8

2. Once all the disk groups removed, you can disable vSAN service from services. Refer Enabling or disabling a vSAN cluster

3. Once the vSAN service is disabled on vSAN cluster, you can go ahead and detach the drives used for vSAN and reuse it for a different purpose.

4. Re-enable the vCLS services on cluster and this would deploy the vCLS VMs on next available datastores. Refer the document Disable vCLS on a Cluster via Retreat Mode and In the Edit vCLS Mode pop up window, click on the first radio option System Managed.

Refer the documents:

Disable vCLS on a Cluster via Retreat Mode

How to remove diskgroup on vSAN cluster host

Enabling or disabling a vSAN cluster