diff --git a/dbm-ui/backend/flow/utils/cloud/script_template/dbha_template.py b/dbm-ui/backend/flow/utils/cloud/script_template/dbha_template.py index b510cc94ec..500f9748a7 100644 --- a/dbm-ui/backend/flow/utils/cloud/script_template/dbha_template.py +++ b/dbm-ui/backend/flow/utils/cloud/script_template/dbha_template.py @@ -15,7 +15,7 @@ log_path: "./log" log_level: "LOG_DEBUG" log_maxsize: 512 - log_maxbackups: 100 + log_maxbackups: 1000 log_maxage: 30 log_compress: true agent_conf: @@ -25,7 +25,10 @@ "tendbcluster", "TwemproxyRedisInstance", "PredixyTendisplusCluster", - "TwemproxyTendisSSDInstance" + "TwemproxyTendisSSDInstance", + "PredixyRedisCluster", + "RedisInstance", + "MongoShardedCluster" ] city_id: {{city}} campus: "{{campus}}" @@ -88,6 +91,8 @@ timeout: 10 riak: timeout: 10 + mongodb: + timeout: 5 name_services: dns_conf: host: "{{nginx_domain}}" @@ -132,6 +137,7 @@ agent_address: "{{mysql_crond_agent_address}}" local_ip: "{{local_ip}}" ssh: + max_uptime: 300 port: 36000 user: "mysql" pass: "{{mysql_os_password}}" @@ -144,7 +150,7 @@ log_path: "./log" log_level: "LOG_DEBUG" log_maxsize: 512 - log_maxbackups: 100 + log_maxbackups: 1000 log_maxage: 30 log_compress: true agent_conf: @@ -154,7 +160,10 @@ "tendbcluster", "TwemproxyRedisInstance", "PredixyTendisplusCluster", - "TwemproxyTendisSSDInstance" + "TwemproxyTendisSSDInstance", + "PredixyRedisCluster", + "RedisInstance", + "MongoShardedCluster" ] city_id: {{city}} campus: "{{campus}}" @@ -217,6 +226,8 @@ timeout: 10 riak: timeout: 10 + mongodb: + timeout: 5 name_services: dns_conf: host: "{{nginx_domain}}" @@ -257,6 +268,7 @@ agent_address: "{{mysql_crond_agent_address}}" local_ip: "{{local_ip}}" ssh: + max_uptime: 300 port: 36000 user: "mysql" pass: "{{mysql_os_password}}"