Skip to content

Commit

Permalink
ansible: add ansible config enableLogicalPoolStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-chaojie committed Feb 22, 2021
1 parent 98abb64 commit 440ff39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions curve-ansible/roles/generate_config/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ mds_topology_create_copyset_rpc_retry_sleep_time_ms: 1000
mds_topology_update_metric_interval_sec: 60
mds_topology_pool_usage_percent_limit: 85
mds_topology_choose_pool_policy: 0
mds_topology_enable_logicalpool_status: true
mds_copyset_copyset_retry_times: 10
mds_copyset_scatterwidth_variance: 0
mds_copyset_scatterwidth_standard_devation: 0
Expand Down
2 changes: 2 additions & 0 deletions curve-ansible/roles/generate_config/templates/mds.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ mds.topology.UpdateMetricIntervalSec={{ mds_topology_update_metric_interval_sec
mds.topology.PoolUsagePercentLimit={{ mds_topology_pool_usage_percent_limit }}
# 多pool选pool策略 0:Random, 1:Weight
mds.topology.choosePoolPolicy={{ mds_topology_choose_pool_policy }}
# enable LogicalPool ALLOW/DENY status
mds.topology.enableLogicalPoolStatus={{ mds_topology_enable_logicalpool_status}}

#
# copyset config
Expand Down

0 comments on commit 440ff39

Please sign in to comment.