Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: ticdc 扩容端口冲突
I already have a ticdc on host A with the monitor port number 9100. I plan to expand another ticdc on host A for use by another cluster, but I repeatedly get port conflict errors. I have tried changing the port number, but the same issue persists. Has anyone encountered this before? How did you configure it?
global:
user: tidb
ssh_port: 22
ssh_type: builtin
deploy_dir: /data2/deploy
data_dir: /data2
monitored:
node_exporter_port: 9200
deploy_dir: "x"
data_dir: "x"
log_dir: "x"
blackbox_exporter_port: 9215
cdc_servers:
- host: x
ssh_port: 22
port: 8301
deploy_dir: x
log_dir: x
- host: x
ssh_port: 22
port: 8301
deploy_dir: x
log_dir: x
monitoring_servers:
- host: x
ssh_port: 22
port: 9300
The error is as follows:
Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.10.1/tiup-cluster /home/tidb/.tiup/components/cluster/v1.10.1/tiup-cluster scale-out x scale-out.yaml
You have one or more of ["global", "monitored", "server_configs"] fields configured in
the scale out topology, but they will be ignored during the scaling out process.
If you want to use configs different from the existing cluster, cancel now and
set them in the specification fields for each host.
Do you want to continue? [y/N]: (default=N) y
+ Detect CPU Arch Name
- Detecting node x Arch info ... Done
- Detecting node x Arch info ... Done
+ Detect CPU OS Name
- Detecting node x OS info ... Done
- Detecting node x OS info ... Done
Error: Deploy port conflicts to an existing cluster (spec.deploy.port_conflict)
The port you specified in the topology file is:
Port: 9100
Component: monitor x
It conflicts to a port in the existing cluster:
Existing Cluster Name: xxxxx
Existing Port: 9100
Existing Component: monitor x
Please change to use another port or another host.