ERROR: " vSphere DRS functionality was impacted due to unhealthy state vSphere Cluster Services caused by the unavailability of vSphere Cluster Service VMs" due to shared scratch location
search cancel

ERROR: " vSphere DRS functionality was impacted due to unhealthy state vSphere Cluster Services caused by the unavailability of vSphere Cluster Service VMs" due to shared scratch location

book

Article ID: 430975

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

vSphere DRS functionality is impaired or stops working completely. vSphere Cluster Services (vCLS) VMs are missing from the cluster and fail to deploy. Toggling vCLS from "System Managed" to "Retreat Mode" and back to "System Managed" does not regenerate the vCLS VMs. Additionally, attempts to read ESXi host logs fail due to file locks held by other hosts.

Environment

VMware vCenter Server 8.0U3
VMware ESXi 8.0U3

Cause

Multiple ESXi hosts are configured to use the exact same directory on a shared datastore for their persistent scratch partition (ScratchConfig.ConfiguredScratchLocation). This misconfiguration causes file locking contention between the hosts. vCLS VM deployment depends heavily on the availability of the host's scratch partition. When file locks prevent access, the ESX Agent Manager (EAM) cannot provision the necessary vCLS VMs, which causes DRS to fail.

Resolution

Reconfigure the persistent scratch partition on all affected ESXi hosts to ensure each uses a unique directory.

  1. Create a unique directory for each ESXi host on the shared datastore (e.g., /vmfs/volumes/<DATASTORE_NAME>/scratch/<HOSTNAME>).

  2. Log in to the vCenter Server using the vSphere Client.

  3. Navigate to Hosts and Clusters and select the affected ESXi host.

  4. Click Configure, then under the System menu, select Advanced System Settings.

  5. Locate the setting ScratchConfig.ConfiguredScratchLocation.

  6. Click Edit and enter the unique path created for this specific host.

  7. Reboot the ESXi host for the configuration changes to take effect.

  8. Repeat these steps for all hosts in the affected clusters.

Once the scratch locations are unique and hosts are rebooted, vCLS VMs will automatically deploy, restoring DRS functionality.

Additional Information

Creating a persistent scratch location for ESXi: https://knowledge.broadcom.com/external/article/317689/creating-a-persistent-scratch-location-f.html