This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/install_config/group_vars/adc_global.yml

156 lines
3.5 KiB
YAML
Raw Normal View History

2020-09-10 03:22:39 +08:00
#########################################
2021-06-01 16:16:07 +08:00
#####0: pcap; 1: Inline_device; 2: Allot; 3: ADC_Tun_mode; 4:ATCA_Vlan_Flipping 5:ATCA_VXLAN
2021-01-29 18:03:04 +08:00
tsg_access_type: 2
2021-06-01 16:16:07 +08:00
#####2: ADC; 0:Tun_mode; 1: normal;
2020-09-10 03:22:39 +08:00
tsg_running_type: 2
2021-01-31 22:43:40 +08:00
#####deploy mode: cluster, single
deploy_mode: "cluster"
2020-09-25 15:24:41 +08:00
########################################
#Deploy_finished_reboot
2021-01-29 18:03:04 +08:00
Deploy_finished_reboot: 0
2020-09-25 15:24:41 +08:00
2020-09-10 03:22:39 +08:00
########################################
#IP Config
2021-01-29 18:03:04 +08:00
maat_redis_city_server:
2021-01-31 22:43:40 +08:00
address: "10.4.62.253"
2021-01-29 18:03:04 +08:00
port: 7002
2020-09-10 03:22:39 +08:00
maat_redis_server:
2021-01-29 18:03:04 +08:00
address: "192.168.100.1"
2020-09-10 03:22:39 +08:00
port: 7002
2021-01-29 18:03:04 +08:00
port_num: 1
2020-09-10 03:22:39 +08:00
db: 0
dynamic_maat_redis_server:
2021-01-29 18:03:04 +08:00
address: "192.168.100.1"
2020-09-10 03:22:39 +08:00
port: 7002
2021-01-29 18:03:04 +08:00
port_num: 1
db: 1
2020-09-10 03:22:39 +08:00
cert_store_server:
address: "192.168.100.1"
port: 9991
log_kafkabrokers:
2021-01-31 22:43:40 +08:00
address: ['1.1.1.1:9092','2.2.2.2:9092']
#log_minio:
# address: "10.4.62.253"
# port: 9090
pangu_pxy:
log_cache:
address: "10.9.62.253"
port: 9090
2020-09-10 03:22:39 +08:00
#########################################
#Log Level Config
#日志等级 10:DEBUG 20:INFO 30:FATAL
fw_voip_log_level: 10
2020-09-28 21:55:04 +08:00
fw_ftp_log_level: 10
fw_mail_log_level: 10
fw_http_log_level: 10
fw_dns_log_level: 10
fw_quic_log_level: 10
2021-01-31 22:43:40 +08:00
app_control_log_level: 10
2020-09-28 21:55:04 +08:00
capture_packet_log_level: 10
tsg_log_level: 10
tsg_master_log_level: 10
kni_log_level: 10
#日志等级 DEBUG INFO FATAL
2021-01-29 18:03:04 +08:00
tfe_log_level: FATAL
tfe_http_log_level: FATAL
pangu_log_level: FATAL
doh_log_level: FATAL
2021-01-31 22:43:40 +08:00
certstore_log_level: FATAL
packet_dump_log_level: 10
2020-09-10 03:22:39 +08:00
#######################################
#Sapp Performance Config
#Sapp工作在ADC计算板0时建议使用如下30+8的配置以保证更高的处理性能
sapp:
2021-01-29 18:03:04 +08:00
worker_threads: 42
2020-09-23 14:07:56 +08:00
send_only_threads_max: 1
2021-01-29 18:03:04 +08:00
bind_mask: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43
2020-09-10 03:22:39 +08:00
inbound_route_dir: 1
prometheus_enable: 1
prometheus_port: 9273
prometheus_url_path: "/metrics"
2020-09-10 03:22:39 +08:00
########################################
#Kni Config
kni:
global:
2020-09-14 21:48:27 +08:00
tfe_node_count: 3
2020-09-10 03:22:39 +08:00
watch_dog:
switch: 1
maat:
readconf_mode: 2
send_logger:
switch: 1
tfe_nodes:
tfe0_enabled: 1
2020-09-14 21:48:27 +08:00
tfe1_enabled: 1
tfe2_enabled: 1
2020-09-10 03:22:39 +08:00
########################################
#Tfe Config
tfe:
nr_threads: 32
2020-09-21 18:33:10 +08:00
mirror_enable: 1
2020-09-10 03:22:39 +08:00
########################################
#Marsio Config
#marsio工作在ADC计算板时建议使用如下配置以保证更高的处理性能
2021-01-31 22:43:40 +08:00
mcn0_mrzcpd:
2020-09-28 21:55:04 +08:00
iocore: 52,53,54,55
2020-09-10 03:22:39 +08:00
2021-01-31 22:43:40 +08:00
mcn123_mrzcpd:
iocore: 54,55
2020-09-10 03:22:39 +08:00
mrtunnat:
2020-09-28 21:55:04 +08:00
lcore_id: 48,49,50,51
2020-09-21 18:33:10 +08:00
#########################################
2020-09-21 23:14:14 +08:00
#Tsg_app
tsg_app:
enable: 0
2021-01-31 22:43:40 +08:00
breakpad_upload_url: http://10.4.63.4:9000/api/2/minidump/?sentry_key=3203b43fd5384a7dbe6a48ecb1f3c595
2021-01-29 18:03:04 +08:00
data_center: Kyzylorda
tsg_master_entrance_id: 9
nic_mgr:
name: em1
firewall:
hos_serverip: "192.168.40.223"
hos_serverport: 9098
hos_accesskeyid: "default"
hos_secretkey: "default"
hos_poolsize: 100
hos_thread_sum: 32
hos_cache_size: 102400
hos_fs2_serverip: "127.0.0.1"
hos_fs2_serverport: 10086
APP_SKETCH_LOG_LEVEL: 10
APP_SKETCH_LOG_PATH: "./tsglog/app_sketch_local/app_sketch_local"
APP_SKETCH_L7_PROTOCOL_LABEL: "BASIC_PROTO_LABEL"
APP_SKETCH_QOS: 1
APP_SKETCH_PUBLISH_TOPIC: "APP_SIGNATURE_ID"
APP_SKETCH_BROKER_LIST: "tcp://192.168.40.161:1883"
dump_rtp_pcap:
aws_access_key_id: "default"
aws_secret_access_key: "default"
aws_session_token: "c21f969b5f03d33d43e04f8f136e7682"
consume_bootstrap_servers: ['192.168.44.14:9092']
endpoint_url: "http://192.168.44.67:9098/hos/"
produce_bootstrap_servers: "192.168.44.14:9092"
queue_size: 5000000
coroutine_max_num: 200
coroutine_num: 100
qfull_mode: 0
qfull_interval: 5