Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 多个tidb service如何完成灾容自动切换功能?
How can the TiDB service achieve automatic disaster recovery switching when deploying the cluster on three servers in a two-site three-center manner?
The TiDB server is stateless, so load balancers like LVS and F5 can be used.
The TiDB server itself does not have high availability features. Generally, F5 and HAProxy are used for load balancing. The application connects to the IP of F5 or HAProxy, and then forwards the request to the backend TiDB. If one of the backend TiDBs goes down, F5 or HAProxy will not forward requests to the downed TiDB.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.