-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
PrePaper/2023/0717-Curve控制台部署使用.md
Outdated
enable.multiple.write.user.login: false # 允许多个具有写权限的用户同时登陆 | ||
system.log.expiration.days: 30 # 审计日志过期时间,过期内容自动删除 | ||
system.alert.expiration.days: 30 # 系统告警信息过期时间,过期内容自动删除 | ||
curveadm.service.address: 127.0.0.1:11000 # <必改项>curveadm http service地址 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个应该改成啥?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
就是部署过程中有一步“启动curveadm http service" 那个里面的地址,默认是127.0.0.1:11000,如果那边修改了,这边对应也要改下。 我描述清楚下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以写的更清晰点。依赖某一个步骤的结果。
PrePaper/2023/0717-Curve控制台部署使用.md
Outdated
@@ -0,0 +1,150 @@ | |||
## 背景 | |||
Curve 控制台是 Curve 为了提升系统易用性而开发的一个相对独立的 Web 服务,提供基于 Web 的集群管理能力,使得存储集群的部署和管理门槛进相对 CLI 方式一步降低,提供一种更加清晰直观的视图。上篇文章[《Curve 易用性升级之可视化运维——web 控制台介绍》](https://mp.weixin.qq.com/s/5Vkshg-CGl_wVNW695Qixw)中我们已经介绍了系统架构和核心特性,控制台项目已经开源,为了帮助大家快速体验该功能,这篇文章将介绍控制台项目的**编译**、**打包**、**部署**和**使用**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这篇文章也放到github readme里面一下吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
PrePaper/2023/0717-Curve控制台部署使用.md
Outdated
data_dir: /tmp/curve-manager/data # 控制台的数据目录 | ||
log_dir: /tmp/curve-manager/logs # 控制台的日志目录 | ||
listen_port: 443 # 控制台服务的监听端口 | ||
access.api.enable_check: true # 是否开启接口认证 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些注释好像不是特别清晰,开关的影响是啥?下面几个也是
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
system.log.expiration.days: 30 # 审计日志过期时间,过期内容自动删除 | ||
system.alert.expiration.days: 30 # 系统告警信息过期时间,过期内容自动删除 | ||
curveadm.service.address: 127.0.0.1:11000 # <必改项>curveadm http service地址 | ||
email.addr: [email protected] # 管理邮箱,用于重置密码,发送告警信息 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该改成smtp之类的,业界通用应该是(discourse是我们论坛用的APP名称,可以修改或者删掉):
DISCOURSE_SMTP_ADDRESS: smtp.motomirko.pl
DISCOURSE_SMTP_PORT: 465
DISCOURSE_SMTP_USER_NAME: [email protected]
DISCOURSE_SMTP_PASSWORD: secretplainpassword
DISCOURSE_SMTP_ENABLE_START_TLS: true
xsky的邮箱配置界面:
https://www.xsky.com/wp-content/uploads/2019/08/640-19.jpeg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要动代码,这个记个issue后面改下名称。SMTP_ADDRESS 和 SMTP_PORT我们现在是内置默认的,后面如果需要也可以改成可配的。
opencurve/curve-manager#4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SMTP_ENABLE_START_TLS: true
还少了这个配置项吧?
PrePaper/2023/0717-Curve控制台部署使用.md
Outdated
``` | ||
|
||
### 部署控制台 | ||
Curve 控制台的部署依赖部署工具[CurveAdm](https://github.com/opencurve/curveadm),需提前安装该工具,目前 CurveAdm release 版本并不支持该功能,可升级到dev版本进行体验(升级前可先备份下当前curveadm): `CURVEADM_VERSION=curve-dashboard curveadm -u` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 备份方法可以提一下
- 升级到指定版本命令给了,如果是第一次安装呢?也可以写一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
e8f6eec
to
4e64dc5
Compare
Signed-off-by: wanghai01 <[email protected]>
No description provided.