How to find out which ESXi and Edge transport nodes are controlled by which NSX Manager node
search cancel

How to find out which ESXi and Edge transport nodes are controlled by which NSX Manager node

book

Article ID: 398718

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

A typical deployment of NSX contains three NSX Managers. 

Each of these NSX Managers contains a control plane component, which manages the control plane for a few ESXi and Edge transport nodes. 

This KB demonstrates a method to determine which ESXi or Edge Transport node is allocated to which NSX Manager node. 

Environment

VMware NSX

Resolution

To identify the allocations of transport nodes to NSX Manager nodes, login to any one of the NSX Manager nodes via SSH as the "admin" user.

Once logged in, run the following commands as admin:
1. get nodes
    - This command will help you associate UUIDs with hostnames and their IP addresses, as well as identify which type of node it is (ESXi/Edge/Manager)
2. set debug
    - This is to enable the special debug mode which allows you to run the next command
3. get master all-transport-nodes dump filename
    - This command will save all it's output into a file called "filename" under the location var/vmware/nsx/file-store/ 
4. st en
    - This enables you to login into root mode - you will need to enter the root password at the subsequent prompt
5. cat /var/vmware/nsx/file-store/filename
    - This command prints out the contents of the file "filename" which shows you allocations of ESXi/Edge Transport Nodes to each manager node, but only in UUID form. You will need to correlate this output against the output from step 1 above to see the output in IP address or hostname format

Note that the same correlation can be observed from the ESXi/Edge transport node by logging into each transport node and running the command "get controllers".