Tiup and tiunimanager

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

Original topic: tiup 和tiunimanager

| username: Hacker_piqLjvT2

Does it support dual-node deployment, and is there a risk of a single point of failure in one node?

| username: zhanggame1 | Original post link

It’s very simple to restore the backup to another machine.

| username: 随缘天空 | Original post link

These two are just tools. Even if there is a failure, it won’t affect the cluster. You can just set up a new one, no need to have dual nodes.

| username: Kongdom | Original post link

Sure, we are currently doing daily backups and have not implemented dual-node deployment.

| username: 大飞哥online | Original post link

A primary-backup cluster is also an option. If the primary cluster fails, it can switch directly to the backup cluster. However, direct synchronization is asynchronous, which may pose a risk of data loss.

| username: srstack | Original post link

The tiup cluster meta command can be used to back up metadata and synchronize data between primary and standby nodes.

Usage:
meta [command]

Available Commands:
backup backup topology and other information of cluster
restore restore topology and other information of cluster

Flags:
-h, --help help for meta

Global Flags:
-c, --concurrency int max number of parallel tasks allowed (default 5)
–format string (EXPERIMENTAL) The format of output, available values are [default, json] (default “default”)
–ssh string (EXPERIMENTAL) The executor type: ‘builtin’, ‘system’, ‘none’.
–ssh-timeout uint Timeout in seconds to connect host via SSH, ignored for operations that don’t need an SSH connection. (default 5)
–wait-timeout uint Timeout in seconds to wait for an operation to complete, ignored for operations that don’t fit. (default 120)
-y, --yes Skip all confirmations and assumes ‘yes’

| username: Fly-bird | Original post link

This is a tool that can support downtime. If you’re not confident, you can write a monitoring script to restart it yourself.

| username: andone | Original post link

Backup and Restore