You can change the name of each NSX Controller node.

Starting in NSX Data Center for vSphere 6.4.0, you can change the controller name using the API. See the NSX API Guide for more information. Starting in NSX Data Center for vSphere 6.4.2, you can change the controller name using the vSphere Web Client or vSphere Client.

When you create a controller node, you are prompted to provide a name. The controller node is also assigned a controller ID, in the format controller-X, for example, controller-5. The controller name and ID are used to configure identifiers for the controller in a few locations:
  • The name displayed in the Networking & Security UI is set to name
  • The VM name in vSphere is set to name-NSX-<controller_id>
  • The VM's hostname is set to nsx-controller
When you update the controller name, the following changes are made:
  • The name displayed in the Networking & Security UI is changed to newName
  • The VM name in vSphere is changed to newName-NSX-<controller_id>
  • The VM's hostname is changed to newName-NSX-<controller_id>
    Note: The hostname is used in controller log entries. If you change the controller hostname, the log entries display the new hostname.

Procedure

  1. Navigate to Networking & Security > Installation and Upgrade > Management > NSX Controller Nodes.
  2. Select a controller node, then click Actions > Change Controller Name.
  3. Enter the new name and click Save.