版本信息
tidb cluster版本:v4.0.14
tiup 版本: 1.5.6
扩容tikv拓扑文件
[tidb@bigdata-prod-tidb-ansible01 ~]$ cat scale-out-tikv.yaml
tikv_servers:
-
host: 172.30.0.60
ssh_port: 22
port: 20160
status_port: 20180
deploy_dir: /data1/yxt
data_dir: /data1/yxt/data
log_dir: /data1/yxt/log
config:
server.labels: { host: “tikv10” } -
host: 172.30.0.60
ssh_port: 22
port: 20161
status_port: 20181
deploy_dir: /data2/yxt
data_dir: /data2/yxt/data
log_dir: /data2/yxt/log
config:
server.labels: { host: “tikv10” }
开始扩容tikv节点
[tidb@bigdata-prod-tidb-ansible01 ~]$ tiup cluster scale-out ali-yxt-rpt-center scale-out-tikv.yaml -uroot -p
Found cluster newer version:
The latest version: v1.6.0
Local installed version: v1.5.6
Update current component: tiup update cluster
Update all components: tiup update --all
Starting component cluster
: /home/tidb/.tiup/components/cluster/v1.5.6/tiup-cluster scale-out ali-yxt-rpt-center scale-out-tikv.yaml -uroot -p
Error: Deploy directory overlaps to another instance (spec.deploy.dir_overlap)
The directory you specified in the topology file is:
** Directory: data directory /data/yxt/cdc-8300**
** Component: cdc 172.29.1.49**
It overlaps to another instance:
** Other Directory: log directory /data/yxt/cdc-8300/log**
** Other Component: cdc 172.29.1.49**
Please modify the topology file and try again.
这边的问题有点奇怪,我要扩容的是172.30.0.60这个新机器,但是却提示的172.29.1.49这个台机器,这个172.29.1.49的cdc是以前扩容过的操作,但是现在我要扩容的是172.30.0.60 tikv, 这2个完全没有关系吧
tiup错乱了?还是说有地方有缓存