【 TiDB 使用环境】生产环境
【 TiDB 版本】v8.1.1
【复现路径】
安装就会遇到
check的时候全部都是通过的,用的系统是华为云的arm架构,请问要怎么排查问题呢?目录权限,配置等都检查过了,会是我topology配置的问题吗?
这是我的配置
global:
user: "tidb"
ssh_port: 22
deploy_dir: "/data/tidb-deploy"
data_dir: "/data/tidb-data"
monitored:
node_exporter_port: 9100
blackbox_exporter_port: 9115
deploy_dir: "/data/tidb-deploy/monitored-9100"
data_dir: "/data/tidb-data/monitored-9100"
log_dir: "/data/tidb-deploy/monitored-9100/log"
server_configs:
tidb:
log.level: info
log.format: text
log.enable-slow-log: true
log.slow-query-file: tidb-slow.log
log.slow-threshold: 3000
log.file.max-size: 400
log.file.max-days: 30
log.filemax-backups: 100
binlog.enable: false
binlog.ignore-error: false
split-table: true
compatible-kill-query: true
max-index-length: 3072*4
enable-replica-selector-v2: true
tikv:
readpool.storage.use-unified-pool: false
readpool.coprocessor.use-unified-pool: true
slow-log-file: tikv-slow.log
slow-log-threshold: 3s
log.level: info
log.format: text
log.file.max-size: 400
log.file.max-days: 30
log.file.max-backups: 100
tiflash:
log.level: info
log.format: text
log.file.max-size: 400
log.file.max-days: 30
log.filemax-backups: 100
profiles.default.max_memory_usage: 0
profiles.default.max_memory_usage_for_all_queries: 0
pd:
schedule.leader-schedule-limit: 4
schedule.region-schedule-limit: 2048
schedule.replica-schedule-limit: 64
schedule.low-space-ratio: 0.9
server-memory-limit: 0.8
log.level: "info"
log.file.max-size: 200
log.file.max-days: 15
log.file.max-backups: 50
pd_servers:
- host: 172.27.0.189
deploy_dir: "/data/tidb-deploy/pd-2379"
data_dir: "/data/tidb-data/pd-2379"
log_dir: "/data/tidb-deploy/pd-2379/log"
config:
schedule.max-merge-region-size: 20
schedule.max-merge-region-keys: 200000
- host: 172.27.0.74
deploy_dir: "/data/tidb-deploy/pd-2379"
data_dir: "/data/tidb-data/pd-2379"
log_dir: "/data/tidb-deploy/pd-2379/log"
config:
schedule.max-merge-region-size: 20
schedule.max-merge-region-keys: 200000
- host: 172.27.0.214
deploy_dir: "/data/tidb-deploy/pd-2379"
data_dir: "/data/tidb-data/pd-2379"
log_dir: "/data/tidb-deploy/pd-2379/log"
config:
schedule.max-merge-region-size: 20
schedule.max-merge-region-keys: 200000
tidb_servers:
- host: 172.27.0.79
deploy_dir: "/data/tidb-deploy/tidb-4000"
log_dir: "/data/tidb-deploy/tidb-4000/log"
- host: 172.27.0.143
deploy_dir: "/data/tidb-deploy/tidb-4000"
log_dir: "/data/tidb-deploy/tidb-4000/log"
- host: 172.27.0.69
deploy_dir: "/data/tidb-deploy/tidb-4000"
log_dir: "/data/tidb-deploy/tidb-4000/log"
tikv_servers:
- host: 172.27.0.157
deploy_dir: "/data/tidb-deploy/tikv-20160"
data_dir: "/data/tidb-data/tikv-20160"
log_dir: "/data/tidb-deploy/tikv-20160/log"
- host: 172.27.0.23
deploy_dir: "/data/tidb-deploy/tikv-20160"
data_dir: "/data/tidb-data/tikv-20160"
log_dir: "/data/tidb-deploy/tikv-20160/log"
- host: 172.27.0.185
deploy_dir: "/data/tidb-deploy/tikv-20160"
data_dir: "/data/tidb-data/tikv-20160"
log_dir: "/data/tidb-deploy/tikv-20160/log"
tiflash_servers:
- host: 172.27.0.210
deploy_dir: "/data/tidb-deploy/tiflash-9000"
data_dir: "/data/tidb-data/tiflash-9000"
log_dir: "/data/tidb-deploy/tiflash-9000/log"
- host: 172.27.0.86
deploy_dir: "/data/tidb-deploy/tiflash-9000"
data_dir: "/data/tidb-data/tiflash-9000"
log_dir: "/data/tidb-deploy/tiflash-9000/log"
monitoring_servers:
- host: 172.27.0.118
deploy_dir: "/data/tidb-deploy/prometheus-8249"
data_dir: "/data/tidb-data/prometheus-8249"
log_dir: "/data/tidb-deploy/prometheus-8249/log"
grafana_servers:
- host: 172.27.0.118
deploy_dir: /data/tidb-deploy/grafana-3000
alertmanager_servers:
- host: 172.27.0.118
deploy_dir: "/data/tidb-deploy/alertmanager-9093"
data_dir: "/data/tidb-data/alertmanager-9093"
log_dir: "/data/tidb-deploy/alertmanager-9093/log"
【遇到的问题:问题现象及影响】
tidb server起不来