Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tikv扩容节点出现ssh报错信息
[TiDB Usage Environment] Production Environment
[TiDB Version] tidb4.0.1.1
[Encountered Problem]
[Reproduction Path]
Expansion topology configuration
[Problem Phenomenon and Impact]
SSH passwordless mutual trust has been configured, and mutual access using ssh+ip is possible.
The image is not very clear, could you resend it?
This kind of issue is generally caused by a lack of mutual trust.
Manually test if the central control machine can connect to each machine in the cluster via SSH without a password.
Also, after you have configured mutual trust, you need to manually test the connection once because the first connection requires you to input “yes”. This might be the cause of the issue.
The SSH connection is working. When I execute tiup cluster scale-out tidb-cluster scale-out.yaml
on the host, the tidb-data
and tidb-deploy
directories are created on the new server.
Are the permissions of the deployment directory for the expanded nodes consistent with those of the other nodes?
Could it be an issue with the TiDB user permissions on the expanded node?
Check the TiDB permissions, sudo privileges are required.
Are you referring to configuring passwordless sudo? I’ve already set it up and there’s no problem.
Problem solved, I forgot to turn off the firewall
Details determine success or failure. Haha.
Yes, details determine success or failure.
Communication issue, perhaps.