使用tiup 扩容ticdc异常

【 TiDB 使用环境】 测试环境、
tiup -version
1.8.2 tiup
Go Version: go1.17.5
Git Ref: v1.8.2
GitHash: a2912cf0470d651ce724e6c4e79871ec772abe38

tiup cdc version
Starting component cdc: /home/tidb/.tiup/components/cdc/v5.3.0/cdc version
Release Version: v5.3.0
Git Commit Hash: 20626babf21fc381d4364646c40dd84598533d66
Git Branch: heads/refs/tags/v5.3.0
UTC Build Time: 2021-11-22 10:37:02
Go Version: go version go1.16.4 linux/amd64
Failpoint Build: false

【概述】场景+问题概述

【背景】做过哪些操作
按官方文档建议方式扩容方式在现有集群中安装TICDC
执行命令:
tiup cluster scale-out uat-tidb /home/tidb/scale-out-ticdc.yaml

Starting component cluster: /home/tidb/.tiup/components/cluster/v1.8.2/tiup-cluster scale-out uat-coo-tidb /home/tidb/scale-out-ticdc.yaml

  • Detect CPU Arch

    • Detecting node 10.120.215.1 … Done

    • Detecting node 10.83.129.102 … Done

Error: Deploy directory overlaps to another instance (spec.deploy.dir_overlap)

The directory you specified in the topology file is:

Directory: log directory /data/tidb/deploy/log

Component: pd 10.83.129.101

It overlaps to another instance:

Other Directory: monitor log directory /data/tidb/deploy/log

Other Component: pd 10.83.129.101

Please modify the topology file and try again.

Error: run /home/tidb/.tiup/components/cluster/v1.8.2/tiup-cluster (wd:/home/tidb/.tiup/data/SvEOs0U) failed: exit status 1
------------------------------/scale-out-ticdc.yaml 配置----------------------------
cdc_servers:

  • host: 10.120.215.1
    port: 8300
    deploy_dir: “/data/tidb/deploy/cdc”
    data_dir: “/data/tidb/deploy/data.cdc”
    log_dir: “/data/tidb/deploy/log.”
    gc-ttl: 86400
    arch: amd64
    os: linux

  • host: 10.83.219.102
    port: 8300
    deploy_dir: “/data/tidb/deploy/cdc”
    data_dir: “/data/tidb/deploy/data.cdc”
    log_dir: “/data/tidb/deploy/log”
    gc-ttl: 86400
    arch: amd64
    os: linux
    -----------------------------------meta.yaml对应pd配置---------------------------------------------------
    pd_servers:

  • host: 10.83.129.101

    ssh_port: 22

    name: pd-10.83.129.101-2379

    client_port: 2379

    peer_port: 2380

    deploy_dir: /data/tidb/deploy

    data_dir: /data/tidb/deploy/data.pd

    log_dir: /data/tidb/deploy/log

    arch: amd64

    os: linux
    【现象】业务和数据库现象
    没做过任何操作
    【业务影响】
    【TiDB 版本】
    5.7.25-TiDB-v5.0.6
    【附件】

  1. TiUP Cluster Display 信息

  2. TiUP Cluster Edit Config 信息
    pd相关配置
    pd_servers:

  • host: 10.83.129.101

    ssh_port: 22

    name: pd-10.83.129.101-2379

    client_port: 2379

    peer_port: 2380

    deploy_dir: /data/tidb/deploy

    data_dir: /data/tidb/deploy/data.pd

    log_dir: /data/tidb/deploy/log

    arch: amd64

    os: linux

  1. TiDB- Overview 监控
  • 对应模块日志(包含问题前后1小时日志)
1 个赞

报错类似,可以参考这个帖子的处理方法

1 个赞

又是路径和其他服务的有冲突了

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。