Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 要做一个三中心三幅本的集群需要设置的操作是什么

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:
- Ensure that the three replicas of all tikv regions are located in a single center.
- 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:
- Ensure that the PD leader of a certain center is elected in the same az.