Profile and Notification Server
Configuration file hm_pro(test)_pfntfserver.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=10150
Port of the node control server
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 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
HealthManager: Profile and Notification Server Feature
feature.healthmanager.loader=com.creditease.uav.healthmanager-1.0.jar
Main jar of the profile server feature for classloader isolation
feature.healthmanager.enable=true
Enable the profile server feature or not
feature.healthmanager.components=com.creditease.uav.feature.HealthManager
Main class of the profile server 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 profile server. Separate multiple addresses with “,”
feature.healthmanager.MT_Monitor.consumethreadmax=10
Maximum thread count consumed by the monitoring data
feature.healthmanager.MT_Notify.consumethreadmax=15
Maximum thread count consumed by the notification data
feature.healthmanager.MT_Profile.consumethreadmax=25
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=true
Consume the notification data or not
feature.healthmanager.MT_Profile.enable=true
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 the profile data
feature.healthmanager.http.port=8043
Port for profile data query
feature.healthmanager.http.backlog=10
Length of the connection queue of profile data query service
feature.healthmanager.http.core=10
Core thread count of the profile data query server
feature.healthmanager.http.max=200
Maximum thread count of the profile data query server
feature.healthmanager.http.bqsize=20
Queue length of the profile data query server
feature.healthmanager.lifekeeper.enable=false
Enable the heartbeat lifekeeper
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 profile information
feature.healthmanager.store.concurrent.min=50
Minimum thread count in the thread pool of the Redis client
feature.healthmanager.store.concurrent.max=500
Maximum thread count in the thread pool of the Redis client
feature.healthmanager.store.concurrent.bqsize=5
Queue length 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 database that stores the profile data
feature.healthmanager.MT_Profile.ds.pwd=
Password of the database that stores the profile data
feature.DBSource.MongoDB4Notification
feature.healthmanager.MT_Notify.ds.enable=true
Enable the data source (Mongo) that stores the 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 database 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 data source (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 data source (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=10
Maximum client connection per route of the datasbase 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 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=3000
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=1
Caching time of the monitoring data, in ms
feature.DBSource.OpenTSDB4Node
feature.healthmanager.MT_Node.ds.enable=true
Enable the datasource (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
HealthManager: Notification Server Feature
feature.notifycenter.loader=com.creditease.uav.notifycenter.jar
Main jar of the notification server feature for classloader isolation
feature.notifycenter.enable=true
Enable the notification server feature or not
feature.notifycenter.components=com.creditease.agent.feature.NotificationCenter
Main class of the notification server feature
feature.notifycenter.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.notifycenter.notifycenterhandlers=com.creditease.agent.feature.notifycenter.handlers.NCJudgementHandler
Handler class of the notification server
feature.notifycenter.inqw.coreSize=10
Core thread count in the thread pool of the notification server
feature.notifycenter.inqw.maxSize=50
Maximum thread count in the thread pool of the notification server
feature.notifycenter.inqw.bQueueSize=5
Queue length in the thread pool of the notification server
feature.notifycenter.inqw.keepAliveTimeout=30000
Survival time of the idle thread in the thread pool of the notification server, in ms
feature.notifycenter.nc.notify.mail.provider=JavaMail
Email delivery mode of notification action
feature.notifycenter.nc.notify.mail.msgurl=http://127.0.0.1:8080/apphub/uavapp_godeye/notifymgr/desc.html
Address associated with the notification event in the notification email
feature.notifycenter.nc.notify.mail.uavurl=http://127.0.0.1:8080/apphub/
Address associated with AppHub in the notification email
feature.notifycenter.nc.notify.mail.cemail.username=
Username of the email under the cemail mode
feature.notifycenter.nc.notify.mail.cemail.password=
Password of the email under the cemail mode
feature.notifycenter.nc.notify.mail.cemail.brokerurl=tcp://127.0.0.1:61616
brokerurl of activemq under the cemail mode
feature.notifycenter.nc.notify.mail.cemail.activeid=ACTIVE-20160623-00001
ACTIVEID sent by email under the cemail mode
feature.notifycenter.nc.notify.mail.cemail.systemsign=1
systemsign sent by email under cemail mode
feature.notifycenter.nc.notify.mail.javamail.smtphost=
SMTP host under the javaMail mode
feature.notifycenter.nc.notify.mail.javamail.smtpport=25
SMTP port under the javaMail mode
feature.notifycenter.nc.notify.mail.javamail.smtpauth=true
Enable identity authentication or not under javaMail mode
feature.notifycenter.nc.notify.mail.javamail.username=
Username of the email under the javaMail mode
feature.notifycenter.nc.notify.mail.javamail.password=
Password of the email under the javaMail mode
feature.notifycenter.nc.notify.sms.baseurl=http://127.0.0.1:8080/smsgateway/services/MessageService3.0/sms/
SMS delivery gateway
feature.notifycenter.nc.notify.retry=3
Frequency that the notification action is triggered
feature.notifycenter.nc.notify.ttl=4
TTL of the notification event, in hour
feature.notifycenter.nc.notify.frozenTime=3600
Frozen time of the notification event, in s
feature.notifycenter.nc.cache.addr=127.0.0.1:6379
Storage address (Redis) of the notification event
feature.notifycenter.nc.cache.concurrent.min=30
Minimum thread count in the thread pool of the Redis client
feature.notifycenter.nc.cache.concurrent.max=100
Maximum thread count in the thread pool of the Redis client
feature.notifycenter.nc.cache.concurrent.bqsize=5
Queue length in the thread pool of the Redis client
feature.notifycenter.nc.cache.concurrent.pwd=
Redis password
feature.notifycenter.nchttpHandler=com.creditease.agent.feature.notifycenter.handlers.NCHttpHandler
Handler class of the notification server
feature.notifycenter.http.port=9011
Http port of the notification data server
feature.notifycenter.http.backlog=10
Length of the connection queue of the notification data server
feature.notifycenter.http.core=30
Core thread count of the notification data query server
feature.notifycenter.http.max=150
Maximum thread count of the notification data query server
feature.notifycenter.http.bqsize=5
Queue length of the notification data query server
feature.notifycenter.push.services=
Name of notification push server