robotLJW commented on code in PR #1299: URL: https://github.com/apache/servicecomb-service-center/pull/1299#discussion_r852911551
########## 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.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 - - + + `chassis.yaml`: modify listenAddress to the local ip address - + `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 +``` - - +#### step 5 +Open the front-end interface of any node. -### verify health + -curl -k http://{ip}:30100/health - +Instances in the peer region have been synchronized. -> Congratulations!!! + +### verify health +```shell +curl -k http://{ip}:30100/health Review Comment: 已经修复,在启动sc的app.yaml配置中指定instance这边的dc,region,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]
