From 95ccb3192acefa95e0ad598dc8e5ef2ce3f30087 Mon Sep 17 00:00:00 2001 From: Samurais Date: Thu, 11 Oct 2018 17:05:34 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E6=98=A5=E6=9D=BE=E5=AE=A2=E6=9C=8D?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E9=9D=92=E4=BA=91AppCenter=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 春松客服上架青云AppCenter.md | 149 ++++++++++++++++++++++----- 1 file changed, 121 insertions(+), 28 deletions(-) diff --git a/春松客服上架青云AppCenter.md b/春松客服上架青云AppCenter.md index 09f691d..95711fe 100644 --- a/春松客服上架青云AppCenter.md +++ b/春松客服上架青云AppCenter.md @@ -59,13 +59,20 @@ **春松客服** 应用在青云AppCenter中浏览[企业管理](https://console.qingcloud.com/pek3/apps/browse/)查看。 - +

+ 春松客服 on QingCloud
+ +

### 基本概念 **春松客服** 的运行机制如下: -![image](https://user-images.githubusercontent.com/3538629/46783676-c1179180-cd5d-11e8-8383-59a6c71034fe.png) + +

+ 运行机制
+ +

| 概念 | 描述 | @@ -97,7 +104,12 @@ 进入 [VPC网络](https://console.qingcloud.com/pek3/routers/),并点击*创建VPC网络*。 -![image](https://user-images.githubusercontent.com/3538629/46784731-d098d980-cd61-11e8-8c4d-be2734897383.png) + +

+ 创建VPC网络
+ +

+ 在该VPC网络中,会自动绑定一个公网IP,该公网IP可供VPN链接服务,使用VPN连接到该VPC网络下的主机。 @@ -105,7 +117,11 @@ 进入 [负载均衡器](https://console.qingcloud.com/pek3/loadbalancers/),并点击*创建负载均衡器*。 -![image](https://user-images.githubusercontent.com/3538629/46785060-2ae66a00-cd63-11e8-986f-b29321c46b05.png) +

+ 创建负载均衡器
+ +

+ 此时,可以选择该负载均衡器【1】绑定公网IP,【2】私有网络。 @@ -120,7 +136,11 @@ 创建负载均衡器后,还需要创建监听器,支持请求分发功能,在负载均衡器详情页面,点击“创建监听器”。 -![image](https://user-images.githubusercontent.com/3538629/46785891-c1b42600-cd65-11e8-916e-635b4024cc7e.png) +

+ 负载均衡器
+ +

+ 监听器包含很多选项,注意以下项目(部分项目需要点击“显示高级选项”): @@ -135,7 +155,11 @@ 其它选项保持默认,点击**提交**,然后自动进入到该监听器的详情,此时该监听器并没有作用,需要点击“应用修改”完成更新。 -![image](https://user-images.githubusercontent.com/3538629/46788015-c8de3280-cd6b-11e8-87a9-9bc214f3cf4a.png) +

+ 监听器
+ +

+ 经过上述步骤,创建了一个VPC网络【cosin-app-dev】;一个负载均衡器【LB1】;一个监听器【cskefu】。在部署**春松客服**应用时,将用到这些资源。 @@ -143,15 +167,26 @@ **QingCloud MySQL Plus**是青云官方出品的MySQL服务,在**AppCenter**通过*搜索应用名称*或在应用分类中浏览*数据库与中间件*获得应用链接。 -![image](https://user-images.githubusercontent.com/3538629/46786669-240e2600-cd68-11e8-8636-7d6f8775377d.png) +

+ 浏览应用
+ +

+ 点击“QingCloud MySQL Plus”,进入应用详情页面。 -![image](https://user-images.githubusercontent.com/3538629/46786831-a1399b00-cd68-11e8-89a6-ae5f54e95db3.png) +

+ MySQL应用
+ +

点击“立即部署”,进入部署页面。 -![image](https://user-images.githubusercontent.com/3538629/46786902-dd6cfb80-cd68-11e8-9476-4af1649e688f.png) +

+ 立即部署
+ +

+ 部署页面有很多选项,主要项目如下: @@ -167,7 +202,10 @@ 其它项目可使用默认,点击“提交”。然后,自动跳转到该集群详情页面。 -![image](https://user-images.githubusercontent.com/3538629/46787298-d4305e80-cd69-11e8-89a1-0fb6031d645f.png) +

+ 集群详情
+ +

该服务部署过程大约3~10分钟,**QingCloud MySQL Plus**提供了强大的运维管理功能。 @@ -175,11 +213,19 @@ **Redis Standalone on QingCloud**是青云官方出品的Redis服务,在**AppCenter**通过*搜索应用名称*或在应用分类中浏览*数据库与中间件*获得应用链接。 -![image](https://user-images.githubusercontent.com/3538629/46788098-0ba00a80-cd6c-11e8-9cf1-6a6bf5bf2b2e.png) +

+ Redis应用
+ +

+ 点击“立即部署”,进入部署页面。 -![image](https://user-images.githubusercontent.com/3538629/46788231-443fe400-cd6c-11e8-8f99-44c7d98e2d7a.png) +

+ 运维管理
+ +

+ 部署页面有很多选项,主要项目如下: @@ -194,12 +240,19 @@ 该服务部署过程大约2~5分钟,**Redis Standalone on QingCloud**提供了强大的运维管理功能。 -![image](https://user-images.githubusercontent.com/3538629/46788461-b6b0c400-cd6c-11e8-912a-dda9c5a4e220.png) +

+ 运维管理
+ +

通过**AppCenter管理**页面,查看已部署的应用的状态。 +

+ 管理集群
+ +

+ -![image](https://user-images.githubusercontent.com/3538629/46788568-f9729c00-cd6c-11e8-9c20-10489de1961f.png) 如图,**cskefu.redis**的状态为*创建中*,**cskefu.mysql**的状态为*等待中*,稍侯一会,它们的状态会更新为*活跃*,此时,二者都处于可用状态,就可以部署**春松客服**了。 @@ -208,12 +261,18 @@ **春松客服**是Chatopera出品的智能客服服务,在**AppCenter**通过*搜索应用名称*或在应用分类中浏览*企业管理*获得应用链接。 -![image](https://user-images.githubusercontent.com/3538629/46789055-2e332300-cd6e-11e8-861a-a5a1762d6b4b.png) + +

+ 春松客服 on QingCloud
+ +

+ 点击“立即部署”,进入部署页面。 - - -![image](https://user-images.githubusercontent.com/3538629/46788931-d8f71180-cd6d-11e8-8ada-93188df0cabb.png) +

+ 立即部署
+ +

部署页面有很多选项,主要项目如下: @@ -227,11 +286,18 @@ 点击“提交”,提交后进入应用详情界面,此时,应用状态为“创建中”。 -![image](https://user-images.githubusercontent.com/3538629/46789582-5f602300-cd6f-11e8-92e0-44f257ddd387.png) +

+ 集群详情
+ +

稍侯3~5分钟,状态更新为“活跃”,服务状态更新为“正常”,代表服务已经部署完成。 -![image](https://user-images.githubusercontent.com/3538629/46789764-dc8b9800-cd6f-11e8-96e0-46845af58c5d.png) +

+ 集群状态
+ +

+ 此前,在部署参数中,选择了一种简单的模式,ElasticSearch和Tomcat的节点各有一个,如上图,其IP分别为*192.168.0.7*和*192.168.0.6*。稍后介绍访问**春松客服工作台**。 @@ -249,28 +315,47 @@ VPC网络为私有网络,借助青云提供的VPN文档,用户可以安装VP 在负载均衡器页面,查看IP地址,然后从浏览器打开*http://{{LB1_IP}}*,就可以访问**春松客服工作台**。 -![image](https://user-images.githubusercontent.com/3538629/46790478-a222fa80-cd71-11e8-8561-566b68afe4a0.png) +

+ 春松客服坐席工作台
+ +

-默认登陆账号:*admin*,密码:*admin1234*。 +默认登陆账号:*admin*,密码:*admin1234*。更为详细的[使用说明](#面向企业业务人员使用说明书)。 ## 监控/报警 **春松客服**支持强大的运维管理工具。 -![image](https://user-images.githubusercontent.com/3538629/46789637-83236900-cd6f-11e8-89bd-63382772ea5e.png) +

+ 集群管理菜单
+ +

+ 比如,HTTP的请求响应时间 -![image](https://user-images.githubusercontent.com/3538629/46790661-05149180-cd72-11e8-90b3-8dd857bd67b0.png) +

+ HTTP响应时间
+ +

+ ## 动态伸缩 -![image](https://user-images.githubusercontent.com/3538629/46791849-9127b880-cd74-11e8-8051-e95a118c0491.png) +

+ 扩容集群
+ +

+ 在集群详情页面,点击“新增节点”,按照需求选择新增*ElasticSearch*或*Tomcat*节点,或在应用基本属性进入菜单,选择*扩容集群*。 删除节点时,勾选目标节点,点击“删除”。 -![image](https://user-images.githubusercontent.com/3538629/46791486-d7304c80-cd73-11e8-806e-5e982f48e44c.png) +

+ 删除节点
+ +

+ ## 备份与恢复 @@ -280,7 +365,11 @@ VPC网络为私有网络,借助青云提供的VPN文档,用户可以安装VP 首先创建春松客服备份: -![image](https://user-images.githubusercontent.com/3538629/46790792-4ad15a00-cd72-11e8-9e39-c591f4afac60.png) +

+ 创建春松客服备份
+ +

+ 然后在**QingCloud MySQL Plus**和**Redis Standalone on QingCloud**的应用中,也创建备份。 **春松客服**, **QingCloud MySQL Plus**和**Redis Standalone on QingCloud**都备份后,得到相应的三个**备份链ID**,这三个ID为一组,代表了服务在同一个时刻的全状态,IT管理员需要将这组ID记录下来。 @@ -289,7 +378,11 @@ VPC网络为私有网络,借助青云提供的VPN文档,用户可以安装VP 首先,决定恢复哪一组备份链ID,然后按照**QingCloud MySQL Plus** - **Redis Standalone on QingCloud** - **春松客服**的顺序恢复备份。 -![image](https://user-images.githubusercontent.com/3538629/46790939-8c620500-cd72-11e8-9420-40d05cd60a17.png) +

+ 恢复备份
+ +

+ # 面向企业业务人员使用说明书