为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:麒麟v10
【CPU】:kunpeng920
【问题描述】*:部署hsem管理平台,目的端stat日志一直报错,源端日志无问题,试过copy数据,hs日志也无报错,就只有目的端stat日志一直报错
各位大佬看一下
hs服务配置------------------
<?xml version=“1.0” encoding=“GB2312”?>
<dmhs>
<base>
<lang>en</lang>
<mgr_port>5345</mgr_port>
<ckpt_interval>60</ckpt_interval>
<siteid>2</siteid>
<version>2.0</version>
</base>
<exec>
<recv>
<data_port>5346</data_port>
</recv>
<db_type>DM8</db_type>
<db_server>10.180.20.7</db_server>
<db_user>-------</db_user>
<db_pwd>----------</db_pwd>
<db_port>5236</db_port>
<char_code>PG_UTF8</char_code>
<db_name></db_name>
<exec_thr>8</exec_thr>
<exec_sql>1024</exec_sql>
<exec_trx>2000</exec_trx>
<exec_rows>2000</exec_rows>
<ddl_continue>1</ddl_continue>
<affect_row>0</affect_row>
<exec_policy>2</exec_policy>
<enable_rowid>0</enable_rowid>
<clear_trx_file>1</clear_trx_file>
<trx_max_file>8</trx_max_file>
</exec>
</dmhs>
hs_agent配置------------------
<?xml version=“1.0” encoding=“GB2312”?>
<hs_agent>
<lsn_port>5456</lsn_port>
<name>HsAgentForDM</name>
<server_ip>10.180.20.7</server_ip>
<status_interval>3</status_interval>
<status_server>10.180.20.1</status_server>
<status_port>5236</status_port>
<status_user>---------</status_user>
<status_pwd>----------</status_pwd>
<dmhs_support>1</dmhs_support>
<veri_support>1</veri_support>
<lang>en</lang>
<hs_item>
<name>DM</name>
<startup_flag>1</startup_flag>
<svr_name>DmhsService</svr_name>
<prog_dir>/dmhs/bin</prog_dir>
<conf_path>/dmhs/bin/dmhs.hs</conf_path>
<mgr_port>5345</mgr_port>
<check_interval>30</check_interval>
<auto_start_hs>0</auto_start_hs>
<try_times>0</try_times>
<stat>
<startup_flag>1</startup_flag>
<svr_name>DmhsStatService</svr_name>
<prog_dir>/dmhs/bin/stat</prog_dir>
<conf_path>/dmhs/bin/stat/dmhs_stat.xml</conf_path>
</stat>
</hs_item>
</hs_agent>
stat配置------------------------
<?xml version=“1.0” encoding=“GB2312”?>
<dmhs_stat>
<base>
<lang>en</lang>
</base>
<dmhs_conf>
<hs_xml_path>/dmhs/bin/dmhs.hs</hs_xml_path>
<server_ip>10.180.20.7</server_ip>
<mgr_port>5345</mgr_port>
<startup_flag>2</startup_flag>
</dmhs_conf>
<stat_conf>
<stat_module_alive>1</stat_module_alive>
<module_alive_interval>30</module_alive_interval>
<stat_statistic>1</stat_statistic>
<statistic_interval>30</statistic_interval>
<stat_thr_info>1</stat_thr_info>
<thr_info_interval>30</thr_info_interval>
<stat_lag_info>1</stat_lag_info>
<lag_info_interval>30</lag_info_interval>
<stat_errlog>1</stat_errlog>
<stat_machine>1</stat_machine>
<machine_interval>30</machine_interval>
<save_sql>1</save_sql>
<stat_delay>30</stat_delay>
</stat_conf>
<database>
<db_server>10.180.20.1</db_server>
<db_port>5236</db_port>
<db_user>---------</db_user>
<db_pwd>------------</db_pwd>
</database>
</dmhs_stat>
问题已解决,这个版本的dmhs安装包stat模块有问题,从其他地方拷了stat模块下的文件,就解决了
