TiDB Single-Node Offline Deployment

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

Original topic: tidb单机离线部署

| username: cf_data

[Test Environment] CentOS7
[TiDB Version] 7.4.0
[Reproduction Path] tiup cluster deploy tidb-test01 v7.4.0 ./topology.yaml --user tidb -p tidbtidb -i /home/tidb/.ssh/gcp_rsa
Error as shown in the image:
[Attachment: Screenshot/Log/Monitoring]

Also, is the ssh command absolutely necessary for installing TiDB…

| username: Jellybean | Original post link

Yes, this is part of the basic software environment. Please complete the installation according to the error message and then try the operation again.

| username: ShawnYan | Original post link

Check if the current user has sudo privileges

| username: Fly-bird | Original post link

SSH is definitely necessary.

| username: 像风一样的男子 | Original post link

Control each node through SSH. You should follow the official tutorial for configuration.

| username: Kongdom | Original post link

Yes, it’s an essential component. :joy:

| username: zhanggame1 | Original post link

Yes, it is needed. --user It is best to use the root user. You don’t need to create the tidb user yourself; it will be created automatically after installing root.

| username: cf_data | Original post link

Thank you, I didn’t check the environment. Now it has been installed. However, when running tiup cluster start tidb-test01 --init, an error occurs. The error is “timeout waiting for 20160” when starting TiKV…

| username: zhanggame1 | Original post link

Check the display to see if PD is up.

| username: 普罗米修斯 | Original post link

Is there a specific error message for the timeout? Please share it so we can check if it’s related to port occupation, network communication, or other issues.

| username: heiwandou | Original post link

SSH is not working.

| username: Daniel-W | Original post link

Check if there are any port conflicts.

| username: ShawnYan | Original post link

Okay, I see it. That post says:

| username: swino | Original post link


| username: andone | Original post link

Let’s take a look at the display.

| username: Kongdom | Original post link

You need to check the logs in the corresponding directory as prompted :thinking:

| username: system | Original post link

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