心跳服务

配置文件hm_pro(test)_hbserver.properties

日志配置

log.level=INFO

日志级别,含INFO, ERR, WARNING, DEBUG, FINE, FINER, ALL

log.debug=false

是否开启debug日志

log.fsize=10

日志单次输出块大小

log.collectEnable=false

是否收集日志

log.collectMatch=

收集指定日志的正则匹配

meta.datacenterid=1
meta.nodetype=\u5FC3\u8DF3\u670D\u52A1

节点名称,UTF8编码

基础feature配置

message producer 消息生产者

resource.messageproducer.class=org.uavstack.resources.common.messaging.MessageProducerResourceComponent

消息生产者组件主类

resource.messageproducer.properties=

feature属性配置,for example: key1=value1,key2=value2,...

resource.messageproducer.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876

消息中间件服务(RocketMQ)地址,多个以分号隔开

resource.messageproducer.messagingthreshold=30

消息压缩阈值,超过则压缩发送,单位kb

System Http Invoker http调用客户端

resource.httpinvoke.class=org.uavstack.resources.common.invoker.HttpInvokerResourceComponent

http调用组件类

resource.httpinvoke.properties=

feature属性配置,for example:key1=value1,key2=value2,...

resource.httpinvoke.http.client.maxperroute=20

客户端单路由最大连接数

resource.httpinvoke.http.client.maxtotal=100

客户端最大连接数

resource.httpinvoke.http.client.sotimeout=10000

客户端socket连接超时时间,单位ms

resource.httpinvoke.http.client.conntimeout=10000

客户端连接超时时间,单位ms

resource.httpinvoke.http.client.reqtimeout=10000

客户端请求超时时间,单位ms

nodeoperagent 节点控制feature

feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar

节点控制feature主jar,用于classloader隔离

feature.nodeoperagent.enable=true

启用节点控制feature

feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent

节点控制feature主类

feature.nodeoperagent.http.port=10110

节点控制服务端口

notifyagent 报警feature

feature.notifyagent.loader=com.creditease.uav.notifymanager.jar

报警feature主jar,用于classloader隔离

feature.notifyagent.enable=true

启用报警feature

feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent

报警feature主类

feature.notifyagent.properties=

报警feature属性配置,for example: key1=value1,key2=value2,...

feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler

报警feature主类

feature.notifyagent.expireTime=14400

报警事件过期时间,单位s

feature.notifyagent.frozenTime=300

报警事件压制时间,单位s

heartbeatclientagent 心跳客户端feature

feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar

心跳客户端feature主jar,用于classloader隔离

feature.hbclientagent.enable=true

启用心跳客户端feature

feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent

心跳客户端feature主类

feature.hbclientagent.properties=

心跳客户端feature属性配置,for example: key1=value1,key2=value2,...

feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler

心跳发送处理类

feature.hbclientagent.hbservers=127.0.0.1:8011

心跳服务器地址,此处发送给自己

feature.hbclientagent.interval=15000

心跳发送间隔,单位ms

功能feature配置

heartbeatserveragent 心跳服务feature

feature.hbserveragent.loader=com.creditease.uav.agent.heartbeat.jar

心跳客户端feature主jar,用于classloader隔离

feature.hbserveragent.enable=true

启用心跳服务feature

feature.hbserveragent.components=com.creditease.agent.feature.HeartBeatServerAgent

心跳服务feature主类

feature.hbserveragent.properties=

心跳客户端feature属性配置,for example: key1=value1,key2=value2,...

feature.hbserveragent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBServerDefaultHandler

心跳服务数据处理类

feature.hbserveragent.http.port=8011

心跳服务数据接收端口

feature.hbserveragent.hbqueryhandlers=com.creditease.agent.feature.hbagent.handlers.HBQueryHandler

心跳查询服务处理类

feature.hbserveragent.http.qport=8021

心跳数据查询端口

feature.hbserveragent.http.backlog=10

心跳http服务连接队列长度

feature.hbserveragent.http.core=30

心跳http服务核心线程数

feature.hbserveragent.http.max=150

心跳http服务最大线程数

feature.hbserveragent.http.bqsize=5

心跳http服务队列长度

feature.hbserveragent.store.addr=127.0.0.1:6379

心跳信息存储(redis)地址

feature.hbserveragent.store.concurrent.min=40

redis客户端线程池最小线程数

feature.hbserveragent.store.concurrent.max=200

redis客户端线程池最大线程数

feature.hbserveragent.store.concurrent.bqsize=5

redis客户端线程池队列长度

feature.hbserveragent.store.concurrent.pwd=

redis密码

feature.hbserveragent.ismaster=true

是否是心跳服务master节点,false则为级联节点,只负责传递信息,不做处理。

feature.hbserveragent.lifekeeper.enable=true

是否开启心跳判活

feature.hbserveragent.lifekeeper.interval=15000

心跳判活间隔时间,单位ms

feature.hbserveragent.lifekeeper.locktimeout=60000

心跳判活服务分布式锁过期时间

feature.hbserveragent.lifekeeper.nodetimeout=30000

心跳判活服务节点信息过期时间

feature.hbserveragent.ntp.enable=false

是否开启时钟同步,MA节点root启动有效

runtimenotify 实时预警feature

feature.runtimenotify.loader=com.creditease.uav.healthmanager-1.0.jar

实时预警feature主jar,用于classloader隔离

feature.runtimenotify.enable=true

启用实时预警feature

feature.runtimenotify.components=com.creditease.uav.feature.RuntimeNotifyCatcher

实时预警feature主类

feature.runtimenotify.rnhandlers=com.creditease.uav.feature.runtimenotify.RuntimeNotifyDataHandler

实时预警信息处理类

feature.runtimenotify.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876

预警信息消息队列MQ地址,可多个,用';'隔开

feature.runtimenotify.MT_Runtime.consumethreadmax=30

消费最大线程数

feature.runtimenotify.MT_Runtime.consumestopinterval=0

消费间隔时间,单位ms

feature.runtimenotify.MT_Runtime.enable=false

是否消费主题为MT_Runtime的信息

feature.runtimenotify.cm.server=127.0.0.1:6379

预警缓存(redis)地址

feature.runtimenotify.cm.minsize=10

redis线程池最小线程数

feature.runtimenotify.cm.maxsize=30

redis线程池最大线程数

feature.runtimenotify.cm.qsize=5

redis线程池队列长度

feature.runtimenotify.storecm.server=127.0.0.1:6379

预警分片数据缓存(redis)地址

feature.runtimenotify.storecm.minsize=30

redis线程池最小线程数

feature.runtimenotify.storecm.maxsize=150

redis线程池最大线程数

feature.runtimenotify.storecm.qsize=5

redis线程池队列长度

feature.runtimenotify.qworker.coresize=20

预警处理线程池核心线程数

feature.runtimenotify.qworker.maxsize=100

预警处理线程池最大线程数

feature.runtimenotify.qworker.bqsize=5

预警处理线程池队列长度

feature.runtimenotify.qworker.keepalivetimeout=60000

预警进程死亡判断过期时间,单位ms

feature.runtimenotify.nodeinfotimer.enable=true

是否启用节点心跳数据接收

feature.runtimenotify.nodeinfotimer.period=15000

节点心跳数据接收频率

feature.runtimenotify.nodeinfoprocess.sendmq=true

节点心跳数据是否发送到消息队列

feature.runtimenotify.nodeinfoprocess.exchange=false

节点心跳数据是否exchange到实时预警模块

feature.runtimenotify.rnswhandlers=com.creditease.uav.feature.runtimenotify.http.RuntimeNotifyServerHandler

实时预警http服务处理类

feature.runtimenotify.http.port=9003

实时预警http服务端口

feature.runtimenotify.http.backlog=10

实时预警http服务连接队列长度

feature.runtimenotify.http.core=10

实时预警http服务核心线程数

feature.runtimenotify.http.max=50

实时预警http服务最大线程数

feature.runtimenotify.http.bqsize=10

实时预警http服务队列长度

feature.runtimenotify.crash.timeout=300000

预警进程死亡判断过期时间,单位ms

feature.runtimenotify.strategy.interval=60000

预警策略更新频率,单位ms

feature.runtimenotify.slice.config={"N":{"timerange":"600000","expire":"60000"},"M":{"timerange":"600000","expire":"60000"},"L":{"timerange":"600000","expire":"0"}}

预警信息分片数据保存时间长度以及过期时间

results matching ""

    No results matching ""