The new dashboard in Ceph Luminous

0 Flares Twitter 0 Facebook 0 LinkedIn 0 Email -- 0 Flares ×
Dashboards in Ceph have always been a bit of a problem. In the past, I tried first to deploy and run Calamari, but it was a complete failure. I talked about my disgraces in this blog post, and there I also suggested a way better solution: Ceph Dash. But now with the release of Luminous, Ceph is trying again to have its own dashboard. Will it be good this time?

Ceph Dashboard

The Ceph manager service (ceph-mgr) was introduced in the Kraken release, and in Luminous it has been extended with a number of new python modules. One of these is a monitoring web page, simply called “dashboard”. The dashboard module is included in the ceph-mgr package, so if you’ve upgraded to Luminous then you already have it! Enabling the dashboard is done with a single command:

The dashboard module runs on port 7000 by default. The output of “ceph status” will tell you which of your mgr daemons is currently active:

In my case, it’s mon1. So, to view the dashboard I simply point my browser at http://mon1:7000/. In general, the active monitor is the one running the dashboard at any point in time. This is how it appears upon opening the page:
The dashboard is read-only, but it also has no authentication. If you need to publish it, it’s probably a better idea to have it protected, only answering to a specific IP address, and have a reverse proxy to publish it.

A quick walk-through

The welcome screen can be compared to the ceph status command. It tells us the overall status, and the one of the different components like monitors and OSDs, and the usage of the cluster. We can drill down into the available menus and see more information, like components and versions running on each server:
Another nice information we can see is the real-time performance of the OSDs, this one for example is during a Veeam backup written into the RBD volume:
We can clearly observe here the scale-out system in action: multiple writes operations are ingested by the cluster, and many OSDs are writing data.

Final notes

Even if there are not so many information available yet, the native dashboard is a really nice and welcome addition to Ceph features. It’s simple, but it also has all the basic information we may need. And finally, the pain for installing and configuring a dashboard for Ceph is a memory of the past!