Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 单机房3节点tikv集群如何在线扩容成3机房9节点集群
[TiDB Usage Environment] Production Environment
[TiDB Version] 6.1.0
I currently have a 3-node TiKV cluster in a single data center and want to expand it to a 9-node cluster across 3 data centers, setting different regions for each data center. If one data center with three nodes goes down, the system should still function normally. How should I proceed with the expansion?
Look here, if you want to deploy three AZs in the same region, it is not enough to deploy only TiKV in the other data centers. You also need to deploy PD and TiDB to prevent the entire cluster from being unusable if all nodes in the local data center go down.
My current situation is that the production environment already has a data center with 3 nodes deployed for TiKV and PD, which has been running for a long time, but without configuring data centers and regions. In this case, how should I scale out? Should I first deploy the 6 nodes of TiKV and PD in the other two data centers, or should I first configure the region and data center settings for the currently used 3 nodes? Is it possible to modify the region information of TiKV and PD online?
Labels can also be applied to online clusters. Refer to this link:
Is it a three-center setup in the same city or a two-location three-center setup? These two are different. A three-center setup in the same city is very simple; it allows one center to have an issue, but if two centers have issues, it won’t be able to provide service.
Deploy PD and TiDB together
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.