Updating NSX Compute Manager from IP Address to FQDN
search cancel

Updating NSX Compute Manager from IP Address to FQDN

book

Article ID: 426973

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • This article provides the necessary steps and prerequisites to safely transition a vCenter Server registration in NSX Manager from an IP address-based configuration to a Fully Qualified Domain Name (FQDN).
  • When NSX is initially configured, a vCenter Server might be added as a Compute Manager using its IP address.
  • For better certificate management and stability, it is often necessary to update this configuration to use the vCenter Server's FQDN.

Environment

VMware NSX

Cause

  • The current Compute Manager i.e. vCenter registration in NSX utilizes a static IP.

Resolution

Pre-Check Validations

Before making changes, verify the following:

  • Ensure no active upgrades are in progress.

  • Confirm there are no pending Host Preparations or Edge Deployments.

  • Verify that all Transport Nodes (ESXi and Edges) are UP and Stable in the NSX Dashboard.

  • Take a backup of the NSX Manager configuration before modifying the Compute Manager. NSX Manager Backup

DNS Verification (NSX Manager Side)

Login to each NSX Managers in the cluster via SSH as admin and switch to root by running the command st en
Perform the following:

  • Check DNS Config: Run cat /etc/resolv.conf to ensure correct DNS server IPs are listed.

  • Connectivity: Run ping <DNS_Server_IP> to ensure the DNS server is reachable.

  • Forward Lookup: Run nslookup <vCenter-FQDN> to ensure the name resolves to the correct IP.

  • Reverse Lookup: Run nslookup <vCenter-IP> to ensure the IP resolves back to the FQDN.

DNS Verification (vCenter Side)

Login to the vCenter Server via SSH as root and enter the shell.

  • Check DNS Config: Run cat /etc/resolv.conf.

  • Forward/Reverse Lookup: Verify resolution for all three NSX Manager FQDNs and IPs:

    • nslookup <NSX-Manager-FQDN>

    • nslookup <NSX-Manager-IP>

Update the Compute Manager

  • Log in to the NSX Manager UI with an account possessing Administrator privileges.

  • Navigate to System > Fabric > Compute Managers.

  • Select the vCenter Compute Manager and click Edit.

  • Replace the IP Address field with the vCenter FQDN.

  • Input the vCenter credentials if prompted and Save.

  • Wait for the status to return to Registered or Up.

Additional Information

 

  • Ensure that the DNS search suffix is correctly defined in /etc/resolv.conf if using short names, though FQDN is always recommended.