ticdc8.1基于现有集群部署请教

ticdc部署yaml文件
ticdc.yaml
cdc_servers:

  • host: 10.201.14.2
    gc-ttl: 86400
  • host: 10.201.14.3
    gc-ttl: 86400

    扩容cdc,报cdc软件下载不了
    [tidb@tb-center soft]$ tiup cluster scale-out tidb-acloud ticdc.yaml
  • Detect CPU Arch Name

    • Detecting node 10.201.14.2 Arch info … Done
    • Detecting node 10.201.14.3 Arch info … Done
  • Detect CPU OS Name

    • Detecting node 10.201.14.2 OS info … Done
    • Detecting node 10.201.14.3 OS info … Done
      Please confirm your topology:
      Cluster type: tidb
      Cluster name: tidb-acloud
      Cluster version: v8.1.1
      Role Host Ports OS/Arch Directories

cdc 10.201.14.2 8300 linux/x86_64 /app/tidbsoft/cdc-8300,/app/tidbdata/cdc-8300
cdc 10.201.14.3 8300 linux/x86_64 /app/tidbsoft/cdc-8300,/app/tidbdata/cdc-8300
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

  • [ Serial ] - SSHKeySet: privateKey=/home/tidb/.tiup/storage/cluster/clusters/tidb-acloud/ssh/id_rsa, publicKey=/home/tidb/.tiup/storage/cluster/clusters/tidb-acloud/ssh/id_rsa.pub
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.6
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.5
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.5
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.6
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.6
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.7
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.5
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.8
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.7
  • [Parallel] - UserSSH: user=tidb, host=10.201.16.30
  • [Parallel] - UserSSH: user=tidb, host=10.201.16.30
  • [Parallel] - UserSSH: user=tidb, host=10.201.14.7
  • Download TiDB components
    • Download cdc:v8.1.1 (linux/amd64) … Error
    • Download node_exporter: (linux/amd64) … Done
    • Download blackbox_exporter: (linux/amd64) … Done

Error: unknown component

Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2024-11-12-16-22-58.log.

CDC不应该是在toolkit下面吗,为啥这个在server下面

tiup mirror show 看下cdc包在不在

tar xf tidb-community-toolkit-${version}-linux-amd64.tar.gz
ls -ld tidb-community-server-${version}-linux-amd64 tidb-community-toolkit-${version}-linux-amd64
cd tidb-community-server-${version}-linux-amd64/
cp -rp keys ~/.tiup/
tiup mirror merge …/tidb-community-toolkit-${version}-linux-amd64
这些做了吗?

正常流程应该是下一个toolkit包,然后cp key + merge 之后会拉取那个包,但是你这个在server下 ,感觉拉取不到

1 个赞

:yum:是不是搞得离线镜像,结果离线镜像里没有?

在线搞的啊,试试把包拉下来,离线部署试试

我把这个包拷贝到server下了

大佬们,原来拷贝cdc包到tidb-community-server-v8.1.1-linux-amd64目录不行,硬是要merge mirror,已经安装成功了

1 个赞

照着官方文档离线安装复制粘贴一遍,每个包都要单独加的

1 个赞

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