TIDB v5.2.1版本安装多目录报错

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

请把所有的 numa_node 修改为 0

日志贴一下,lscpu 看看

因为只有node0


GreenGuan回答解决方式既可以解决

numa_node: “1”

请把所有的 numa_node 修改为 0


像这个图片cpu 包含node1的写numa_node: “1” 才生效

全部清理命令是?

配置文件替换一下,不行吗?

卸载一下,防止后面有问题

修改 tikv deploy的scritps目录下的run_tikv.sh 中numactl参数

我是手工清理,我装了很久了

该主题在最后一个回复创建后60天后自动关闭。不再允许新的回复。