【 TiDB 使用环境】生产环境 /测试/ Poc
【 TiDB 版本】
【复现路径】做过哪些操作出现的问题
tiup cluster deploy tidb v7.2.0 tidb.yaml --user root -p
【遇到的问题:问题现象及影响】
Attention:
1. If the topology is not what you expected, check your yaml file.
2. Please confirm there is no port/directory conflicts in same host.
Do you want to continue? [y/N]: (default=N) y
- Generate SSH keys … Done
- Download TiDB components
- Download pd:v7.2.0 (linux/amd64) … Done
- Download tikv:v7.2.0 (linux/amd64) … Done
- Download tidb:v7.2.0 (linux/amd64) … Done
- Download tiflash:v7.2.0 (linux/amd64) … Done
- Download prometheus:v7.2.0 (linux/amd64) … Error
- Download grafana:v7.2.0 (linux/amd64) … Error
- Download node_exporter: (linux/amd64) … Done
- Download blackbox_exporter: (linux/amd64) … Done
Error: fetch /4018.prometheus.json from mirror(https://tiup-mirrors.pingcap.com) failed: url https://tiup-mirrors.pingcap.com/4018.prometheus.json: not found
【资源配置】
# Global variables are applied to all deployments and used as the default value of
# the deployments if a specific deployment value is missing.
global:
user: “tidb”
ssh_port: 22
deploy_dir: “/tidb-deploy”
data_dir: “/tidb-data”
# Monitored variables are applied to all the machines.
monitored:
node_exporter_port: 9100
blackbox_exporter_port: 9115
server_configs:
tidb:
instance.tidb_slow_log_threshold: 300
tikv:
readpool.storage.use-unified-pool: false
readpool.coprocessor.use-unified-pool: true
pd:
replication.enable-placement-rules: true
replication.location-labels: [“host”]
tiflash:
logger.level: “info”
pd_servers:
- host: 10.180.178.143
tidb_servers:
- host: 10.180.178.143
tikv_servers:
-
host: 10.180.178.143
port: 20160
status_port: 20180
config:
server.labels: { host: “logic-host-1” } -
host: 10.180.178.143
port: 20161
status_port: 20181
config:
server.labels: { host: “logic-host-2” } -
host: 10.180.178.143
port: 20162
status_port: 20182
config:
server.labels: { host: “logic-host-3” }
tiflash_servers:
- host: 10.180.178.143
monitoring_servers:
- host: 10.180.178.143
grafana_servers:
- host: 10.180.178.143
【附件:截图/日志/监控】