cat topology.yaml
global:
user: “tidb”
ssh_port: 22
deploy_dir: “/alidata/tidb-deploy”
data_dir: “/alidata/tidb-data”
server_configs:
tidb:
log.slow-threshold: 300
tikv:
readpool.storage.use-unified-pool: false
readpool.coprocessor.use-unified-pool: true
pd:
replication.location-labels: [“host”]
schedule.leader-schedule-limit: 4
schedule.region-schedule-limit: 2048
schedule.replica-schedule-limit: 64
pd_servers:
-
host: 172.16.7.103
-
host: 172.16.7.104
-
host: 172.16.7.105
tidb_servers: -
host: 172.16.7.101
-
host: 172.16.7.102
tikv_servers: -
host: 172.16.7.103
port: 20160
status_port: 20180
deploy_dir: “/alidata/tidb-deploy/tikv-20160”
data_dir: “/alidata/tidb-data/tikv-20160”
log_dir: “/alidata/tidb-deploy/tikv-20160/log”
numa_node: “0”
config:
server.labels: { host: “tikv1” } -
host: 172.16.7.103
port: 20161
status_port: 20181
deploy_dir: “/alidata/tidb-deploy/tikv-20161”
data_dir: “/alidata/tidb-data/tikv-20161”
log_dir: “/alidata/tidb-deploy/tikv-20161/log”
numa_node: “1”
config:
server.labels: { host: “tikv1” } -
host: 172.16.7.104
port: 20160
status_port: 20180
deploy_dir: “/alidata/tidb-deploy/tikv-20160”
data_dir: “/alidata/tidb-data/tikv-20160”
log_dir: “/alidata/tidb-deploy/tikv-20160/log”
numa_node: “0”
config:
server.labels: { host: “tikv2” } -
host: 172.16.7.104
port: 20161
status_port: 20181
deploy_dir: “/alidata/tidb-deploy/tikv-20161”
data_dir: “/alidata/tidb-data/tikv-20161”
log_dir: “/alidata/tidb-deploy/tikv-20161/log”
numa_node: “1”
config:
server.labels: { host: “tikv2” } -
host: 172.16.7.105
port: 20160
status_port: 20180
deploy_dir: “/alidata/tidb-deploy/tikv-20160”
data_dir: “/alidata/tidb-data/tikv-20160”
log_dir: “/alidata/tidb-deploy/tikv-20160/log”
numa_node: “0”
config:
server.labels: { host: “tikv3” } -
host: 172.16.7.105
port: 20161
status_port: 20181
deploy_dir: “/alidata/tidb-deploy/tikv-20161”
data_dir: “/alidata/tidb-data/tikv-20161”
log_dir: “/alidata/tidb-deploy/tikv-20161/log”
numa_node: “1”
config:
server.labels: { host: “tikv3” }
monitoring_servers:
- host: 172.16.7.101
grafana_servers:
- host: 172.16.7.101
alertmanager_servers:
- host: 172.16.7.101