A GBase 8a cluster — the MPP analytical database from Chinese vendor GBASE — is split into three layers: the management cluster (gcware), the scheduling cluster (gcluster), and the compute cluster (gnode). The gcware layer owns cluster state and consistency. At creation time you typically deploy 3 or 5 gcware nodes, so their number rarely changes afterward. This post covers the situations where scaling gcware actually becomes necessary, and how to do it.

As of June 29, 2026, this capability is only available in certain builds. If yours does not support it and you expect to use it regularly, contact GBase 8a support for a version that does.

Choosing the Number of Management Nodes

Management nodes do no heavy computation. For clusters under 20 nodes with 1+1 replication, 3 management nodes are enough; beyond 50 nodes, or with 1+2 (three-copy) replication, deploy 5. More brings no practical benefit. The gcware master is elected by vote, so deploy an odd number of nodes — 3 or 5, never 2 or 4.

When Scaling Becomes Necessary

  • From pilot to production: a pilot cluster often starts with 1–2 nodes; once validated half a year or a year later, you expand the existing cluster rather than rebuild from scratch.
  • Data volume grows clearly: workloads initially spread across several products consolidate onto one, and the cluster must grow.
  • Online host replacement: a management-node host has unfixable problems (poor performance, weak hardware, a RAID card without a battery) and needs replacing, but the business cannot tolerate the long node-replacement flow — mainly the time-consuming data rebuild on composite nodes. Instead, extend one new management node, let the data age and redistribute naturally over a few months, then shrink the old node out.
  • Business shrinks: the initial sizing was wrong, and the cluster ends up at 5 nodes or fewer.

Version Constraints

Build 953 explicitly documents that gcware scaling is unsupported — the design assumption was that after go-live, at most a node replacement would ever happen. If you need the feature: where the version cannot be changed on site, support can evaluate a manual scale-out, which may require R&D involvement and is not recommended for critical production; where an upgrade is acceptable, request a version that supports gcware scaling and upgrade first.

Scaling gcware Out

The example below grows a single-node cluster to 3 nodes. All services on all nodes must be stopped — management, scheduling, and compute. Build used: 9.5.3.28.18.r1_patch.10.

The command lives at INSTALL_DIR/gcware/gcware_server/gcserver.py:

[root@vm151 gcware_server]# ./gcserver.py --help Usage: gcserver.py [options] Options: -h, --help show this help message and exit -a do not prompt the user for confirmation --prefix=INSTALLPREFIX gcware installation directory --host=GCWAREHOST replaced node(s) of gcware which splitting by comma --dbaUser=DBAUSER dba user --dbaPwd=DBAPWD dba user password -r, --replace replaced node -e, --extend new gcware node -u, --uninstall gcware node to be uninstalled --overwrite new and complete overwrite --license_file=LICENSE_FILE import license file 

The extend operation (-e means extend; --host takes the new management node IPs, comma-separated; --dbaUser defaults to the OS gbase user):

[gbase@rh151 gcware_server]$ ./gcserver.py -e --prefix=/opt/gbase --host=10.0.2.152,10.0.2.153 --dbaPwd=111111 Check gcware server version ... check dba home path privilege 10.0.2.152 10.0.2.153 Are you sure to extend gcware cluster install these nodes ([Y,y]/[N,n])? ... extend gcware node successful. 

Afterward, gcadmin reports three OPEN gcware nodes (the coordinator and data cluster sections are unchanged):

==================================== | GBASE GCWARE CLUSTER INFORMATION | ==================================== | NodeName | IpAddress | gcware | ------------------------------------ | gcware1 | 10.0.2.151 | OPEN | ------------------------------------ | gcware2 | 10.0.2.152 | OPEN | ------------------------------------ | gcware3 | 10.0.2.153 | OPEN | ------------------------------------ 

Scaling gcware In

Nearly identical, with two caveats:

  • The node being removed must not be the node you run the command on; execute from another node.
  • The parameter is -u.

Shrinking from 3 management nodes to 2 (run on rh152, removing 10.0.2.151):

[gbase@rh152 gcware_server]$ python gcserver.py -u --prefix=/opt/gbase --host=10.0.2.151 --dbaPwd=111111 Check gcware server version ... check dba home path privilege 10.0.2.151 Are you sure to uinstall gcware cluster uninstall these nodes ([Y,y]/[N,n])? ... uinstall gcware node successful. 

("uinstall" is the script's original output, kept as-is.) After the shrink, two gcware nodes remain — 10.0.2.152 and 10.0.2.153, renamed gcware1 and gcware2 — with the coordinator and data clusters untouched.

In practice, scaling the management layer of a gbase cluster is extremely rare. This scripted capability exists in some builds precisely because customers hit these situations, would not accept manual operations, and required everything automated. If you maintain a gbase deployment, knowing these procedures exist before you need them is half the battle.