v7.0.0-beta.4
github-actions
released this
16 May 08:47
·
77 commits
to main
since this release
What's Changed
- feat: 仪表盘新增机器标识和业务组标识两个类型的变量
- feat: 仪表盘支持跨业务组克隆
- feat: LDAP 登录,支持根据 Role Mapping 配置,自动设置人员的角色和所属团队
- feat: 人员管理添加所属团队、业务组展示,并提供快捷跳转到对应的团队和业务组管理页面
- refactor: 索引模式页面优化,增加搜索框,数据源和名称添加排序
- refactor: 团队管理的团队详情显示 ID
- refactor: 仪表盘和人员管理表格页面优化,支持自定义展示列
Install
See Install Docs
迁移 ibex 服务(v7.0.0-beta.2 以后的版本可忽略,没使用 ibex 可忽略)
- 将 ibex 数据库中的数据,迁移到 n9e 的数据库, ${ibex} 为实际使用的ibex数据库名称, ${n9e_v6} 实际使用的夜莺的数据库名称
mysqldump -u username -p ${ibex} > ibex.sql
mysql -u root -p ${n9e_v6} < ibex.sql
- 修改 n9e 配置,启用 ibex 功能,将 enable 设置为 true
[Ibex]
Enable = true
RPCListen = "0.0.0.0:20090"
这里需要注意,如果使用了 n9e-edge,n9e-edge 也需要同步开启 n9e-edge,如果之前没有使用 redis,也需要加下 redis 的配置
[Ibex]
Enable = true
RPCListen = "0.0.0.0:20090"
[Redis]
Address = "127.0.0.1:6379"
# Password = ""
RedisType = "standalone"
-
重新启动 n9e
-
检查 n9e 启动端口,如果监听了2个端口 17000 和 20090,表示服务运行正常,已具备故障自愈能力
ss -tlnp|grep n9e
- 修改之前 categraf 使用的故障自愈服务端的 ip 和 port,重启 categraf
升级到专业版
- 将夜莺升级到 v7 版本
- 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
- 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
- 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &
专业版详细介绍见 夜莺专业版
Full Changelog: v7.0.0-beta.3...v7.0.0-beta.4