vSAN Stretched Cluster Maintenance Mode Failure During Site Relocation
search cancel

vSAN Stretched Cluster Maintenance Mode Failure During Site Relocation

book

Article ID: 437970

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms

When attempting to place the last ESXi host in an Preferred site (Preferred) into Maintenance Mode with Ensure accessibility during a datacenter relocation, the operation fails with the following error in vSphere/vSAN:

Additional host is required. vSAN data cannot be migrated off the host.

Additional Observations:

  • The cluster is already in a reduced availability state due to other hosts in the same site being powered off.
  • vSAN Skyline Health reports inaccessible objects or inaccessibility risks for specific object IDs.
  • Resync monitoring may show a prolonged data evacuation or objects stuck in the resync queue.
  • UI may report policies as RAID-1 (non-stretched) even if they were recently converted to stretched policies.

Environment

VMware vSAN 8.x 

Cause

  • This issue is primarily caused by insufficient fault domains available to satisfy vSAN storage policies. In a stretched cluster, objects with policies requiring placement across fault domains cannot be evacuated when one site is being fully shut down because the evacuation process requires at least the minimum number of fault domains or hosts specified in the policy to maintain accessibility

Resolution

Immediate Workaround for Relocation

To proceed with the physical relocation of the final host when "Ensure accessibility" fails:

  1. Identify the objects preventing evacuation via vSAN Skyline Health or Object Inspection.
  2. Proceed with Maintenance Mode using the No data migration option for the final ESXi host in Preferred site.
  3. Note: Acknowledge that the specific objects identified will become temporarily inaccessible until the host/site is powered back on at the new location.
  4. Document the impacted Object IDs to validate their health after relocation.

Post-Relocation Recovery and Cleanup

After the site is physically moved and preferred site hosts are powered back on (typically within 48 hours):

  1. Verify Accessibility: Use vSAN Skyline Health and the Resyncing Objects view to confirm all objects have returned to a healthy, compliant state.
  2. Remove Orphaned Objects:
    • Locate template VMDKs and VM home directories that do not correspond to active VMs.
    • Safely delete or unregister these stale items using the Datastore Browser or RVC/vsan.check_state after confirming they are not referenced elsewhere.
  3. Audit Storage Policies:
    • Confirm that the RAID-1 (Stretched) policy is applied and fully compliant for all VMs.
    • If inconsistencies remain, trigger Apply Storage Policy on affected VMs and resolve any snapshot-related placement issues.

Resolution :

Ensure all objects are in healthy state and there are enough fault domain's or resources available in the vSAN cluster  to perform the maintenance activity .