"[CBM10] Unable to establish connection to the database cluster" - NSX Global Manager node fails to join cluster due to blocked port 9000
search cancel

"[CBM10] Unable to establish connection to the database cluster" - NSX Global Manager node fails to join cluster due to blocked port 9000

book

Article ID: 436726

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi

Issue/Introduction

  • When deploying a new NSX Global Manager node, it is unable to join the existing cluster. The Corfu service fails to connect to the peer nodes, preventing cluster integration.
  • You may observe the following error on the CLI of the new NSX Global Manager node after running the join command

nsx-gm01> join <existing_node_ip> cluster-id <cluster_id> thumbprint <api_thumbprint> username admin
Data on this node will be lost. Are you sure? (yes/no): yes
Password for API user:
% An error occurred while joining the specified cluster. Reason: [CBM10] Unable to establish connection to the database cluster.

  • You may observe the following errors in the syslog on the new node:

[nsx@6876 comp="global-manager" errorCode="CBM31" level="ERROR" subcomp="cbm"] [CBM31] Error adding node to the existing corfu cluster. Corfu address: <New_Node_IP>:9000

[nsx@6876 comp="global-manager" errorCode="CBM10" level="ERROR" subcomp="cbm"] [CBM10] Unable to establish connection to the database cluster.

Tried to get layout from <Existing_Node_IP>:9000 but failed by timeout

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Environment

VMware NSX

Cause

The Distributed Firewall (DFW) or an external security policy is blocking TCP port 9000 traffic between the Global Manager virtual machines.

While TCP port 443 allows the initial cluster join request to succeed, the nodes cannot establish the required Corfu database connections over port 9000. Network packets (SYN packets) leave the new node but are dropped before arriving at the destination Corfu servers.

Resolution

  • Add all NSX Global Manager VMs to the Distributed Firewall (DFW) exclusion list to ensure that inter-node cluster traffic is not inspected or blocked.
  • Verify that any other external firewalls routing traffic between the nodes are configured to allow TCP port 9000.

Additional Information

You can confirm this issue by checking netstat or ss on the new node. Connections to port 9000 on peer nodes will be stuck in a SYN_SENT state, indicating that packets are leaving the VM but no acknowledgment is returned:

tcp  0  1  <New_Node_IP>:38516  <Existing_Node_IP>:9000  SYN_SENT  990  19371594  75382/java

Additionally, iptables-save on the appliances will show that the local OS firewall is correctly configured to explicitly ACCEPT port 9000. If ARP resolution functions correctly to establish Layer 2 connectivity, this confirms the traffic block resides at the external or DFW network layer.