Failed to Deploy TiDB Cluster

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb cluster 集群部署失败

| username: TiDBer_eyHUd5pk

Configured SSH mutual trust, but during cluster check, detecting self failed while other IPs are done.

| username: xfworld | Original post link

TiUP needs to be deployed on a separate control machine and cannot be mixed with other nodes.

| username: gary | Original post link

You also need to copy a public key for yourself.

| username: TiDBer_eyHUd5pk | Original post link

When I tried to use tiup cluster -user -p to deploy, I found that I could only enter one password. However, I have multiple machines with multiple passwords. How should I solve this?

| username: xfworld | Original post link

Create a new user, using the same account is fine.

| username: tidb狂热爱好者 | Original post link

Just configure mutual trust for your own IP in SSH.

| username: Hacker_xUwtuKxa | Original post link

  1. The control machine can also be deployed on the host where the DB instance is located. Although it is not recommended, it is technically feasible.
  2. Even if it is on the same host, you still need to configure SSH for this host.
  3. You can transfer the control machine’s key to each DB host. A relatively simple method is to use:
    ssh-copy-id -i ~/.ssh/id_rsa.pub ${IP}
    where ${IP} is the specific DB host IP address.
| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.