libcomm端口在om安装脚本中显式配置 为base_port的+30/+40

This commit is contained in:
Mijamind 2023-10-19 09:12:15 +08:00
parent 0e76d38d59
commit b7c5bc3b12

View File

@ -225,9 +225,8 @@ class DN_OLAP(Kernel):
tmp_dn_dict["local_bind_address"] = "'%s'" % self.instInfo.listenIps[0]
tmp_dn_dict["port"] = self.instInfo.port
if self.dss_mode:
tmp_dn_dict["comm_sctp_port"] = self.instInfo.port + 100
tmp_dn_dict["comm_control_port"] = self.instInfo.port + 200
tmp_dn_dict["comm_sctp_port"] = self.instInfo.port + 30
tmp_dn_dict["comm_control_port"] = self.instInfo.port + 40
if configItemType == "ConfigInstance":
tmp_dn_dict["cstore_buffers"] = "1GB"