Shut Down the vSphere Cluster Services Virtual Machines

To shut down the vSphere Cluster Services (vCLS) virtual machines in a cluster in a VI workload domain in
VMware Cloud Foundation
, you put the cluster in retreat mode. The retreat mode triggers clean-up of the vCLS virtual machines.
  1. Log in to vCenter Server for the management or VI workload domain at
    https://<vcenter_server_fqdn>/ui
    as
    administrator@vsphere.local
    .
  2. In the
    Hosts and clusters
    inventory, expand the tree of the VI workload domain vCenter Server and expand the data center for the VI workload domain.
  3. Select the cluster on which vCLS must be shut down.
  4. Copy the cluster domain ID
    domain-c(
    cluster_domain_id
    )
    from the URL of the browser.
    When you navigate to a cluster in the vSphere client, the URL is similar to this one:
    https://<fqdn-of-vCenter-server>/ui/app/cluster;nav=h/urn:vmomi:ClusterComputeResource:domain-c
    8
    :eef257af-fa50-455a-af7a-6899324fabe6/summary
    You copy only
    domain-c8
    .
  5. In the
    Host and Clusters
    inventory, select the vCenter Server instance for the VI workload domain and click the
    Configure
    tab.
  6. Under
    Advanced Settings
    , click the
    Edit Settings
    button.
  7. Locate the
    config.vcls.clusters.domain-c(
    number
    ).enabled
    property for the domain cluster ID from 4 and set it to
    false
    .
    If the property is not present, add it. The entry for the cluster cannot be deleted from the vSphere Client then. However, keeping this entry is not an issue.
  8. Click
    Save
    .
The vCLS monitoring service initiates the clean-up of vCLS VMs. If vSphere DRS is activated for the cluster, it stops working and you see an additional warning in the cluster summary. vSphere DRS remains deactivated until vCLS is re-activated on this cluster.