This article outlines the end-to-end procedure for decommissioning Enhanced Linked Mode (ELM) on vCenter Server instances within a VMware Cloud Foundation (VCF) environment and the subsequent steps required to restore SDDC Manager inventory connectivity. This operation is a common requirement for VCF brownfield imports and isolated environment upgrades.
VMware Cloud Foundation (VCF)
VMware vCenter Server
VMware SDDC Manager
Repoint to Standalone Domain: On the vCenter node you are isolating. Repoint it to its own SSO domain using the domain-repoint utility: cmsso-util domain-repoint -m execute --src-emb-admin Administrator --dest-domain-name vsphere.local
Verification: Confirm the vCenter is no longer listed as a replication partner and is operating as a standalone instance.
# /usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartners -h localhost -u administrator
When vCenter servers are repointed, SDDC Manager service accounts (svc-<sddc-id>-<vcenter-id>) are often removed from the SSO directory.
Retrieve Password: SSH into the SDDC Manager and retrieve the current service account password for the affected vCenter by following steps the below steps.
TOKEN=$(curl -d '{"username" : "<sso_username>", "password" : "<sso_password>"}' -H "Content-Type: application/json" -X POST http://127.0.0.1/v1/tokens | jq -r '.accessToken')# curl -k -X GET -H "Authorization: Bearer "$TOKEN"" --insecure 'https://localhost/v1/system/credentials/service' | json_pp | less
Sample output
{
"serviceType" : "SDDC_MANAGER",
"entityId" : "9189####-####-######-########8251",
"username" : "svc-vcf-####-##",
"id" : "688d####-####-####-##-########ad5e",
"entityType" : "VCENTER",
"targetType" : "VCENTER",
"serviceId" : "2f7a####-####-####-####-########cb79",
"secret" : #######",
"credentialType" : "SSH",
}
Recreate Service Account: Log in to the vSphere Client as [email protected]:
vsphere.local domain.svc-<sddc-id>-<vcenter-id> and the password retrieved in Step 1.Assign Privileges: The service account requires Administrator privileges to allow SDDC Manager to perform lifecycle management and inventory sync: