ESXi Host Disconnected after NSX Manager FQDN Modification
search cancel

ESXi Host Disconnected after NSX Manager FQDN Modification

book

Article ID: 459583

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • ESXi hosts display as "Host Disconnected" in the NSX Manager UI.
  • Error "Unable to resolve fqdn" for the NSX Manager FQDN on the ESXi host using command "nsxcli -c get manager" indicating FQDN resolution failures
  • The stale nsx manager FQDN found in /etc/vmware/nsx/appliance-info.xml
  • The stale nsx manager FQDN is the original FQDN before modification

Environment

VMware NSX-T Data Center

Cause

The nsx-proxy service on the ESXi host relys on local configuration files /etc/vmware/nsx/appliance-info.xml and cached DNS lookups to maintain the connection to the NSX Manager. When the nsx manager's FQDN is changed, these local caches may fail to refresh automatically, causing the host to attempt connections to the original FQDN.

Resolution

  • Run the following commands directly on the ESXi host shell to flush the DNS cache and restart the NSX management services:
  • /etc/init.d/nscd restart
    /etc/init.d/nsx-opsagent restart
    /etc/init.d/nsx-proxy restart

Additional Information

https://knowledge.broadcom.com/external/article/424095/nsx-transport-nodes-show-mpa-down-after.html

https://knowledge.broadcom.com/external/article/404907/nsx-host-disconnected-because-nsx-manage.html