There is no way to disable vCLS on a vSphere cluster and still have vSphere DRS remain functional on that cluster.
However, should it be necessary, disable vCLS on a cluster by following the Retreat Mode steps below. While in Retreat Mode, this will impact some of the cluster services for that cluster.
Impact/Risks:
Note: Retreat Mode should be used with extra caution and should be used only for the purposes mentioned in this document. Below are the details of the impacted cluster services due to the enablement of Retreat Mode on a cluster:
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
Note: Starting in vSphere 7.0 U3o and 8.0 U2, entering Retreat Mode is now available as a Cluster setting within the vCenter Server UI.
vSphere 7.0 U3o/8.0 U2 and Later
For Versions Prior to vSphere 7.0 U3o and 8.0 U2, Using the vSphere Client
domain-c<number>
part of the URL. https://<fqdn-of-vCenter-server>/ui/app/cluster;nav=h/urn:vmomi:ClusterComputeResource:domain-c1006:ce4a7b9f-768c-2222-3333-############/summary
. domain-c1006
" to use in the steps below.vpxd.cfg
configuration file.
sed '/<vcls>/,/<\/vcls>/d' -i /etc/vmware-vpx/vpxd.cfg
This will remove all Retreat Mode settings from all of the clusters in this vCenter, but it will allow vpxd to start again.Using APIs/CLIs
retreatModeConfiguration.py
script to configure Retreat Mode on multiple clusters on the VC.python retreatModeConfiguration.py -r disable or python retreatModeConfiguration.py -r enable
Identifying vCLS VMs
vCLS (<number>)
where the number field is auto-generated. All vCLS VMs with the Datacenter of a vSphere Client are visible in the VMs and Template tab of the client inside a VMs and Templates folder named vCLS.https://<IP address>
/mob/?moid=vm-1004&doPath=config.managedBy
https://<IP address>
/mob/?moid=vm-1004&doPath=config.extraConfig%5b%22HDCS.agent%22%5d