VCF 9.x vCenter Import precheck is failing with an error "The vCenter Server should not be in ELM for vcenter_fqdn. Remove the vCenter Server from the ELM ring"
search cancel

VCF 9.x vCenter Import precheck is failing with an error "The vCenter Server should not be in ELM for vcenter_fqdn. Remove the vCenter Server from the ELM ring"

book

Article ID: 422624

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

When importing an existing vCenter Server into a VMware Cloud Foundation (VCF) 9.x Operations environment, the precheck validation fails. This occurs even if the vCenter Server currently operates as a standalone instance.

  • vCenter is a standalone vCenter, not in Enhanced Linked Mode
  • In some cases, vCenter was part of ELM in the past
  • Importing vCenter to VCF Ops is failing with the error  "The vCenter Server should not be in ELM for <vcenter fqdn>. Remove the vCenter Server from the ELM ring"
  • '/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showservers -h localhost -u administrator' command in vCenter Shell shows multiple entries

Environment

  • vCenter Server 9.x
  • VCF Operations 9.x

Cause

The vCenter Server retains legacy configuration data or stale topology entries in the vCenter Directory Service (vmdird) database. This legacy data causes the VCF 9.x validation engine to detect a standalone vCenter as an active member of an Enhanced Linked Mode (ELM) ring.

Resolution

  1. Perform a file-based backup and take an offline snapshot of the vCenter Server Appliance (VCSA).
  2. If there were one or more vCenters in  ELM in the past and not decommissioned properly, decommission the vCenter to cleanup the stale Nodes.
  3. If this vCenter was not part of ELM in the past and still sees a stale Domain Controller Object in the directory db, remove it manually using jXplorer
    • Domain Controller Object path is World --> Local --> vSphere --> Domain Controllers (For SSO Domain Name vsphere.local)
    • DomainDNSZones Object path is World --> Local --> vSphere -->DomainDNSZones (For SSO Domain Name vsphere.local) 
  1.  

Additional Information

Using JXplorer to connect to the vSphere Single Sign-on