The NSX Manager hostname is initially configured during appliance deployment, see: Configure NSX Manager for Access by DNS Server
However, there may be scenarios where you need to update the hostname and/or DNS search domains after deployment such as changes in DNS infrastructure or naming conventions.
This article outlines the recommended workflow for updating the NSX Manager appliance’s hostname and search domains.
VMware NSX 4.x
VMware NSX-T Data Center 3.x
Ensure an up-to-date backup is in place and the credentials and passphrases are known.
Change the NSX appliance FQDN/Hostname by following these steps.
nslookup or ping or dig, etc, to confirm the correct resolution before proceeding to make the change.admin' user. get cluster status' and confirm the cluster is healthy.set hostname <New-NSX Manager Name>Validate new hostname and search domain are applied.
set search-domains <new-Domain name>
del search-domains <old-Domain name>
get configurationNote, if only the hostname is changing and not the DNS suffix, then the
get cluster status
set search-domains and del search-domains do not need to be run.