!585 解决安装过程中libcomm端口冲突问题

Merge pull request !585 from 阙鸣健/master
This commit is contained in:
opengauss_bot 2023-10-18 07:10:00 +00:00 committed by Gitee
commit 35e78ceb7e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -225,6 +225,10 @@ 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
if configItemType == "ConfigInstance":
tmp_dn_dict["cstore_buffers"] = "1GB"
tmp_dn_dict["max_connections"] = "3000"