
Completing the cluster
As we continue building the NSX environment, the next milestone is establishing a highly reliable three-node NSX Management Cluster.
In the previous section of this module, we explored the deployment process for NSX Manager appliances.
Our final steps involve validating the successful deployment of the first appliance by checking the overall cluster status. Although only a single node has been deployed so far, an NSX Management Cluster already exists. To achieve high availability, we must complete the cluster by adding two additional nodes.
After the cluster has been successfully formed, a series of Day 2 operations must be performed to ensure the ongoing maintenance, monitoring, and protection of the NSX Management Cluster.
In this module, we’re going to cover the following main topics:
- Part 1:
- Part 2:
- Part 3:
- Part 4:
- Part 5:
- Part 6:
By the end of this third section, you will understand how to achieve high availability for the NSX Management Cluster. Additionally, we will discuss performing initial Day 2 operations necessary to maintain its health and resilience against failures.
Deployment validation
Access to the NSX Manager appliance is performed using its FQDN or IP address, authenticating as the NSX Enterprise Administrator user. By default, the username is “admin”, unless it was customized during deployment, along with the configured password. Access to the NSX Management Cluster can be achieved using one of the following methods:
- HTML5 UI: Accessed through a supported web browser (refer to the release notes for the list of supported browsers).
- NSXCLI: Connecting to the appliance via the VM Web Console in a browser tab or the VMware Remote Console (VMRC) application. Alternatively, the NSXCLI can be remotely reached through an SSH session (if SSH access is enabled).
- REST API: Reached using REST clients such as curl, Postman, VMware Aria Automation Orchestrator, or any other REST-capable cloud management platform.
HTML5 UI
To validate a successful deployment, log in to the HTML5 UI and navigate to System > Configuration > Appliances. Verify that the cluster status is displayed as STABLE.

Additionally, click VIEW DETAILS on the NSX Manager appliance card to verify that the OPERATIONAL STATUS of all listed services is reported as UP.

NSXCLI
The NSXCLI provides an additional method for validating the NSX Manager appliance deployment. Key commands include:
get interface eth0: Verifies the configuration of the management network interface.get cluster status: Confirms the health of the NSX Management Cluster. Ensure that the Overall Status is reported as STABLE at the beginning of the command output.get services: Displays the operational state of various services, allowing verification that all critical daemons are running as expected.
nsx-mgmt> get cluster status
Tue Apr 29 2025 UTC 09:00:00.000
Cluster Id: 0d12489f-1bfa-4520-b4e0-9e21b8fdd6e0
Overall Status: STABLE
[truncated...]
As of the time of writing, we shall expect to initially find four services in stopped state:
liagent: The VMware Aria Operations for Logs agent (legacy name “Log Insight”, hence “liagent”) collects and sends logs to Aria Operations for Logs servers using the Ingestion API or the standard Syslog protocol.migration-coordinator: Helps migrating from NSX Data Center for vSphere. In NSX 4.2.0 release notes, VMware has announced its plans to remove the tool in the next major NSX release.nsx-message-bus: No more used since NSX-T Data Center 3.0.snmp: The SNMP Framework in NSX enables monitoring of various system and logical entities through Management Information Base (MIB) files. The relevant MIB file,VMWARE-NSX-MIB.mib, is located in the/opt/vmware/nsx-monitoring/python/nsx_monitoring/folder on the NSX Manager appliance.
NOTE
In single-node NSX Manager deployments, the datastore-log-replication service will appear in a stopped state. This service is utilized in three-node NSX Management Clusters by CorfuDB to replicate configuration and runtime data across appliances.
REST API
Another method to verify the successful deployment of the NSX Manager appliance is by utilizing the REST API:
GET api/v1/node/status: Retrieves information about the node’s file system, CPU, memory, disk usage, and uptime.GET api/v1/node/services: Lists of all services available on the node appliance.GET api/v1/node/<service_name>/status: Checks the status of individual services by reviewing therunning_stateproperty (e.g.,running,stopped).
Henceforth, remember that comprehensive details about the NSX REST API can be found in the Broadcom Developer Portal. A drop-down list in the upper right corner of the page allows selection of different NSX API versions.
Deploying the second and third NSX Manager cluster nodes
At this point, we have our first NSX Management Cluster node deployed and validated. The typical next step in a production environment is to deploy a second and third node to establish a highly available cluster.
NOTE
Each NSX Manager appliance maintains a local repository of installation packages stored in the /repository folder on its virtual disk. Hence, when deploying NSX components, the appliance sources the necessary packages directly from this local repository.
Additionally, pairing a VMware vCenter Server with the NSX Management Cluster can further streamline and automate the NSX components deployment and configuration tasks. To that end, the paired vCenter Server is called a Compute Manager.
At this stage, two deployment options are available:
- Automated deployment using the NSX Manager UI.
- Manual deployment using the vSphere Client UI, OVF Tool or PowerCLI.
Automated deployment using the NSX Manager UI
The simpler and recommended method for expanding the NSX Management Cluster is through the NSX Manager UI on the first deployed node:
- Navigate to System > Configuration > Appliances.
- Click ADD NSX APPLIANCE and complete the wizard.
The wizard requires the same set of parameters used during the deployment of the first node. Then, it automates the deployment, configuration, and cluster integration of the new appliances. As parameters details were previously covered, they are not reiterated here.
Before using the ADD NSX APPLIANCE wizard, NSX must paired with the vCenter Server managing the target deployment environment.

To complete the pairing:
- Log in to the NSX Manager UI.
- Navigate to System > Configuration > Fabric > Compute Managers.
- Click ADD COMPUTE MANAGER and provide the required connection details.
Wizard parameters
In the wizard, provide the required parameters to complete the Compute Manager registration:

- Enter the Name and Description of the Compute Manager.
- Select whether to enable Multi NSX support (available since NSX version 3.2.2).
- Multi NSX allows multiple NSX instances to manage a single VMware vCenter 7.0 or later.
- Multi-NSX does not support a vCenter Server cluster that is enabled for Workload Control Plane (WCP) or vSphere Lifecycle Manager (vLCM).
- Type the vCenter Server FQDN or IP Address and HTTPs Port of Reverse Proxy.
- Provide Username and Password to connect to the vCenter Server.
- It is not necessary to use the default Administrator account. In fact, for auditing and security purposes, it is recommended to create and use a dedicated service account. The minimal set of required privileges can be retrieved from the online documentation.
- Pre-populate the vCenter Server SHA-256 Thumbprint or just wait for the wizard to retrieve it.
- Optionally, select Create Service Account.
- This is required by features such as vSphere Lifecycle Manager to authenticate vAPIs from NSX.
- Optionally, click the Enable Trust toggle button.
- Trusting the Compute Manager for authentication is supported by vCenter Server 7.0 or later.
- If Enable Trust was selected in the previous step, the Access Level must be chosen. The parameter specifies the maximum access level allowed for calls from vCenter Server to NSX using the OIDC Provider:
- Full Access to NSX: Gives both vSphere for Kubernetes (now known as vSphere IaaS Control Plane) and vSphere Lifecycle Manager access to NSX.
- Limited Access to NSX: Grants access to vSphere Lifecycle Manager only.
Manual deployment using the vSphere Client UI, OVF Tool or PowerCLI
An alternative method for expanding the NSX Management Cluster involves manually repeating the deployment procedure used for the first node. With this in mind, step-by-step instructions can be found in Part 2 of this module. Once deployments complete, the nodes must be joined to the cluster using the NSXCLI.
To prepare for the cluster join, gather the following parameters from the first node:
- Node IP address: Run
get interface eth0to display the node’s IP configuration. - Node API certificate thumbprint: Use
get certificate api thumbprintto retrieve the certificate thumbprint. - NSX Management Cluster ID: Execute
get cluster config | find "Cluster Id"to obtain the cluster id.
These values are required when executing the join command on the newly deployed nodes.
Once the additional NSX Manager appliances are deployed and powered on, log in to each appliance’s console as the admin user and issue the following NSXCLI join command:
join <First_Node_IP> cluster-id <First_Node_Cluster_ID> username <First_Node_Admin_User> password <First_Node_Admin_PWD> thumbprint <First_Node_Thumbprint>
Replace <First_Node_IP>, <First_Node_Cluster_ID>, and <First_Node_Thumbprint> with the corresponding values retrieved from the first node.
The join process typically takes 10 to 15 minutes to complete, as services are restarted and synchronization between the nodes is established. Monitor the process using get cluster status from the first node to verify when the NSX Management Cluster reaches a STABLE and fully operational state.
Accessing the NSX Management Cluster via a Virtual IP address (VIP)
With the NSX Management Cluster now highly available, it is essential to configure a reliable access URL for the UI and API, even in the event of a node failure. This can be achieved by setting up a Virtual IP (VIP) that can be configured using one of two methods:
- Configure an internally managed Virtual IP.
- Configure and external Load Balancer.
Configure an internally managed Virtual IP
The simplest approach is to enable the NSX Management Cluster’s internal VIP mechanism. In essence, the cluster automatically elects a Leader node, which assumes ownership of the VIP address. This method does not require any additional software, appliances, or licensing. However, the VIP and the IP addresses of all three cluster nodes must reside within the same subnet.
As a result, all incoming requests to the cluster via the VIP are directed to the Leader node. Note that this mechanism does not provide any load balancing for the incoming traffic. Instead, the Leader node processes the incoming intent and records changes in the local CorfuDB instance. As the database content is synchronized across the cluster, all nodes have an identical view of the NSX fabric. Consequently, the workload of programming the data plane is evenly distributed among the nodes.
If the Leader node becomes unavailable, the cluster initiates a new Leader election process, which completes within seconds. As a result, a brief disruption is expected: within 1 to 3 minutes, users can re-authenticate through the VIP and resume operations. Nevertheless, no data or configuration is lost during this process.
To enable the NSX Management Cluster VIP, navigate to System > Configuration > Appliances in the NSX Manager UI. Click SET VIRTUAL IP and provide an IPv4 and/or IPv6 address.
It is possible to identify which node is the current Leader through the UI, on the System > Configuration > Appliances page. Alternatively, from the console of any NSX Manager node, verify the Cluster VIP configuration by running the following NSXCLI command:
get cluster vip
Another approach that can be possibly leveraged in the NSXCLI is with the following commands:
get cluster status verbose | find api: To retrieve the Leader node UUID.get nodes | find <Leader_UUID>: To identify the node corresponding to the Leader UUID.
Replace <Leader_UUID> with the UUID obtained from the previous command.
Configure and external Load Balancer
An alternative to using the internal Leader node VIP mechanism is to configure an external load balancer. In brief, this approach offers several benefits:
- Actively load balances incoming traffic across all NSX Management Cluster nodes.
- Allows the nodes’ IP addresses to reside in different subnets.
- Provides faster recovery times in the event of a node failure.
However, this method introduces additional infrastructure components that must be deployed, configured, and managed, resulting in increased administrative overhead, resource consumption, and potentially additional licensing costs.
IMPORTANT
Do not configure both the internal Leader VIP and an external load balancer simultaneously. Only one method should be used to manage VIP access to the NSX Management Cluster.
NSX Management Cluster groups
Each NSX Manager appliance runs several internal roles – called groups in the NSXCLI – that provide management and control plane functionality. Additionally, the NSX Management Cluster organizes and monitors these roles by type across all cluster members. The status of each role group can be classified as follows:
STABLE: All members of the group areUP.DEGRADED: One or two members of the group areDOWN.UNAVAILABLE: All members of the group areDOWN.
Conversely, the DATASTORE role group – that is, our CorfuDB – behaves slightly differently from other groups. Its status is classified as follows:
STABLE: All group members areUP.DEGRADED: One group member isDOWN.UNAVAILABLE: Two or more group members areDOWN.
In summary, the key difference is that CorfuDB always requires a quorum to maintain full create, read, update, and delete capabilities. Hence, if two or more nodes become unavailable, the CorfuDB datastore loses quorum, becoming UNAVAILABLE. As a result, the entire NSX Management Cluster enters the read-only mode, making UI and REST API become inaccessible.
Groups descriptions
There are several role groups in an NSX Manager appliance:
DATASTORE: Is the storage container(s) for CorfuDB files, the distributed shared log data store.CLUSTER_BOOT_MANAGER: Coordinates the clustering services on the NSX Manager nodes.CONTROLLER: Is the distributed control plane computing and disseminating the ephemeral logical networking states back and forth the data plane.MANAGER: Runs the UI and the REST APIs for creating, reading, updating and deleting NSX objects. It includes both the imperative Manager API and the declarative Policy API.HTTPS: Is the reverse proxy service for UI and API requests. It forwards and distributes the incoming traffic among components of the NSX Manager node.SITE_MANAGER: Deals with site-to-site communication in NSX Federation.MONITORING: uploads anonymized telemetry data to VMware when systems have been joined to the Customer Experience Improvement Program (CEIP).IDPS_REPORTING: Is the distributed Intrusion Detection and Prevention System (IDPS). It uses real-time deep packet inspection to identify and prevent attempts at exploiting vulnerabilities in our applications.CM-INVENTORY: Fetches and saves Compute Managers’ inventory in NSX.MESSAGING-MANAGER: Is responsible for running the Appliance Proxy Hub. It’s a service that enables the cluster nodes to communicate back and forth the Data Plane using NSX-RPC. The Management Plane communicates over port TCP/1234 and the Central Control Plane over port TCP/1235.CORFU_NONCONFIG: Storage container for data, which is not configuration-related and does not need low-latency lookups.GLOBAL_MANAGER: Runs the UI and the REST APIs for creating, reading, updating and deleting NSX Federation global objects.ASYNC_REPLICATOR: Enables inter-site communication between the Global Manager and each Local Manager in NSX Federation.
Interacting with the Manager role
In the NSX UI, we have two modes available to interact with the Manager role, which is responsible for the UI and the API entry point:
- A Policy Mode, backed by a newer declarative API:
- Is the default UI mode.
- Any new deployment should always use the Policy Mode.
- Its API is accessed via URIs that start with
/policy/api/ - Specifically, declarative APIs describe the desired result without specifying the exact steps required to achieve it. As a matter of fact, declarative APIs offer:
- Simplified client code: Clients only need to specify the desired state, thus making it easier to work with the API.
- Abstraction of implementation details: The client doesn’t need to know how the system achieves the desired state.
- Improved maintainability: Changes to the implementation don’t necessarily require changes to the client code.
- A Manager Mode, backed by an older imperative API:
- The Manager Mode UI is disabled by default, yet NSX administrators can enable it.
- It is deprecated since NSX-T Data Center 3.2 (16 December 2021) and support is going to be removed in an upcoming release.
- Its API is accessed via URIs that start with
/api/ - VMware has introduced a tool called Manager to Policy Objects Promotion that aims to move objects without data path disruption.
- Imperative APIs provide step-by-step instructions on how to modify the system’s state. As a result, imperative APIs’ limitations:
- Complex client code: Clients need to manage the details of the steps taken to achieve the desired state.
- Potential for errors: The step-by-step nature of imperative APIs can lead to more opportunities for client errors.
In conclusion, the NSX Policy declarative API approach is undeniably more user-friendly and a better fit for customers using automation and cloud management platform plugins.
NSX Management Cluster backup and restore
Before considering the NSX Management Cluster deployment complete, it is essential to configure and schedule regular backups.
In the event of a double-node unrecoverable failure, the NSX Management Cluster becomes permanently inaccessible. A previously saved backup can be used to restore an environment requiring a full re-deployment. Similarly, if there is a need to revert the environment to a previous state, a stored backup can be used to enable the point-in-time restore process.
Must be remembered that, during downtime caused by either a failure or the restore process, user workloads in the data plane continue to operate based on the last known good configuration. However, during this period, it is not possible to create, read, update, or delete any NSX objects.
Additionally, backing up NSX requires access to a supported SFTP server running on a supported operating system. As of the time of writing, NSX supports OpenSSH-based SFTP servers operating on CentOS, RHEL, Ubuntu, or Windows platforms. At any rate, refer to the official documentation for the complete list of supported OS versions and application builds.
It is also important to realize that restoring NSX requires deploying a brand-new NSX Manager appliance: in-place restores are not supported. Equally, another key point is that the new appliance must be running the same release version as the NSX Manager that generated the backup.
Configure the backup
To configure the backup schedule, navigate to System > Lifecycle Management > Backup & Restore in the NSX Manager UI. In this section, configure the backup SFTP server by providing the following details:

- FQDN or IP Address and Port of the target SFTP server.
- Directory Path where to store the backups on the target SFTP server.
- Username.
- Authentication Scheme. Choose between:
- Password for a basic authentication.
- SSH Private Key for a more secure access to the remote system.
- The SSH Fingerprint of the target SFTP server or just wait for the wizard to retrieve it.
- A Passphrase to secure the backup at the destination.
IMPORTANT
Safely store the passphrase, as it is required to restore the backup! Failure to provide the correct passphrase during restore operations will render the backup unusable.
At this stage, you can either manually initiate a backup or configure a backup schedule. To configure scheduling, click EDIT in the Schedule column and complete the following steps:

- Define a recurring schedule by specifying the interval in hours, minutes, and seconds.
- Configure backups to run on specific days of the week and at specific times (hour and minute).
- Enable automatic backups triggered by the system upon detection of user, runtime, or non-configuration-related changes.
Restore the NSX Management Cluster
Before initiating a restore operation, it is important to identify the specific use case, as the recovery steps vary depending on the failure scenario:
- Single node failure.
- Double node failure.
- Complete cluster failure.
Single node failure
If only one of the three NSX Manager nodes has failed, the NSX Management Cluster retains quorum, and full CRUD functionality remains available. Hence, no immediate restore is required.
In detail, the recovery process involves replacing the failed node:
- Identify the failed node UUID from one of the surviving nodes:
- Run the
get cluster statuscommand. - Note the UUID of the node whose status is reported as
DOWN.
- Run the
- Detach the failed node from the cluster:
- Execute the
detach node <node-uuid>command, replacing <node-uuid> with the UUID of the failed node. - Power off and delete the detached node from the infrastructure.
- Execute the
- Deploy a new NSX Manager node using one of the following methods:
- NSX Manager UI wizard.
- vSphere Client UI wizard.
- OVF Tool.
- PowerCLI.
- Join the new node to the cluster using the procedure appropriate for the selected deployment method.
- If node was deployed from the NSX Manager UI, the join operation is performed automatically.
- If the node was instead deployed using any other method, the join must be manually performed via the NSXCLI.
Double node failure
In contrast, if two of the three NSX Manager nodes has failed, the cluster loses quorum, resulting in the loss of CRUD functionality. As a result, the cluster goes in read-only mode. UI and REST API become inaccessible.
The restore process must begin by deactivating the existing cluster, then continues by replacing all nodes:
- Deactivate the cluster from the surviving node:
- Run the
deactivate clustercommand. - Power off and delete all nodes, including the last remaining operational node.
- Run the
- Deploy a brand-new NSX Manager node and proceed with restoring the data:
- Follow the same steps outlined under Complete Cluster Failure.
Complete cluster failure
Lastly, if all three NSX Manager nodes have failed:
- Deploy a brand-new NSX Manager appliance:
- Provision the appliance using the same FQDN and IP address as the original node intended for restoration.
- Configure the SFTP backup server and initiate the restore process:
- Navigate to System > Lifecycle Management > Backup & Restore in the new node UI.
- Configure the SFTP server location where the backups are stored.
- Select the appropriate backup and click RESTORE.
- Monitor the process and respond to restore prompts:
- Confirm Compute Manager (vCenter Server) connectivity if prompted. Ensure the vCenter is paired with the newly deployed NSX Manager before starting the restore.
- If changes to inventory occurred after the backup was taken, perform any required corrective actions.
- If the backup belongs to a node that was part of a previous Management Cluster, you may be prompted to re-add cluster members during or after the restore process.
Once the NSX Management Cluster is fully operational, both the Management Plane and Control Plane services are restored.
Continue to Part 4…
With Part 3 of the Exploring NSX Building Blocks module, we have successfully wrapped up the deployment, validation, and Day 2 operations of the converged Management and Control Planes. Continue to the fourth part of this module to take the next critical step: installing the Transport Nodes and establishing the distributed Data Plane, laying the foundation for a fully operational NSX infrastructure.
