物理机绑核

pd:
replication.enable-placement-rules: true
replication.location-labels: [“host”]

pd_servers:

  • host: 10.108.33.132
  • host: 10.108.33.133
  • host: 10.108.33.134

tidb_servers:

  • host: 10.108.33.130
  • host: 10.108.33.131
  • host: 10.108.33.138
  • host: 10.108.33.139
  • host: 10.108.33.140
  • host: 10.108.33.141

tikv_servers:

  • host: 10.108.33.1
    port: 20160
    status_port: 20180
    deploy_dir: “/data1/tidb-deploy/tikv-20160”
    data_dir: “/data1/tikv-20160”
    log_dir: “/data4/tidb-deploy/tikv-20160/log”
    numa_node: “0”
    config:
    server.labels: { host: “tikv1” }
  • host: 10.108.33.1
    port: 20161
    status_port: 20181
    deploy_dir: “/data2/tidb-deploy/tikv-20161”
    data_dir: “/data2/tikv-20161”
    log_dir: “/data4/tidb-deploy/tikv-20161/log”
    numa_node: “1”
    config:
    server.labels: { host: “tikv1” }
  • host: 10.108.33.2
    port: 20160
    status_port: 20180
    deploy_dir: “/data1/tidb-deploy/tikv-20160”
    data_dir: “/data1/tidb-data/tikv-20160”
    log_dir: “/data4/tidb-deploy/tikv-20160/log”
    numa_node: “0”
    config:
    server.labels: { host: “tikv2” }