Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tiup导入现有tidb集群
Since the server is in an intranet environment and the tiup tool was not used during offline deployment, I now want to use tiup to manage the cluster. How can I import the existing TiDB cluster into tiup? Seeking expert advice.
The official website has detailed introduction steps, you can take a look. I remember the process is relatively simple and not complicated.
Follow the method for handling lost tiup
Write the topology.yaml file according to the configuration of the existing cluster, then
tiup cluster deploy tidb-xxx <version number of the existing cluster> topology.yaml
After that, you can see the current cluster with
tiup cluster display tidb-xxx
Then check to confirm that all configurations are consistent, and you will be able to manage the existing cluster through tiup.
You can refer to the FAQ posted by a previous classmate:
Do we need to do this in the current environment?
Thank you all for your answers.
Find a separate machine that can access this batch of machines, or one of the machines will do. It’s just for the control machine.
How to deploy without using the tiup tool if it was not used during deployment?
There was no tiup in the early deployment of TiDB, right?
But his version has already reached 6.1!
To explain, the cluster deployment was done by someone internal to TiDB. I am responsible for data import, and I couldn’t find the tiup tool, which is why I posted this question. Thank you, everyone.
It is possible that they installed tiup on their own computers and took the computers with them after setting up the cluster.
Don’t you VIP members have an internal ticket system? You can ask them.
I already asked him to install it on one of the machines, but he didn’t configure the environment variables and also moved the folder, so it couldn’t be found.