AppHub Manager
Configuration file hm_pro(test)_apphubmgr.properties
Log Configuration
log.level=INFO
INFO, ERR, WARNING, DEBUG, FINE, FINER and ALL
log.debug=false
Enable debug logging or not
log.fsize=10
Size of single output block of logs
log.collectEnable=false
Collect logs or not
log.collectMatch=
Regex match to collect specified logs
meta.datacenterid=1
Node ID
meta.nodetype=\u5FC3\u8DF3\u670D\u52A1
Node name and UTF8 code
Basic Feature Configuration
message producer: Message Producer
resource.messageproducer.class=org.uavstack.resources.common.messaging.MessageProducerResourceComponent
Main component class of message producer
resource.messageproducer.properties=
Property configuration, for example: key1=value1,key2=value2,...
resource.messageproducer.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
Address of message middleware server (RocketMQ). Separate multiple addresses with “;”
resource.messageproducer.messagingthreshold=30
Threshold value for message compression. Send compressed messages when the message size (in kb) exceeds the threshold value
System Http invoker: Http Client Invocation
resource.httpinvoke.class=org.uavstack.resources.common.invoker.HttpInvokerResourceComponent
Component class of Http invocation
resource.httpinvoke.properties=
Property configuration, for example: key1=value1,key2=value2,...
resource.httpinvoke.http.client.maxperroute=20
Maximum client connection per route
resource.httpinvoke.http.client.maxtotal=100
Maximum client connection
resource.httpinvoke.http.client.sotimeout=10000
Timeout period of the client socket connection, in ms
resource.httpinvoke.http.client.conntimeout=10000
Timeout period of the client connection, in ms
resource.httpinvoke.http.client.reqtimeout=10000
Timeout period of the client request, in ms
nodeoperagent: Node Control Feature
feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar
Main jar of the node control feature for classloader isolation
feature.nodeoperagent.enable=true
Enable the node control feature
feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent
Main class of the node control feature
feature.nodeoperagent.http.port=10120
Port of node control service
notifyagent: Notification feature
feature.notifyagent.loader=com.creditease.uav.notifymanager.jar
Main jar of the node notification feature for classloader isolation
feature.notifyagent.enable=true
Enable the notification feature
feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent
Main class of the notification feature
feature.notifyagent.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler
Main class of the notification feature
feature.notifyagent.expireTime=14400
Expiration time of the notification event, in s
feature.notifyagent.frozenTime=300
Frozen time of the notification event, in s
heartbeatclientagent: Heartbeat client side feature
feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar
Main jar of the heartbeat client feature for classloader isolation
feature.hbclientagent.enable=true
Enable the heartbeat client feature
feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent
Main class of the heartbeat client feature
feature.hbclientagent.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler
Handler class of heartbeat delivery
feature.hbclientagent.hbservers=127.0.0.1:8011
Heartbeat server address
feature.hbclientagent.interval=15000
Heartbeat delivery interval, in ms
Functional Feature Configuration
apphubmanager: AppHub Manager Feature
feature.apphubmanager.loader=com.creditease.uav.healthmanager-1.0.jar
Main jar of the AppHub Manager feature for classloader isolation
feature.apphubmanager.enable=true
Enable the AppHub Manager feature
feature.apphubmanager.components=com.creditease.uav.feature.AppHubManager
Main class of the AppHub Manager feature
feature.apphubmanager.appHubManagerHandlers=com.creditease.uav.feature.apphubmanager.http.handlers.AHDataStoreAppHandler,com.creditease.uav.feature.apphubmanager.http.handlers.AHDataStoreGroupHandler,com.creditease.uav.feature.apphubmanager.http.handlers.AHDataStoreFeedbackHandler
Handler class of the AppHub Manager
feature.apphubmanager.http.port=8031
Port of the AppHub Manager
feature.apphubmanager.http.backlog=10
Length of the connection queue of the AppHub Manager
feature.apphubmanager.http.core=20
Core thread count of the AppHub Manager
feature.apphubmanager.http.max=100
Maximum thread count of the AppHub Manager
feature.apphubmanager.http.bqsize=20
Queue length of the AppHub Manager
feature.apphubmanager.ds.enable=true
Enable the data source of AppHub Manager
feature.apphubmanager.ds.servers=127.0.0.1:27017
Address of the datasource (Mongo) of AppHub Manager
feature.apphubmanager.ds.db=apphubDataStore
Name of the database of AppHub Manager
feature.apphubmanager.ds.power=apphubDataStore
Role of users of the database of AppHub Manager
feature.apphubmanager.ds.usr=
Username of the database of AppHub Manager
feature.apphubmanager.ds.pwd=
Password of the database of AppHub Manager
HealthManager: Health Manager Feature
feature.healthmanager.loader=com.creditease.uav.healthmanager-1.0.jar
Main jar of the HM feature for classloader isolation
feature.healthmanager.enable=true
Enable the Health Manager feature
feature.healthmanager.components=com.creditease.uav.feature.HealthManager
Main class of the Health Manager feature
feature.healthmanager.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.healthmanager.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
Address of the message queue of HM. Separate multiple addresses with “,”
feature.healthmanager.MT_Monitor.consumethreadmax=10
Maximum thread count consumed by the monitoring data
feature.healthmanager.MT_Notify.consumethreadmax=10
Maximum thread count consumed by the notification data
feature.healthmanager.MT_Profile.consumethreadmax=10
Maximum thread count consumed by the profile data
feature.healthmanager.MT_Node.consumethreadmax=10
Maximum thread count consumed by the node data
feature.healthmanager.MT_Monitor.consumestopinterval=0
Consumption interval of the monitoring data, in ms
feature.healthmanager.MT_Notify.consumestopinterval=0
Consumption interval of the notification data, in ms
feature.healthmanager.MT_Profile.consumestopinterval=0
Consumption interval of the profile data, in ms
feature.healthmanager.MT_Node.consumestopinterval=0
Consumption interval of the node data, in ms
feature.healthmanager.MT_Monitor.enable=false
Consume the monitoring data or not
feature.healthmanager.MT_Notify.enable=false
Consume the notification data or not
feature.healthmanager.MT_Profile.enable=false
Consume the profile data or not
feature.healthmanager.MT_Node.enable=false
Consume the node data or not
feature.healthmanager.healthMangerHandlers=com.creditease.uav.feature.healthmanager.http.handlers.HMDataStoreQueryHandler,com.creditease.uav.feature.healthmanager.http.handlers.HMCacheQueryHandler
Handler class of HM data
feature.healthmanager.http.port=8044
Port for HM data query
feature.healthmanager.http.backlog=20
Length of the connection queue of HM data query server
feature.healthmanager.http.core=20
Core thread count of HM data query server
feature.healthmanager.http.max=200
Maximum thread count of HM data query server
feature.healthmanager.http.bqsize=5
Queue length of HM data query server
feature.healthmanager.lifekeeper.enable=false
Enable the heartbeat lifekeeper or not
feature.healthmanager.lifekeeper.interval=60000
Time interval of heartbeat lifekeeper, in ms
feature.healthmanager.store.addr=127.0.0.1:6379
Storage address (Redis) of HM information
feature.healthmanager.store.concurrent.min=30
Minimum thread count in the thread pool of the Redis client
feature.healthmanager.store.concurrent.max=300
Maximum thread count in the thread pool of the Redis client
feature.healthmanager.store.concurrent.bqsize=5
Length of the queue in the thread pool of the Redis client
feature.healthmanager.store.concurrent.pwd=
Redis password
feature.DBSource.MongoDB4Profile
feature.healthmanager.MT_Profile.ds.enable=true
Enable the data source (Mongo) that stores the profile data or not
feature.healthmanager.MT_Profile.ds.servers=127.0.0.1:27017
Address of the data source (Mongo) that stores the profile data
feature.healthmanager.MT_Profile.ds.db=profileDataStore
Name of the database (Mongo) that stores the profile data
feature.healthmanager.MT_Profile.ds.power=profileDataStore
Role of users of the database that stores the profile data
feature.healthmanager.MT_Profile.ds.usr=
Username of the datastore that stores profile data
feature.healthmanager.MT_Profile.ds.pwd=
Password of the datastore that stores the profile data
feature.DBSource.MongoDB4Notification
feature.healthmanager.MT_Notify.ds.enable=true
Enable the data source (Mongo) that stores notification data or not
feature.healthmanager.MT_Notify.ds.servers=127.0.0.1:27017
Address of the data source (Mongo) that stores the notification data
feature.healthmanager.MT_Notify.ds.db=notifyDataStore
Name of the datastore that stores the notification data
feature.healthmanager.MT_Notify.ds.power=notifyDataStore
Role of users of the database that stores the notification data
feature.healthmanager.MT_Notify.ds.usr=
Username of the database that stores the notification data
feature.healthmanager.MT_Notify.ds.pwd=
Password of the database that stores the notification data
feature.DBSource.OpenTSDB4Monitor
feature.healthmanager.MT_Monitor.ds.enable=true
Enable the database (OpenTSDB) that stores the monitoring data or not
feature.healthmanager.MT_Monitor.ds.servers=127.0.0.1:4243,127.0.0.1:4243
Address of the database (OpenTSDB) that stores the monitoring data
feature.healthmanager.MT_Monitor.ds.db=monitorDataStore
Name of the database that stores the monitoring data
feature.healthmanager.MT_Monitor.ds.maxPerRoute=50
Maximum client connection per route of the database that stores the monitoring data
feature.healthmanager.MT_Monitor.ds.maxRoute=50
Maximum client connection of the database that stores the monitoring data
feature.healthmanager.MT_Monitor.ds.soTimeout=10000
Timeout period of the client socket connection of the database that stores the monitoring data, in ms
feature.healthmanager.MT_Monitor.ds.connTimeout=5000
Timeout period of the client connection of the database that stores the monitoring data, in ms
feature.healthmanager.MT_Monitor.ds.reqTimeout=5000
Timeout period of the client request of the database that stores the monitoring data, in ms
feature.healthmanager.MT_Monitor.ds.batchsize=50
Threshold value for batch submission of the database that stores the monitoring data
feature.healthmanager.MT_Monitor.ds.retry=3
Number of submission retries of the database that stores the monitoring data
feature.healthmanager.MT_Monitor.ds.expire=30000
Timeout period of submission of the database that stores the monitoring data, in ms
feature.healthmanager.MT_Monitor.ds.cachetime=5
Caching time of the monitoring data, in ms
feature.DBSource.OpenTSDB4Node
feature.healthmanager.MT_Node.ds.enable=true
Enable the data source (OpenTSDB) that stores the node data or not
feature.healthmanager.MT_Node.ds.servers=127.0.0.1:4243,127.0.0.1:4243
Address of the data source (OpenTSDB) that stores the node data
feature.healthmanager.MT_Node.ds.db=nodeDataStore
Name of the database that stores the node data
feature.healthmanager.MT_Node.ds.maxPerRoute=10
Maximum client connection per route of the database that stores the node data
feature.healthmanager.MT_Node.ds.maxRoute=50
Maximum client connection of the database that stores the node data
feature.healthmanager.MT_Node.ds.soTimeout=10000
Timeout period of the client socket connection of the database that stores the node data, in ms
feature.healthmanager.MT_Node.ds.connTimeout=5000
Timeout period of the client connection of the database that stores the node data, in ms
feature.healthmanager.MT_Node.ds.reqTimeout=3000
Timeout period of the client request of the database that stores the node data, in ms
feature.healthmanager.MT_Node.ds.retry=3
Number of submission retries of the database that stores the node data
feature.healthmanager.MT_Node.ds.batchsize=50
Threshold value for batch submission of the database that stores the node data
feature.healthmanager.MT_Node.ds.expire=30000
Timeout period of submission of the database that stores the node data, in ms
heartbeatserveragent: Heartbeat Server Feature
feature.hbserveragent.loader=com.creditease.uav.agent.heartbeat.jar
Main jar of the heartbeat client feature for classloader isolation
feature.hbserveragent.enable=true
Enable the heartbeat server feature
feature.hbserveragent.components=com.creditease.agent.feature.HeartBeatServerAgent
Main class of the heartbeat server feature
feature.hbserveragent.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.hbserveragent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBServerDefaultHandler
Handler class of the heartbeat server data
feature.hbserveragent.http.port=8012
Port that receives the heartbeat server data
feature.hbserveragent.hbqueryhandlers=com.creditease.agent.feature.hbagent.handlers.HBQueryHandler
Handler class of the heartbeat query server
feature.hbserveragent.http.qport=8022
Port for heartbeat data query
feature.hbserveragent.http.backlog=10
Length of the connection queue of the heartbeat Http server
feature.hbserveragent.http.core=20
Core thread count of heartbeat Http server
feature.hbserveragent.http.max=150
Maximum thread count of heartbeat Http server
feature.hbserveragent.http.bqsize=5
Queue length of the heartbeat Http server
feature.hbserveragent.store.addr=127.0.0.1:6379
Storage address (Redis) of heartbeat information
feature.hbserveragent.store.concurrent.min=30
Minimum thread count in the thread pool of the Redis client
feature.hbserveragent.store.concurrent.max=150
Maximum thread count in the thread pool of the Redis client
feature.hbserveragent.store.concurrent.bqsize=5
Queue length in the thread pool of the Redis client
feature.hbserveragent.store.concurrent.pwd=
Redis password
feature.hbserveragent.ismaster=true
Master node of the heartbeat server or not. If false, then the cascading node is only responsible for information transmission.
feature.hbserveragent.lifekeeper.enable=true
Enable the heartbeat lifekeeper or not
feature.hbserveragent.lifekeeper.interval=15000
Time interval of the heartbeat lifekeeper, in ms
feature.hbserveragent.lifekeeper.locktimeout=60000
Expiration time of the distributed lock of the heartbeat lifekeeper
feature.hbserveragent.lifekeeper.nodetimeout=30000
Expiration time of the node information of the heartbeat lifekeeper
runtimenotify: Realtime Notification Feature
feature.runtimenotify.loader=com.creditease.uav.healthmanager-1.0.jar
Main jar of the runtime notification feature for classloader isolation
feature.runtimenotify.enable=true
Enable the runtime notification feature
feature.runtimenotify.components=com.creditease.uav.feature.RuntimeNotifyCatcher
Main class of the runtime notification feature
feature.runtimenotify.rnhandlers=com.creditease.uav.feature.runtimenotify.RuntimeNotifyDataHandler
Handler class of the runtime notification server
feature.runtimenotify.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
Address of the message queue of the notification information. Separate multiple addresses with “,”
feature.runtimenotify.MT_Runtime.consumethreadmax=30
Maximum thread count consumed
feature.runtimenotify.MT_Runtime.consumestopinterval=0
Consumption interval, in ms
feature.runtimenotify.MT_Runtime.enable=false
Consume MT_Runtime information or not
feature.runtimenotify.cm.server=127.0.0.1:6379
Address of the notification cache (Redis)
feature.runtimenotify.cm.minsize=5
Minimum thread count in the thread pool of the Redis client
feature.runtimenotify.cm.maxsize=10
Maximum thread count in the thread pool of the Redis client
feature.runtimenotify.cm.qsize=20
Queue length in the thread pool of the Redis client
feature.runtimenotify.storecm.server=127.0.0.1:6379
Address of the sliced notification cache (Redis)
feature.runtimenotify.storecm.minsize=30
Minimum thread count in the thread pool of the Redis client side
feature.runtimenotify.storecm.maxsize=60
Maximum thread count in the thread pool of the Redis client
feature.runtimenotify.storecm.qsize=20
Queue length in the thread pool of the Redis client
feature.runtimenotify.qworker.coresize=10
Core thread count processed in the notification thread pool
feature.runtimenotify.qworker.maxsize=30
Maximum thread count processed in the notification thread pool
feature.runtimenotify.qworker.bqsize=50
Queue length processed in the notification thread pool
feature.runtimenotify.qworker.keepalivetimeout=60000
Expiration time of the lifekeeper of the notification process, in ms
feature.runtimenotify.nodeinfoprocess.exchange=false
Exchange the node heartbeat data into the runtime notification module or not
feature.runtimenotify.nodeinfotimer.period=15000
Receiving frequency of the node heartbeat data
feature.runtimenotify.rnswhandlers=com.creditease.uav.feature.runtimenotify.http.RuntimeNotifyServerHandler
Handler class of the Http server of the runtime notification
feature.runtimenotify.http.port=9004
Port of the Http server of the runtime notification
feature.runtimenotify.http.backlog=10
Length of the connection queue of the Http server of the runtime notification
feature.runtimenotify.http.core=20
Core thread count of the Http server of the runtime notification
feature.runtimenotify.http.max=100
Maximum thread count of the Http server of the runtime notification
feature.runtimenotify.http.bqsize=5
Queue length of the Http server of the runtime notification
feature.runtimenotify.crash.timeout=300000
Expiration time of the process death notification, in ms
feature.runtimenotify.strategy.interval=60000
Upgrade frequency of the notification strategy, in ms
feature.runtimenotify.slice.config={"N": {"timerange":" 600000","expire":" 60000"},"M": {"timerange":" 600000","expire":" 60000"},"L": {"timerange":" 600000","expire":" 0 "}}
Storage period and expiration time of sliced notification data