log-file=data/Rt1J27k/pd-0/pd.log --initial-cluster=pd-0=http://127.0.0.1:2380,pd-1=http://127.0.0.1:2381,pd log-file=data/Rt1J27k/pd-1/pd.log --initial-cluster=pd-0=http://127.0.0.1:2380,pd-1=http://127.0.0.1:2381,pd -2=http://127.0.0.1:2383 $ bin/pd-server --name=pd-2 --data-dir=data/Rt1J27k/pd-2/data --peer-urls=http client-urls=http://127.0.0.1:2384 --advertise-client-urls=http://127.0.0.1:2384 --log-file=data/Rt1J27k/pd -2/pd.log --initial-cluster=pd-0=http://127.0.0.1:2380,pd-1=http://127.0.0.1:2381,pd-2=http://127.0.0.1
以及 TiKV 实例信息: $ curl -s http://127.0.0.1:2379/pd/api/v1/members | jq .members[].name "pd-1" "pd-0" "pd