Adding a Secondary NSX Manager to the Primary NSX Manager fails
search cancel

Adding a Secondary NSX Manager to the Primary NSX Manager fails


Article ID: 345888


Updated On:


VMware NSX Networking


  • Unable to add Secondary NSX Manager to Primary NSX manager.
  • After decommission of Secondary NSX Manager, Primary NSX Manager still shows synchronization issues with the decommissioned NSX Manager.
  • Changing VXLAN port of new secondary NSX Manager from default to another port value fails.


VMware NSX for vSphere 6.1.x
VMware NSX for vSphere 6.2.x


This issue occurs when:
  • The primary NSX Manager fails to register or un-register with the Secondary NSX Manager.
  • Port 443 is not opened between Secondary NSX Manager and NSX Universal Controllers.
  • UDP port value on the primary NSX manager and secondary NSX manager do not match.


Ensure that the VXLAN UDP port of the primary NSX manager matches with the VXLAN UDP port of the secondary NSX manager.

Modify the VXLAN UDP port on the NSX manager using REST API, if required:
Method: PUT
Url: https://nsxmgr_ip/api/2.0/vdn/config/vxlan/udp/port/portnum

Re-register the secondary NSX Manager to the Primary NSX Manager:
  1. Collect the UUID of the registered NSX Managers with the Primary NSX Manager using REST API:

    GET https://nsxmgr_ip/api/2.0/universalsync/configuration/nsxmanagers

    You see output similar to:



  2. Unregister the NSX Manager completely from the primary NSX Manager using REST API:

    DELETE https://nsxmgr_ip/api/2.0/universalsync/ configuration/nsxmanagers/4xxCxxx2-xxxx-xxxx-xxxx-7xxxxxxxxxxA?force=true
  3. Add the secondary NSX Manager to the Primary NSX Manager.

    For more information on how to make API calls to the NSX Manager, see the Using the NSX REST API section of the VMware NSX for vSphere API Guide.

    Note: Ensure that port 443 is opened between the Secondary NSX Manager and the Universal Controller Cluster.

Additional Information

You may experience these additional symptoms:
  • In the vsm.log file of the NSX Manager, you see entries similar to:

    2016-06-20 12:37:03.777 EDT WARN http-nio- RestTemplate:559 - POST request for "" resulted in 400 (Bad Request); invoking error handler
    2016-06-20 12:37:03.793 EDT ERROR http-nio- ReplicatorRestClient:92 - Exception occurred while invoking REST API call on Replicator 400 Bad Request at at at at
    2016-06-20 12:37:03.805 EDT INFO http-nio- AuditingServiceImpl:147 - [AuditLog] UserName:'xxx.local\user-name', ModuleName:'xxx', Operation:'REGISTER_NSX_MANAGER', Resource:'10.xx.xx.2', Time:'Mon Jun 20 12:37:03.803 EDT 2016', Status:'FAILURE', Universal Object:'false'

    Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Network port requirements for VMware NSX for vSphere 6.x
セカンダリ NSX Manager をプライマリ NSX Manager に追加すると失敗する
将辅助 NSX Manager 添加到主 NSX Manager 失败