注册

同一个端口可以多个实例用且同时运行?

董小姐 2024/06/14 547 2

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:
【操作系统】:
【CPU】:
【问题描述】*:

[dmdba@host26 ~]$ ps -ef | grep dmserver
dmdba       3933       1  0 May27 ?        00:06:19 /opt/dmdba/dmdbms/bin/dmserver /opt/dmdba/data/TESTDAMENG/dm.ini -noconsole
dmdba       3934       1  0 May27 ?        00:08:14 /opt/dmdba/dmdbms/bin/dmserver /opt/dmdba/data/topicpsp/dm.ini -noconsole
dmdba       3935       1  0 May27 ?        00:05:31 /opt/dmdba/dmdbms/bin/dmserver /opt/dmdba/data/DAMENG/dm.ini -noconsole
dmdba    3561623 3561511  0 17:02 pts/0    00:00:00 grep dmserver
[dmdba@host26 ~]$ cat /opt/dmdba/data/TESTDAMENG/dm.ini | grep PORT
		PORT_NUM                        = 5237                  #Port number on which the database server will listen
		ELOG_REPORT_LINK_SQL            = 0                     #Whether to write the SQLs that sent to remote database by DBLINKs into error log file
		DFS_SUPPORT_HFS                 = 1                     #Whether support huge table operation in DDFS
		EXTERNAL_JFUN_PORT              = 6363                  #DmAgent port for external java fun.
		EXTERNAL_AP_PORT                = 4236                  #DmAp port for external fun.
		DCRS_PORT_NUM                   = 6236                  #Port number on which the database dcrs will listen
		AP_PORT_NUM                     = 0                     #Port number on which the database ap will listen
		DW_PORT                         = 0                     #Instance tcp port for watch2
		DCP_PORT_NUM                    = 5237                  #Port number on which DCP will listen
		HA_INST_CHECK_PORT              = 65534                 #HA instance check port
[dmdba@host26 ~]$ cat /opt/dmdba/data/topicpsp/dm.ini | grep PORT
		PORT_NUM                        = 5256                  #Port number on which the database server will listen
		ELOG_REPORT_LINK_SQL            = 0                     #Whether to write the SQLs that sent to remote database by DBLINKs into error log file
		DFS_SUPPORT_HFS                 = 1                     #Whether support huge table operation in DDFS
		EXTERNAL_JFUN_PORT              = 6363                  #DmAgent port for external java fun.
		EXTERNAL_AP_PORT                = 4236                  #DmAp port for external fun.
		DCRS_PORT_NUM                   = 6236                  #Port number on which the database dcrs will listen
		AP_PORT_NUM                     = 0                     #Port number on which the database ap will listen
		DW_PORT                         = 0                     #Instance tcp port for watch2
		DCP_PORT_NUM                    = 5237                  #Port number on which DCP will listen
		HA_INST_CHECK_PORT              = 65534                 #HA instance check port
[dmdba@host26 ~]$ cat  /opt/dmdba/data/DAMENG/dm.ini | grep PORT
		PORT_NUM                        = 5236                  #Port number on which the database server will listen
		ELOG_REPORT_LINK_SQL            = 0                     #Whether to write the SQLs that sent to remote database by DBLINKs into error log file
		DFS_SUPPORT_HFS                 = 1                     #Whether support huge table operation in DDFS
		EXTERNAL_JFUN_PORT              = 6363                  #DmAgent port for external java fun.
		EXTERNAL_AP_PORT                = 4236                  #DmAp port for external fun.
		DCRS_PORT_NUM                   = 6236                  #Port number on which the database dcrs will listen
		AP_PORT_NUM                     = 0                     #Port number on which the database ap will listen
		DW_PORT                         = 0                     #Instance tcp port for watch2
		DCP_PORT_NUM                    = 5237                  #Port number on which DCP will listen
		HA_INST_CHECK_PORT              = 65534                 #HA instance check port
[dmdba@host26 ~]$ ss -nlt | grep 5236
LISTEN  0        128                    *:5236                 *:*

[dmdba@host26 ~]$ netstat -nlt | grep 5236
tcp6       0      0 :::5236                 :::*                    LISTEN
[dmdba@host26 ~]$ lsof -i:5236
COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dmserver 3935 dmdba    5u  IPv6  40472      0t0  TCP *:padl2sim (LISTEN)

回答 0
暂无回答
扫一扫
联系客服