The first time you examine the port configuration of GBase Database(GBase 8c) , the numbers can look arbitrary: 20001, 2379, 6666, 5432, 15432, 15433, 20010, plus several proxy and agent ports.
But there is a pattern.
Once you understand which component uses each port and how the three official deployment topologies distribute those components, the port table becomes much easier to read.
The key is to classify ports by role first, then map them to individual hosts.
1. Understand the GBase Database Port Categories
The ports in a GBase Database deployment can be grouped into three categories: control plane, data plane, and agent management channels.
Control Plane Ports
The main control-plane components use the following ports:
Component Port Role
gha_server 20001 High-availability management
DCS 2379 Distributed coordination
GTM 6666 Global transaction management
These ports support cluster coordination and management.
Data Plane Ports
The main database access components use:
Component Port…