操作步骤
GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
236
步骤1:修改安装目录下的gcChangeInfo.xml 文件,增加待扩容的节点IP,即将扩
容后的所有节点IP 都写入gcChangeInfo.xml 文件。
修改后的gcChangeInfo.xml 文件参考如下:
$ cat gcChangeInfo.xml
步骤2:执行创建distribution 的命令。
$ gcadmin distribution gcChangeInfo.xml p 1 d 1 db_user user_name db_pwd password vc vc1
gcadmin generate distribution ...
copy system table to 172.168.83.15
gcadmin generate distribution successful
完成后的集群信息如下:
$ gcadmin showdistribution vc vc1
Distribution ID: 3 | State: new | Total segment num: 3
Primary Segment Node IP
Segment ID
Duplicate Segment node IP
=========================================================================
|