可视化管理dashboard中推荐指数:***
一、请参考Ceph集群搭建系列(一):Ceph 集群搭建 搭建一个集群
二、设置Ceph及配置mgr
1. 添加mgr
ceph-deploy mgr create ubuntu-sebre
ceph mgr module enable dashboard
查看状态
$ ceph -s
cluster:
id: 832e67c7-e0c8-45b1-b841-2f5df0d0dbe6
health: HEALTH_WARN
application not enabled on 1 pool(s)
mon ubuntu-sebre is low on available space
services:
mon: 1 daemons, quorum ubuntu-sebre
mgr: ubuntu-sebre(active)
osd: 4 osds: 4 up, 4 in
data:
pools: 1 pools, 256 pgs
objects: 9.71k objects, 37.9GiB
usage: 41.9GiB used, 28.1GiB / 70GiB avail
pgs: 256 active+clean
2. 更新配置文件来开启监控模块
在/etc/ceph/ceph.conf中添加