Ceph 集群的可视化管理界面。

Ceph Dashboard 是哪个服务?
Ceph Dashboard 是 Ceph Manager(mgr)模块。
具体来说,它是:
mgr module = dashboard
也就是说 Dashboard 是集成在 mgr 守护进程里的,而不是一个单独的服务。
怎么看 Dashboard 服务是否开启?
查看 mgr 启用的模块:
ceph mgr module ls
如果 dashboard 启用,会看到:
enabled_modules: [ ..., "dashboard", ... ]
查看 Dashboard 的访问地址(IP+端口)
直接查:
ceph mgr services
输出类似:
{
"dashboard": "https://<ip>:8443/"
}
- 默认端口:8443
- 默认启用 HTTPS
Dashboard 的默认密码是什么?
Ceph 默认密码。
账号默认是admin,密码也是 admin
如何确认 Dashboard 是否已真的启用?
ceph mgr services
如果没有 dashboard 项,则代表还没启用,需要手动开启。
如何手动启用 Dashboard?
如果 dashboard 模块没打开:
ceph mgr module enable dashboard
然后设置证书(如果还没生成):
ceph dashboard create-self-signed-cert
设置账号:
ceph dashboard set-login-credentials admin <密码>
如果你想关闭自签名证书(Chrome 会报不安全)
ceph config set mgr mgr/dashboard/ssl false
默认 SSL 为 true。
