You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/03/25 12:47:15 UTC
[servicecomb-pack] branch master updated: SCB-1215 Update document
for alpha cluster
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
The following commit(s) were added to refs/heads/master by this push:
new 927fa99 SCB-1215 Update document for alpha cluster
927fa99 is described below
commit 927fa9903f003367fe115d1c9b01f6153c0caaa7
Author: 张磊 <co...@gmail.com>
AuthorDate: Mon Mar 25 11:43:56 2019 +0800
SCB-1215 Update document for alpha cluster
---
docs/user_guide.md | 3 +++
docs/user_guide_zh.md | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/docs/user_guide.md b/docs/user_guide.md
index ce0b240..15f7e74 100644
--- a/docs/user_guide.md
+++ b/docs/user_guide.md
@@ -385,3 +385,6 @@ Uses Spring Cloud Consul 2.x by default, if you want to use Spring Cloud Consul
**Note:** If you define `spring.application.name ` parameter when start alpha, You need to specify this service name in Omega via the parameter `alpha.cluster.serviceId`
+## Cluster
+
+Alpha can be highly available by deploying multiple instances, enable cluster support with the `alpha.cluster.master.enabled=true` parameter.
\ No newline at end of file
diff --git a/docs/user_guide_zh.md b/docs/user_guide_zh.md
index 7a99735..a9cd248 100644
--- a/docs/user_guide_zh.md
+++ b/docs/user_guide_zh.md
@@ -384,4 +384,8 @@ Saga可通过以下任一方式进行构建:
- `spring.cloud.consul.host` 配置 Consul 注册中心的地址,`spring.cloud.consul.port` 配置 Consul 注册中心的端口,`spring.cloud.consul.discovery.register=false` 表示不注册自己到注册中心,更多 Consul 客户端配置可以参考[Spring Cloud Consul 2.x](https://cloud.spring.io/spring-cloud-consul/spring-cloud-consul.html) [Spring Cloud Consul 1.x](https://cloud.spring.io/spring-cloud-consul/1.3.x/single/spring-cloud-consul.html)
- `alpha.cluster.register.type=consul` 配置Omega获取Alpha的方式是通过 Consul 的注册中心
- **注意:** 如果你在启动Alpha的时候通过命令行参数`spring.application.name`自定义了服务名,那么你需要在Omega中通过参数`alpha.cluster.serviceId`指定这个服务名
\ No newline at end of file
+ **注意:** 如果你在启动Alpha的时候通过命令行参数`spring.application.name`自定义了服务名,那么你需要在Omega中通过参数`alpha.cluster.serviceId`指定这个服务名
+
+## 集群
+
+Alpha 可以通过部署多实例的方式保证高可用,使用 `alpha.cluster.master.enabled=true` 参数开启集群支持
\ No newline at end of file