polardbx-sql icon indicating copy to clipboard operation
polardbx-sql copied to clipboard

How to deploy a cluster version based on the source code installation

Open linzhi123 opened this issue 3 years ago • 2 comments
trafficstars

After successful compilation through the source code, how can I configure, I can deploy a cluster version

linzhi123 avatar May 21 '22 09:05 linzhi123

you can insert the cluster CN (port ip etc) into the table server_info which is in MetaDB.

For example,

insert into server_info(inst_id, inst_type, ip, port, htap_port, mgr_port, mpp_port, status, region_id, azone_id, idc_id, cpu_core, mem_size) values ('polardbx-polardbx', 0, 'your ip', 7527, 7527, 7627, 7090, 1, '0', '0', '0', 1, 1);

insert into server_info(inst_id, inst_type, ip, port, htap_port, mgr_port, mpp_port, status, region_id, azone_id, idc_id, cpu_core, mem_size) values ('polardbx-polardbx', 0, 'your ip', 8527, 8527, 8627, 8090, 1, '0', '0', '0', 1, 1);

hustfxj avatar May 24 '22 01:05 hustfxj

Could I us product SN instead

VlayK0 avatar Jun 16 '22 18:06 VlayK0