Decommissioning Enhanced Linked Mode (ELM) and Restoring SDDC Manager Connectivity - VMware Cloud Foundation
search cancel

Decommissioning Enhanced Linked Mode (ELM) and Restoring SDDC Manager Connectivity - VMware Cloud Foundation

book

Article ID: 458527

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

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.

Environment

VMware Cloud Foundation (VCF)
VMware vCenter Server
VMware SDDC Manager

Resolution

Prerequisites

  • Snapshots: Power off all vCenter Server VMs involved in the link and take an offline snapshot of each. Additionally, take a snapshot of the SDDC Manager VM to ensure a reliable recovery point.
  • vCenter HA: If vCenter High Availability (HA) is enabled, it must be destroyed before proceeding.
  • Service Account Credentials: Ensure you have access to the SDDC Manager SSH to retrieve service account passwords.

 

Procedure

Phase 1: Decommission ELM from vCenter Server

  1. 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

  2. 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

Phase 2: Restore SDDC Manager Connectivity

When vCenter servers are repointed, SDDC Manager service accounts (svc-<sddc-id>-<vcenter-id>) are often removed from the SSO directory.

  1. Retrieve Password: SSH into the SDDC Manager and retrieve the current service account password for the affected vCenter by following steps the below steps.

    • Create a token on the SDDC Manager.

      # 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')

      The <sso_username> needs to be replaced with [email protected] or admin@local account with the respective password in <sso_password>

    • Pull the credential details for all the service accounts from SDDC Manager using the TOKEN.

      # 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",

      }

    • Locate the secret value in the output for the desired svc account (svc-<####>-<####>) and user serviceType and entityType (e.g., VCENTER).
  2. Recreate Service Account: Log in to the vSphere Client as [email protected]:

    • Navigate to Administration > Single Sign-On > Users and Groups.
    • Select the vsphere.local domain.
    • Add a new user with the username svc-<sddc-id>-<vcenter-id> and the password retrieved in Step 1.
  3. Assign Privileges: The service account requires Administrator privileges to allow SDDC Manager to perform lifecycle management and inventory sync:

    • Under Users and Groups, select the Groups tab.
    • Edit the Administrators group.
    • Add the newly created service account to the group.