Enabling IBM Storage Ceph Dashboard manually
If you have installed an IBM Storage Ceph cluster by using --skip-dashboard option during bootstrap, you can see that the dashboard URL and credentials are not available in the bootstrap output. You can enable the dashboard manually using the command-line interface. Although the monitoring stack components such as Prometheus, Grafana, Alertmanager, and node-exporter are deployed, they are disabled and you have to enable them manually.
Prerequisites
-
A running IBM Storage Ceph cluster installed with
--skip-dashboardoption during bootstrap. -
Root-level access to the host on which the dashboard needs to be enabled.
Procedure
-
Log into the
cephadmshell:Example
[root@host01 ~]# cephadm shell -
Check the Ceph Manager services:
Example
[ceph: root@host01 /]# ceph mgr services { "prometheus": "http://10.8.0.101:9283/" }You can see that the Dashboard URL is not configured.
-
Enable the dashboard module:
Example
[ceph: root@host01 /]# ceph mgr module enable dashboard -
Create the self-signed certificate for the dashboard access:
Example
[ceph: root@host01 /]# ceph dashboard create-self-signed-certNote: You can disable the certificate verification to avoid certification errors. -
Check the Ceph Manager services:
Example
[ceph: root@host01 /]# ceph mgr services { "dashboard": "https://10.8.0.101:8443/", "prometheus": "http://10.8.0.101:9283/" } -
Create the admin user and password to access the dashboard:
Syntax
echo -n "PASSWORD" > PASSWORD_FILE ceph dashboard ac-user-create admin -i PASSWORD_FILE administratorExample
[ceph: root@host01 /]# echo -n "p@ssw0rd" > password.txt [ceph: root@host01 /]# ceph dashboard ac-user-create admin -i password.txt administrator -
Enable the monitoring stack. See Enabling monitoring stack.