Remove NSX from VCF Imported Domain
search cancel

Remove NSX from VCF Imported Domain

book

Article ID: 430732

calendar_today

Updated On:

Products

VCF Operations VMware Cloud Foundation

Issue/Introduction

Remove NSX from VCF Imported Domain 

Environment

VMware Cloud Foundation

Resolution

  1. Login to the NSX Manager that needs to be redeployed. 

  2. Un-prepare vCenter clusters from NSX

    NSX Manager UI > System > Fabric > Hosts

    Under Clusters tab, select the clusters from the impacted vCenter.



  3. Verify that all hosts are in a "Not Configured" NSX Configuration state before proceeding to Step 4.

  4. Remove Compute Manager

    NSX Manager UI > System > Fabric > Compute Manager

    Click on 3 dots on left side of the compute manager for the impacted vCenter. Click on Delete option.

  5. Delete NSX VM(s) from the vCenter

    Power off the NSX Managers / NSX Edges

    vCenter UI > NSX Manager VM > Actions > Power > Power Off > Confirm Power Off

    Once the VMs are powered off, select the NSX Manager VM

    vCenter UI > NSX Manager VM > Actions > Delete from Disk > Confirm Delete
  6. Remove the domain from the SDDC-M inventory 

  7. SSH into the SDDC Manager with vcf and then elevate to root with su.

  8. Collect the domain ID for the domain that will be reimported. 

    curl -i -X GET http://localhost/inventory/extensions/vi/domainInventory

  9. Remove the NSX Manager from the domain. (If NSX Manager is shared skip this step)

    curl -i -X DELETE http://localhost/inventory/extensions/vi/nsxtclusterdomains/{domain-id}

    example:

    curl -i -X DELETE http://localhost/inventory/extensions/vi/nsxtclusterdomains/89095d72-2fa0-4156-8a8a-ab8fe207a99a


  10. Remove the domain from the SDDC inventory.

    curl -s -X DELETE http://localhost/inventory/extensions/vi/domains/{domain-id}    

    example:

    curl -s -X DELETE http://localhost/inventory/extensions/vi/domains/89095d72-2fa0-4156-8a8a-ab8fe207a99a

  11. Decommission all of the ESX hosts associated with the domain from the SDDC Manager UI. The hosts should be in the UNASSIGNED state now. (Limit of 50 hosts at a time)

  12. Remove the SDDC M plugin registration from the vCenter

    Go to https://<vCenter FQDN>/mob and login with vCenter credentials

    Go to content → ExtensionManager

    You will be able to see extensionList["com.vmware.sddcManager"] in the VALUE column for extensionList in Properties Section