分布式部署

分布式部署配置

为了平衡资源消耗且尽量遵循单一功能原则,我们将健康管理服务部署为心跳服务实时数据服务画像与预警服务APPHUB管理服务实时预警服务日志数据服务应用容器数据服务应用性能管理服务升级中心。若服务要使用升级功能则需配置升级模块

心跳服务

提供心跳数据接收、存储、同步各容器节点状态服务,配置文件hm_pro(test)_hbserver.properties,需修改以下关键配置,详细配置见心跳服务

feature.hbclientagent.hbservers=心跳服务地址
feature.hbserveragent.enable=true
feature.hbserveragent.http.port=心跳监听端口
feature.hbserveragent.http.qport=心跳数据服务端口
feature.hbserveragent.store.addr=redis地址
feature.runtimenotify.enable=true
feature.runtimenotify.MT_Runtime.enable=false
feature.runtimenotify.nodeinfotimer.enable=true

实时数据服务

提供实时数据接收存储查询服务,配置文件hm_pro(test)_moserver.properties,需修改以下关键配置,详细配置见实时数据服务

feature.hbclientagent.hbservers=心跳服务地址
feature.healthmanager.enable=true
feature.healthmanager.messagingnameserver=rocketmq NameServer地址
feature.healthmanager.MT_Monitor.enable=true
feature.healthmanager.http.port=实时数据服务端口
feature.healthmanager.MT_Monitor.ds.enable=true
feature.healthmanager.MT_Monitor.ds.servers=opentsdb地址

画像与预警服务

提供画像数据接收存储查询服务、预警数据接收存储与预警通知发送服务,配置文件hm_pro(test)_pfntfyserver.properties,需修改以下关键配置,详细配置见画像与预警服务

feature.hbclientagent.hbservers=心跳服务地址
feature.healthmanager.enable=true
feature.healthmanager.messagingnameserver=rocketmq NameServer地址
feature.healthmanager.MT_Notify.enable=true
feature.healthmanager.MT_Profile.enable=true
feature.healthmanager.http.port=画像数据查询端口
feature.healthmanager.MT_Profile.ds.enable=true
feature.healthmanager.MT_Profile.ds.servers=mongo地址
feature.healthmanager.MT_Notify.ds.enable=true
feature.healthmanager.MT_Notify.ds.servers=mongo地址
feature.notifycenter.enable=true
feature.notifycenter.nc.cache.addr=redis地址
feature.notifycenter.http.port=预警中心服务端口
feature.notifycenter.nc.notify.mail.provider=JavaMail
feature.notifycenter.nc.notify.mail.msgurl=AppHub访问地址/uavapp_godeye/notifymgr/desc.html
feature.notifycenter.nc.notify.mail.uavurl=AppHub访问地址(例如:http://127.0.0.1:8080/apphub)
feature.notifycenter.nc.notify.mail.javamail.smtphost=smtp服务地址(例如:mail.163.com/)
feature.notifycenter.nc.notify.mail.javamail.smtpport=smtp服务端口
feature.notifycenter.nc.notify.mail.javamail.smtpauth=true
feature.notifycenter.nc.notify.mail.javamail.username=发件箱地址(例如:XXX@163.com)
feature.notifycenter.nc.notify.mail.javamail.password=发件箱密码

AppHub管理服务

提供各数据查询及APP应用管理服务,配置文件hm_pro(test)_apphubmgr.properties,需修改以下关键配置,详细配置见APPHUB管理服务_apphubmgr.md)

feature.hbclientagent.hbservers=心跳服务地址
feature.apphubmanager.enable=true
feature.apphubmanager.http.port=apphub服务端口
feature.healthmanager.enable=true
feature.healthmanager.http.port=实时数据查询服务端口
feature.healthmanager.MT_Profile.ds.enable=true
feature.healthmanager.MT_Profile.ds.servers=mongo地址
feature.healthmanager.MT_Notify.ds.enable=true
feature.healthmanager.MT_Notify.ds.servers=mongo地址
feature.healthmanager.MT_Monitor.ds.enable=true
feature.healthmanager.MT_Monitor.ds.servers=opentsdb地址
feature.hbserveragent.enable=true
feature.hbserveragent.http.qport=心跳数据查询服务端口
feature.hbserveragent.store.addr=redis地址
feature.runtimenotify.cm.server=redis地址
feature.runtimenotify.http.port=实时预警服务端口

实时预警服务

提供预警判定服务,配置文件hm_pro(test)_rtserver.properties,需修改以下关键配置,详细配置见

feature.hbclientagent.hbservers=心跳服务地址
feature.runtimenotify.enable=true
feature.runtimenotify.MT_Runtime.enable=true
feature.runtimenotify.messagingnameserver=true
feature.runtimenotify.cm.server=redis地址
feature.runtimenotify.storecm.server=redis地址
feature.runtimenotify.http.port=实时预警服务端口

日志服务

提供日志数据接收存储查询服务,配置文件hm_pro(test)_logserver.properties,需修改以下关键配置,详细配置见日志数据服务

feature.hbclientagent.hbservers=心跳服务地址
feature.newlogservice.enable=true
feature.newlogservice.to.runtimentf=true
feature.newlogservice.messagingnameserver=rocketmq NameServer地址
feature.newlogservice.MT_Log.enable=true
feature.newlogservice.es.addr=elasticsearch地址
feature.newlogservice.http.port=日志服务端口

应用容器数据服务

提供容器数据接收存储服务,配置文件hm_pro(test)_nodeserver.properties,需修改以下关键配置,详细配置见应用容器数据服务

feature.hbclientagent.hbservers=心跳服务地址
feature.healthmanager.enable=true
feature.healthmanager.messagingnameserver=rocketmq NameServer地址
feature.healthmanager.MT_Node.enable=true
feature.healthmanager.http.port=容器数据服务端口
feature.healthmanager.MT_Node.ds.enable=true
feature.healthmanager.MT_Node.ds.servers=opentsdb地址

应用性能管理服务

提供调用链、线程分析数据接收存储查询服务,配置文件hm_pro(test)_apmserver.properties,需修改以下关键配置,详细配置见应用性能管理服务

feature.hbclientagent.hbservers=心跳服务地址
feature.collectserver.enable=true
feature.collectserver.messagingnameserver=rocketmq NameServer地址
feature.invokechainserver.enable=true
feature.invokechainserver.store.addr=redis地址
feature.invokechainserver.es.addr=elasticsearch地址
feature.invokechainserver.es.clustername=es集群名
feature.invokechainserver.http.port=调用链服务端口
feature.threadanalysisserver.enable=true
feature.threadanalysisserver.es.addr=elasticsearch地址
feature.threadanalysisserver.es.clustername=es集群名
feature.threadanalysisserver.http.port=线程分析服务端口

升级中心

提供升级服务,配置文件upgrade_pro(test)_server.properties,需修改以下关键配置,详细配置见升级中心

feature.hbclientagent.hbservers=心跳服务地址
feature.upgradeserver.enable=true
feature.upgradeserver.http.port=升级服务端口
feature.upgradeserver.http.bossgroup.size=http接收线程
feature.upgradeserver.http.wokergroup.size=http处理线程
feature.upgradeserver.download.dir=升级安装包目录
feature.upgradeserver.download.threshold=最大同时下载数

若使用升级功能则需配置升级模块

results matching ""

    No results matching ""