HM-SPMS/platform/common/sysconfig/proc_param_cfg.xml

46 lines
2.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<root>
<module name="sys_proc_mng_api" description="进程管理接口库">
<param key="period" value="100" desc="线程运行周期"/>
</module>
<module name="sys_proc_mng" description="进程管理">
<param key="proc_mng_thread_interval" value="100" desc="进程管理线程运行周期(单位:毫秒)"/>
<param key="heartbeat_timeout" value="2000" desc="心跳超时时间(单位:毫秒)"/>
<param key="max_failure_mng_time" value="1800000" desc="最大故障管理时间(单位:毫秒)"/>
<param key="max_failure_count" value="10" desc="最大故障发生次数"/>
<param key="max_once_failure_count" value="10" desc="最大单次故障次数"/>
</module>
<module name="sys_network_check" description="网络检测">
<param key="ping_timeout" value="1000" desc="Ping超时时间"/>
<param key="ping_period" value="500" desc="Ping周期(单位:毫秒)"/>
<param key="ping_retry_time" value="3" desc="Ping失败时的重试次数"/>
</module>
<module name="sys_node_mng" description="节点管理">
<param key="app_redundancy" value="1" description="是否应用级冗余"/>
<param key="heartbeat_check_period" value="200" description="心跳检查周期(单位:毫秒)"/>
<param key="redundancy_check_period" value="100" description="仲裁周期(单位:毫秒)"/>
<param key="local_heartbeat_timeout" value="2000" description="本机心跳超时时间(单位:毫秒)"/>
<param key="recv_heartbeat_timeout" value="5000" description="其它节点心跳超时时间(单位:毫秒)"/>
<param key="msg_recv_timeout" value="200" description="消息接收超时时间(单位:毫秒)"/>
<param key="switch_timeout" value="6000" description="切换超时时间(单位:毫秒)"/>
<param key="network_stable_threshold" value="10" description="网络稳定阈值"/>
<param key="redundancy_stable_threshold" value="6" description="冗余状态稳定阈值"/>
</module>
<module name="sys_nodeinfo_tran" description="节点信息转发">
<param key="msg_recv_timeout" value="200" desc="消息接收超时时间(单位:毫秒)"/>
<param key="msg_send_period" value="500" desc="消息发送周期(单位:毫秒)"/>
</module>
<module name="alarm_resource" description="系统资源监视告警">
<param key="cpu_high" value="85" desc="CPU占用率高百分比"/>
<param key="mem_high" value="85" desc="内存占用率高百分比"/>
<param key="disk_high" value="85" desc="硬盘占用率高百分比"/>
<param key="execute_period" value="60" desc="CPU、内存检测的时间间隔单位秒磁盘检测间隔为value*60"/>
</module>
</root>