The following procedure describes replacing an NSX Edge transport node in an NSX Edge cluster that has both VM NSX Edge and Bare Metal NSX Edge transport nodes using the NSX Manager UI. You can replace an VM NSX Edge with Bare Metal NSX Edge or the other way around. You can replace the Edge transport node regardless of whether it is running or not.

If the NSX Edge node to be replaced is not running, the new NSX Edge node can have the same management IP address and TEP IP address. If the NSX Edge node to be replaced is running, the new NSX Edge node must have a different management IP address and TEP IP address.

Prerequisites

  • Familiarize yourself with the procedure to install an NSX Edge node, join the Edge node with the management plane, and create an NSX Edge transport node. For more information, see the NSX Installation Guide.
  • Both VM NSX Edge and Bare Metal NSX Edge transport nodes must have the same VLAN connectivity to the physical Top of Rack (TOR) switches.

Procedure

  1. If you want the new NSX Edge transport node to have the same configurations as the NSX Edge transport node to be replaced, make the following API call to find the configurations:
    GET https://<nsx-manager-IP>/api/v1/transport-nodes/<tn-id>
  2. Follow the procedures in the NSX Installation Guide to install and configure an Edge transport node.
    If you want this NSX Edge transport node to have the same configurations as the NSX Edge transport node to be replaced, use the configurations obtained in step 1.
  3. In NSX Manager, select System > Fabric > Nodes > Edge Clusters.
  4. Select an NSX Edge cluster by clicking the checkbox in the first column.
  5. SSH into the NSX Edge nodes where Tier-0 is hosted.
  6. Run get logical router. Check the VRF ID for Tier-0 Service Router (SR) on all NSX Edge nodes in the NSX Edge Cluster.
  7. If the VRF id of the Tier-0 SR is 1, run vrf 1.
  8. To check the output of the service router, run get high-availability status.
  9. Enable maintenance mode on one of NSX Edge nodes that has Tier-0 SR in Standby. In the Edge CLI console, run set maintenance-mode enabled.
    This NSX Edge node could have Tier-1 SRs in Active state. Putting NSX Edge node into maintenance mode triggers a HA failover and all Tier-1 or Tier-0 SRs on this NSX Edge Node go into Standby state on this NSX Edge node. This might cause traffic disruption for the active SRs on this NSX Edge node because of failover of Tier-1 or Tier-0 SRs.
  10. Ensure that Bare Metal NSX Edge transport node is not a part of any other cluster.
  11. Click Actions > Replace Edge Cluster Member.
    It is recommended that you place the transport node being replaced in maintenance mode. If the transport node is not running, you can safely ignore this recommendation.
  12. Select the VM NSX Edge transport node to be replaced from the dropdown list.
  13. Select the Bare Metal NSX Edge transport node replacement node from the dropdown list.
  14. Click Save.
  15. Verify that the Bare Metal NSX Edge transport node has moved into existing Edge VM Cluster.
  16. To verify that Tier-0 and Tier-1 gateways have moved from NSX Edge VM (in maintenance mode) to Bare Metal NSX Edge transport node, run get logical router.
  17. Repeat the previous steps to move another VM NSX Edge with Bare Metal NSX Edge transport node.
  18. Verify E-W and N-S connectivity from the workloads connected to Tier-1 or Tier-0 LRs.

Results

If you are running an NSX version earlier than 3.1.3, after replacing the NSX Edge transport node, you might see the alarm All BGP/BFD sessions are down. To resolve the issue, follow the workaround instructions in the KB article https://kb.vmware.com/s/article/83983.

What to do next

Replacing a VM NSX Edge VM with Bare Metal NSX Edge node does not automatically rebalance the Tier-1 gateways across NSX Edge nodes. You need to manually reconfigure each Tier-1 gateway.