Warning
This feature is available as technical preview starting from the MCP 2019.2.10 maintenance update and requires Ceph Nautilus. Use such configuration for testing and evaluation purposes only. Before using the feature, follow the steps described in Apply maintenance updates.
If required, you can enable RADOS Block Device (RBD) images monitoring introduced with Ceph Nautilus. Once done, you can view RBD metrics using the Ceph RBD Overview Grafana dashboard. For details, see Ceph dashboards.
To enable RBD monitoring:
Open your Git project repository with the Reclass model on the cluster level.
In classes/cluster/<cluster_name>/ceph/setup.yml
add the rbd_stats
flag for pools serving RBD images to enable serving RBD metrics:
parameters:
ceph:
setup:
pool:
<pool_name>:
pg_num: 8
pgp_num: 8
type: replicated
application: rbd
rbd_stats: True
In classes/cluster/<cluster_name>/ceph/common.yml
, set the
rbd_monitoring_enabled
parameter to True
to enable the
Ceph RBD Overview Grafana dashboard:
ceph:
common:
public_network: 10.13.0.0/16
cluster_network: 10.12.0.0/16
rbd_monitoring_enabled: True
Log in to the Salt Master node.
Apply the changes:
salt "*" saltutil.refresh_pillar
salt "*" state.apply salt.minion.grains
salt "*" saltutil.refresh_grains
salt -C "I@ceph:mgr" state.apply 'ceph.mgr'
salt -C 'I@grafana:client' state.apply 'grafana.client'