tianxiaoliang commented on code in PR #1299:
URL: 
https://github.com/apache/servicecomb-service-center/pull/1299#discussion_r852809029


##########
docs/user-guides/syncer.md:
##########
@@ -32,43 +31,77 @@ Refer to the official website 
[documentation](https://etcd.io/docs/v3.5/op-guide
 ### install sc
 > Note: Only the 2.1+ version of sc supports synchronization 
 
-**first step**: modify the files in `conf`
+#### step 1 
+modify the files in `conf`
 
 `app.conf`: modify frontend_host_ip and httpaddr to the local ip address
 
-![app.conf](app-conf.png)
+![](app-conf.png)
 
-`app.yaml`: modify server.host, REGISTRY_KIND, REGISTRY_ETCD_CLUSTER_NAME, 
REGISTRY_ETCD_CLUSTER_MANAGER_ENDPOINTS, REGISTRY_ETCD_CLUSTER_ENDPOINTS
+`app.yaml`: modify server.host, REGISTRY_KIND, REGISTRY_ETCD_CLUSTER_NAME, 
REGISTRY_ETCD_CLUSTER_MANAGER_ENDPOINTS, REGISTRY_ETCD_CLUSTER_ENDPOINTS 
parameters
 
-![server.host](server-host.png)
-![app.yaml](app-yaml.png)
+![](server-host.png)
+![](app-yaml.png)
 
 `chassis.yaml`: modify listenAddress to the local ip address
 
-![chassis.yaml](chassis.png)
+![](chassis.png)
 
 `syncer.yaml`: turn on the enableOnStart switch, and modify endpoints, the sc 
machine ip in region-2
 
-**second step**: repeat the above operation to modify the configuration of sc 
on other machines
+#### step 2
 
-**third step**: start start-service-center.sh
+Repeat the above operation to modify the configuration of sc on other machines.
 
-sh `start-service-center.sh`
+#### step 3
 
-**the fourth step**: start start-frontend.sh
+```shell
+sh start-service-center.sh
+```
 
-sh `start-frontend.sh`
+#### step 4
 
-open the front-end interface of any node
+```shell
+sh start-frontend.sh
+```
 
-![front-1](front-1.png)
-![front-2](front-2.png)
+#### step 5
+Open the front-end interface of any node.
 
-### verify health
+![](front-1.png)
 
-curl -k http://{ip}:30100/health
-![health](health.png)
+Instances in the peer region have been synchronized.
 
-> Congratulations!!!
+![](front-2.png)
 
+### verify health
 
+```shell
+curl -k http://{ip}:30100/health

Review Comment:
   在配置的过程中需要指名sc集群的dc信息,这样API才能返回,SDK就能感知az了



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to