References

Last Updated At: 2026-08-14 08:08:00

  1. Configuration file list
Image Name Module Name Configuration File Name Configuration File Path
ocloud-barad-customize tbarad config.ini /usr/local/services/barad/ocloud/conf/
tcloud-barad-alarm cloud_alarm local.json /tce/conf/cm/
tcloud-barad-event barad.cm.event arm_event_front_nws.conf
event_handle.ini
/tce/conf/config/barad.cm.event/
tcloud-barad-isd barad.cm.isd local.json /tce/conf/cm
tcloud-barad-nws Barad.cm.nws custom_alarm_nws.conf
nws_nws.conf
/tce/conf/config/barad.cm.nws/
tcloud-barad-storm Storm-nimbus Barad_Comm_config.ini CloudMIC_config.ini
NWS_CAT1_config.ini
UpdateConf_config.ini
alarm_loader_client.config.ini
storm.yaml
/tce/conf/config/storm.cm
tcloud-barad-update2 stargate server
Alarm loading service
alarm_loader_config.ini /tce/conf/config/barad.cm.update2
tcloud-barad-dispatch-tsm barad_dispatch_argus barad_dispatch_argus.toml /tce/conf/config/
tcloud-barad-script barad_sync_server sync_config.ini /tce/conf/config/barad.cm.script/
  1. Detailed description of the configuration file
    1. tbarad (provides customized API service for the operation-side)
      config.ini configures information on APIs customized by the operation side.
Configuration Item Example
INS_URL http://ocloud-cfs-ops.cfs:80/cfs_api/tce/get_barad_dimention
INS_JSON {"version":"1.0","caller":"CGW","password":"CGW","callee":"cdn",
"eventId":1097532882,"timestamp":1427732027,"
interface":{"interfaceName":"Qcloud.Cfs.GetBaradDimessions","para":{}},
"postOperation":[]}
DB_MODE mysql
HOST db-2.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn
PORT 22003
USER 43o68ui4qcdl
PASS a97oo3faahcf
NAME cnas
NAS_ACCESS_IP_LIST ["10.28.12.33","10.28.11.37"]
  1. cloud_alarm (reverses the alarm status and receives platform event services)
    local.json cloud_alarm service configuration
Configuration Item Example Description
Request domain alarm.barad.yun.com Alarm request address
ip 192.168.192.224 Host address
url http://alarm.barad.yun.com:8000/barad.cgi? URL address
port 8000 Requester
  1. barad.cm.event (event reporting service)
    arm_event_front_nws.conf configuration event center CGI.
Configuration Item Example Description
listen_port *:45008 Service listening port
maximum_connections 100000 Maximum Connections
maxfds 65535 Maximum number of files
log_level debug Log level
log_rotate_size 10 Log rotation size
max_cachesize 131072 Maximum cache size
working_threads 4 Number of work processes
kfk_broker_list kafka-1.kafka.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn:9092 Kafka connection address
kfk_request_timeout 1000 Kafka request timeout
kfk_message_timeout 2000 Kafka message timeout duration
kfk_statistics_intervals 1000 Statistical interval time
datafile_path /data/backup/eventdata Data storage path
conf_db_host db-1.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn Configuring the database hostname
conf_db_port 22001 Database port
conf_db_user wtn34rkf5m1d Database account
conf_db_pass z4czfz3ro58x Password
conf_db_base StormCloudConf Database name
log_path ../log/event_front Log path
topic_name cm_event Kafka topic name
  1. event_handle.inihandle service configuration
Configuration Item Example Description
LOG_PATH ../log/event_handle Log path
LOG_LEVEL 3 Log level
PARTITION_NUM 8 Number of rotations
KFK_BROKER db-1.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn Kafka connection address
KFK_TOPIC_NAME cm_event Kafka topic name
KFK_GROUP_ID cm_event_grp Kafka group ID
ES_URL zcac3j77.ces.infra.tce.io:48104 ES domain name
DB_PORT 22001 Database port
DB_IP db-1.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn Database address
DB_PWD z4czfz3ro58x Database password
DB_CHARSET utf8 Character encoding
DB_USER wtn34rkf5m1d Database account
DB_NAME StormCloudConf Database name
ALARM_DB_NAME CloudAlarmV2 Table Name
AMS_URL ams-producteventalarm.tcloud-barad-api.barad/ams/productEventAlarm.php AWS request address
CKV_HOST_LIST ckv1.barad:9101,ckv2.barad:9101,ckv3.barad:9101 CKV host address
REDIS_HOST gm5iaz.credis.infra.tce.io Redis address
REDIS_PORT 40620 Redis port
REDIS_BID redis-barad Redis name
REDIS_PWD redis Redis password
  1. Alarm loading service
    alarm_loader_config.ini alarm loading service configuration
Configuration Item Example Description
host 127.0.0.1:9393 Listening host port
port 22003 Database port
dbname StormDictionary Database Name
timeout 2000 Connection timeout
path ../log/ Log path
level info Log level
size 256 Log size
  1. barad-nws (data access)
    custom_alarm_nws.conf custom message configuration file
Configuration Item Example Description
listen_port *:8880 Listening port
maximum_connections 200000 Maximum Connections
maxfds 65535 Maximum number of files
log_level error Log level
log_rotate_size 100 Log rotation size
max_cachesize 131072 Cache size
working_threads 4 Number of work threads
servername NWS Service name
accesslog ../log Access log path
accesslog_level normal Access log level
accesslog_rotate_num 10 Number of access log rotations
accesslog_rotate_time 300 Access log rotation time
accesslog_rotate_size 1000 Access log rotation size
module ../lib/libalarmreport.so Custom alarm, connect to the management center
receiver_uri /sendAlarm.cgi Specify a CGI name to receive data
alarm_center_uri=/ams/customAlarm.php /ams/customAlarm.php Connection method of the alarm management center
alarm_center_domain customalarm.tcloud-barad-api.barad
alarm_center_hostip 192.168.252.73
alarm_center_timeout 30
retry_times 3 Three retries after a sending fault
limit_per_key_per_minute 120 Frequency limit of one appclientkey per minute
failed_save 1 Whether to enable saving as a file after a retry fault
failed_send 1 Whether to enable continuing to try to send the content saved as a file
failed_report_filepath /data/alarmlog Path to save as a file
failed_report_file_row 100 Number of alarms for a single file
failed_report_file_time 30 Data timeliness of a single file
  1. nws.nws.conf nws data access configuration
Configuration Item Example Description
zookeeper_host 10.28.0.9:2181,10.28.0.11:2181,10.28.0.10:2181 ZK node
zookeeper_timeout 20000 Connection timeout
zookeeper_logfile ../log/zookeeper.log ZK log path
zookeeper_log_level error Log level
zookeeper_update_interval 60 Update interval
namespace_cgi_rootpath /storm110/cloud/TransConf Namespace CGI root path
kfk_broker_listpath /kafka/kafka/brokers/ids Kafka node configuration
kfk_max_message_len 499000 Maximum message length
kfk_message_timeout 180000 Message timeout duration
send_thread_num 8 Number of threads for receiving messages
dictConfPath /storm110/cloud/DictConf Translation dictionary path
dictDBConfPath /storm110/cloud/ExtendConf/DictAndPlugConf Translation database
localDictStorePath /data/storm/local_dict Local dictionary storage path
transRuleConfPath /storm110/cloud/translateConf Translation rule path
  1. barad_dispatch_argus (import part of Cloud Monitor namespace data to argus)
    barad_dispatch_argus.toml
Configuration Item Example Description
LogPath ../log/barad_dispatch_argus.log Log directory
LogLevel 5 Log level: Critical-0, Error-1, Warning-2, Notice-3, Info-4, and Debug-5
TsmInterface http://internal.ocloud-osppro-argus2-interface.osppro/report/ArgusCustomReport API address
Dsn 93tp38qmns44:i28ytm4t93vb@tcp(db-2.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn:22003)/StormCloudConf?autocommit=true Configuring Cloud Monitor DB
TickerSecs 30 Cache loading interval
  1. barad_sync_server (bypass service configuration)
Configuration Item Example Description
dictdb db_name = StormDictionary
db_host = db-2.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn
db_port = 22003
db_user = 4qzhoi0bz17y
db_passwd = kcq2depb8hnv
Translation dictionary database configuration
confdb db_host = db-2.db.gaia-1.yfm17.city A.yf-m17.tcecqpoc.fsphere.cn
db_port = 22003
db_user = 93tp38qmns44
db_passwd = i28ytm4t93vb
db_name = StormCloudConf
Connection configuration of configuration databases
log log_path = ../log/
log_level = info
#log size (MB)
log_size = 100
Log path, level, and size configuration
server [server]
server_host = 1.1.1.1
server_port = 9090
Service IP port configuration
  1. barad-isd (monitoring configuration center)
Configuration Item Example Description
Request domain conf.barad.yun.com Configuration center address
ip 192.168.192.222 Host address
url http://conf.barad.yun.com URL address
port 80 Request port