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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章