为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:DM8
【操作系统】:CentOS7
【CPU】:x86
【问题描述】*:DSC+DW架构启动dmserver报错
主库dsc1和dsc2的CSS和ASM已启动
现在启动dmserver
[dmdba@dsc1 bin]$ ./dmserver /dm8/dsc_config/dsc0_config/dm.ini DCR_INI=/dm8/dsc_config/dmdcr.ini mount
file dm.key not found, use default license!
version info: develop
DM Database Server 64 V8 03134283950-20221121-175072-20024 startup…
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
Database mode = 0, oguid = 0
License will expire on 2023-11-21
(前台启动日志卡在这里不动)
后台日志报错如下
2023-02-09 20:38:41.558 [INFO] database P0000005689 T0000000000000005716 mal_site_port_get site_magic:26699, src_site:0, dst_site:0
2023-02-09 20:38:41.558 [INFO] database P0000005689 T0000000000000005729 site[0] mal_site_data_port_set from site[0, IP: 192.168.187.101, port_num: 9340], socket handle = 15, site_magic = 26699
2023-02-09 20:38:41.558 [INFO] database P0000005689 T0000000000000005717 mal_site_port_get site_magic:26699, src_site:0, dst_site:0
2023-02-09 20:38:41.558 [ERROR] database P0000005689 T0000000000000005730 Can’t connect to DM server on ‘192.168.187.102’ port(9341) errno(111)
2023-02-09 20:38:41.559 [ERROR] database P0000005689 T0000000000000005730 Can’t connect to DM server on ‘192.168.187.104’ port(9342) errno(111)
2023-02-09 20:38:42.561 [INFO] database P0000005689 T0000000000000005689 EP(DSC0, seqno:0) set DSC status to DSC_STARTUP
192.168.187.102是dsc节点2的私网IP,192.168.187.104是dw备库的私网IP,都可以ping通,只是端口不通,不知道是哪里配置有问题
dmmal.ini参数如下
$ cat /dm8/dsc_config/dsc0_config/dmmal.ini
[mal_inst0]
mal_inst_name = DSC0
mal_host = 192.168.187.101 #私网IP
mal_port = 9340
mal_inst_host = 192.168.100.101 #公网IP
mal_inst_port = 5236
mal_dw_port = 3567
mal_inst_dw_port = 5276
[mal_inst1]
mal_inst_name = DSC1
mal_host = 192.168.187.102
mal_port = 9341
mal_inst_host = 192.168.100.102
mal_inst_port = 5237
mal_dw_port = 3568
mal_inst_dw_port = 5277
[mal_inst2]
mal_inst_name = DW01
mal_host = 192.168.187.104
mal_port = 9342
mal_inst_host = 192.168.100.104
mal_inst_port = 5236
mal_dw_port = 3569
mal_inst_dw_port = 5278
请专家指点下排查思路,谢谢。
日志这台机器需要可以访问到102和104的9341和9342端口,端口不通肯定不行的
这几台机器之间的防火墙策略都开了吗?