开启监控模块
在配置文件/etc/ceph/ceph.conf中添加1
2[mgr]
mgr modules = dashboard
或者1
ceph mgr module enable dashboard
设置dashboard的ip和端口1
2ceph config-key put mgr/dashboard/server_addr 10.7.12.201
ceph config-key put mgr/dashboard/server_port 7000
或
ceph config-key put mgr/dashboard/server_addr ::
重启mgr服务1
systemctl restart ceph-mgr@
参考:https://blog.widodh.nl/2017/06/using-the-new-dashboard-in-ceph-mgr/
#