Distributed Deployment
Distributed Deployment Configuration
To better balance the resource consumption and follow the rule of single-function, HM is deployed to include Heartbeat Server, Monitoring Server, Profile and Notification Server, AppHub Manager, Runtime Notification Server, Log Server, Node Server, APM Server and Upgrade Server. Configure the Upgrade Module for feature upgrade.
Heartbeat Server
Receives and stores the heartbeat data and synchronizes the node status. The configuration file is hm_hbserver.properties. Modify the key configuration items below. Refer to Heartbeat Server for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.hbserveragent.enable=true
feature.hbserveragent.http.port=Port of heartbeat listener
feature.hbserveragent.http.qport=Port of heartbeat data server
feature.hbserveragent.store.addr=Address of Redis
feature.runtimenotify.enable=true
feature.runtimenotify.MT_Runtime.enable=false
feature.runtimenotify.nodeinfotimer.enable=true
Monitoring Server
Receives and stores monitoring data and supports monitoring data query. The configuration file is hm_pro_moserver.properties. Modify the key configuration items below. Refer to Monitoring Server
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.healthmanager.enable=true
feature.healthmanager.messagingnameserver=Address of RocketMQ NameServer
feature.healthmanager.MT_Monitor.enable=true
feature.healthmanager.http.port=Port of Monitoring Server
feature.healthmanager.MT_Monitor.ds.enable=true
feature.healthmanager.MT_Monitor.ds.servers=Address of OpenTSDB
Profile and Notification Server
Receives and stores the profile data and notification data, and supports profile data query and alarm notification delivery. The configuration file is hm_pro_pfntfyserver.properties. Modify the key configuration items below. Refer to Profile and Notification Server for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.healthmanager.enable=true
feature.healthmanager.messagingnameserver=Address of RocketMQ NameServer
feature.healthmanager.MT_Notify.enable=true
feature.healthmanager.MT_Profile.enable=true
feature.healthmanager.http.port=Port of profile data query
feature.healthmanager.MT_Profile.ds.enable=true
feature.healthmanager.MT_Profile.ds.servers=Address of Mongo
feature.healthmanager.MT_Notify.ds.enable=true
feature.healthmanager.MT_Notify.ds.servers=Address of Mongo
feature.notifycenter.enable=true
feature.notifycenter.nc.cache.addr=Address of Redis
feature.notifycenter.http.port=Port of Notification Center
feature.notifycenter.nc.notify.mail.provider=JavaMail
feature.notifycenter.nc.notify.mail.msgurl=Access address of AppHub/uavapp_godeye/notifymgr/desc.html
feature.notifycenter.nc.notify.mail.uavurl=Access address of AppHub (such as: http://127.0.0.1:8080/apphub)
feature.notifycenter.nc.notify.mail.javamail.smtphost=Address of SMTP Server (such as: mail.163.com/)
feature.notifycenter.nc.notify.mail.javamail.smtpport=Port of SMTP Server
feature.notifycenter.nc.notify.mail.javamail.smtpauth=true
feature.notifycenter.nc.notify.mail.javamail.username=Username of outbox (such as: XXX@163.com)
feature.notifycenter.nc.notify.mail.javamail.password=Password of outbox
AppHub Manager
Support data query and application management. The configuration file is hm_pro_apphub.properties. Modify the key configuration items below. Refer to AppHub Manager for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.apphubmanager.enable=true
feature.apphubmanager.http.port=Port of AppHub Manager
feature.healthmanager.enable=true
feature.healthmanager.http.port=Port of monitoring data query server
feature.healthmanager.MT_Profile.ds.enable=true
feature.healthmanager.MT_Profile.ds.servers=Address of Mongo
feature.healthmanager.MT_Notify.ds.enable=true
feature.healthmanager.MT_Notify.ds.servers=Address of Mongo
feature.healthmanager.MT_Monitor.ds.enable=true
feature.healthmanager.MT_Monitor.ds.servers=Address of OpenTSDB
feature.hbserveragent.enable=true
feature.hbserveragent.http.qport=Port of heartbeat data query server
feature.hbserveragent.store.addr=Address of Redis
feature.runtimenotify.cm.server=Address of Redis
feature.runtimenotify.http.port=Port of runtime notification server
Runtime Notification Server
Supports notification judgement. The configuration file is hm_pro_rtserver.properties. Modify the key configuration items below.
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.runtimenotify.enable=true
feature.runtimenotify.MT_Runtime.enable=true
feature.runtimenotify.messagingnameserver=true
feature.runtimenotify.cm.server=Address of Redis
feature.runtimenotify.storecm.server=Address of Redis
feature.runtimenotify.http.port=Port of Runtime Notification Server
Log Server
Receives and stores log data and supportslog data query. The configuration file is hm_pro_logserver.properties,Modify the key configuration items below. Refer to Log Data Server for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server址
feature.newlogservice.enable=true
feature.newlogservice.to.runtimentf=true
feature.newlogservice.messagingnameserver=Address of RocketMQ NameServer
feature.newlogservice.MT_Log.enable=true
feature.newlogservice.es.addr=Address of Elasticsearch
feature.newlogservice.http.port=Port of Log Server
Node Server
Receives and stores node data. The configuration file is hm_pro_nodeserver.properties. Modify the key configuration items below. Refer to Node Server for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.healthmanager.enable=true
feature.healthmanager.messagingnameserver=Address of RocketMQ NameServer
feature.healthmanager.MT_Node.enable=true
feature.healthmanager.http.port=Port od node data server
feature.healthmanager.MT_Node.ds.enable=true
feature.healthmanager.MT_Node.ds.servers=Address of OpenTSDB
APM Manager
Receives and stores the invocation chain tracing and thread analysis data, and supports data query. The configuration file is hm_pro_apmserver.properties. Modify the key configuration items below. Refer to APM Manager for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.collectserver.enable=true
feature.collectserver.messagingnameserver=Address of RocketMQ NameServer
feature.invokechainserver.enable=true
feature.invokechainserver.store.addr=Address of Redis
feature.invokechainserver.es.addr=Address of Elasticsearch
feature.invokechainserver.es.clustername=Name of ES cluster
feature.invokechainserver.http.port=Port of Invocation Chain Server
feature.threadanalysisserver.enable=true
feature.threadanalysisserver.es.addr=Address of Elasticsearch
feature.threadanalysisserver.es.clustername=Name of ES cluster
feature.threadanalysisserver.http.port=Port of Thread Analysis Server
Upgrade Server
Supports feature upgrade. The configuration file is upgrade_pro_server.properties. Modify the key configuration items below. Refer to Upgrade Server for detailed configuration
feature.hbclientagent.hbservers=Address of Heartbeat Server
feature.upgradeserver.enable=true
feature.upgradeserver.http.port=Port of Upgrade Server
feature.upgradeserver.http.bossgroup.size=Thread receiving Http requests
feature.upgradeserver.http.wokergroup.size=Thread processing Http requests
feature.upgradeserver.download.dir=Directory of upgrade package
feature.upgradeserver.download.threshold=Maximum count of simultaneous downloads
Configure the Upgrade Module for feature upgrade