What are the required configurations to set up a three-center, three-copy cluster?

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

Original topic: 要做一个三中心三幅本的集群需要设置的操作是什么

| username: 我家有个臭皮崽

I want to deploy an environment with three centers and three replicas. I have set up the following steps:
Step 1. Set up [“az”, “zone”, “rack”, “host”] on PD
Step 2. Configure six tikv-servers as follows:
[“az”: 1, “zone”: 1, “rack”: 1, “host”: 10]
[“az”: 1, “zone”: 1, “rack”: 1, “host”: 11]
[“az”: 2, “zone”: 2, “rack”: 2, “host”: 12]
[“az”: 2, “zone”: 2, “rack”: 2, “host”: 13]
[“az”: 3, “zone”: 3, “rack”: 3, “host”: 14]
[“az”: 3, “zone”: 3, “rack”: 3, “host”: 15]

What other operations do I need to perform to achieve the following requirements:

  1. Ensure that the three replicas of all tikv regions are located in a single center.
  2. Ensure that all tikv region leaders are in the same az, for example, all tikv region leaders are in az1.

And for the PD cluster settings:

  1. Ensure that the PD leader of a certain center is elected in the same az.
| username: Billmay表妹 | Original post link

References:

| username: 我家有个臭皮崽 | Original post link

Thank you, I will study it. If I have any questions, I will ask for advice.

| username: Billmay表妹 | Original post link

Sure~ Feel free to ask questions anytime~

| username: system | Original post link

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