How to Use Two TiUP Instances to Manage a Single Cluster

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

Original topic: 如何实现两个tiup同时管理一套集群

| username: 裤衩儿飞上天

[Encountered Problem: Problem Phenomenon and Impact]
How to enable two machines with tiup to manage the same cluster simultaneously (or in master-slave mode).

| username: xfworld | Original post link

One of the tiup completes the cluster installation, then backs up the tiup environment information.

Then restore the environment information to another tiup control machine, and it will be fine.

There is a dedicated guide on the official website for backing up and restoring tiup environment information…

| username: forever | Original post link

Using TiUP to Deploy and Maintain TiDB Online Cluster | PingCAP Docs
However, if one machine undergoes scaling operations, the cluster information needs to be synchronized to another machine.

| username: 裤衩儿飞上天 | Original post link


| username: 裤衩儿飞上天 | Original post link

Thanks @xfworld

| username: srstack | Original post link

Set TIUP_HOME to shared storage like NFS.

| username: 裤衩儿飞上天 | Original post link

It’s also a good method.

| username: 特雷西-迈克-格雷迪 | Original post link

Performing scheduled backups is the most reliable.

| username: system | Original post link

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