ceph-luminous-dashboard

1、$ ceph mgr module enable dashboard
2、添加(也可以不添加,未测试)
vim /etc/ceph/ceph.conf
[mgr]
mgr_modules = dashboard
3、# ceph config-key put mgr/dashboard/server_addr 172.20.2.243
4、# netstat -antpl | grep ceph-mgr | grep 7000
如果能有listen的进程则部署成功
5、当然,可以改为指定端口号,使用如下命令
ceph config-key put mgr/dashboard/server_port 8888
6、# systemctl restart ceph-mgr@luminous0
7、访问http://172.20.2.243:8888

注意:mgr不要和ceph-exporter启动在同一节点上,亲测,会干扰ceph-exporter收集ceph集群信息会造成metric为空,从而prometheus没有数据,造成grafana无法显示。

参考文献:
https://ceph.com/community/new-luminous-dashboard/
https://blog.csdn.net/xiaqunfeng123/article/details/73920684?utm_source=blogxgwz0

猜你喜欢

转载自blog.csdn.net/lyf0327/article/details/84074741