Before this page, please check this post.
I'd like to use CephFS on CentOS 7. - AKAI TSUKI
ceph dashboard
I'd like to use ceph dashboard.
http://docs.ceph.com/docs/mimic/mgr/dashboard/
[cuser@ceph01 ~]$ sudo ceph mgr module enable dashboard [cuser@ceph01 ~]$
[cuser@ceph01 ~]$ sudo ceph mgr module ls { "enabled_modules": [ "balancer", "dashboard", "iostat", "restful", "status" ], "disabled_modules": [ { "name": "hello", "can_run": true, "error_string": "" }, { "name": "influx", "can_run": false, "error_string": "influxdb python module not found" }, { "name": "localpool", "can_run": true, "error_string": "" }, { "name": "prometheus", "can_run": true, "error_string": "" }, { "name": "selftest", "can_run": true, "error_string": "" }, { "name": "smart", "can_run": true, "error_string": "" }, { "name": "telegraf", "can_run": true, "error_string": "" }, { "name": "telemetry", "can_run": true, "error_string": "" }, { "name": "zabbix", "can_run": true, "error_string": "" } ] } [cuser@ceph01 ~]$
[cuser@ceph01 ~]$ sudo ceph dashboard create-self-signed-cert Self-signed certificate created [cuser@ceph01 ~]$ [cuser@ceph01 ~]$ sudo ceph dashboard set-login-credentials test <pass> Username and password updated [cuser@ceph01 ~]$ [cuser@ceph01 ~]$ sudo ceph mgr services { "dashboard": "https://172.16.10.111:8080/" } [cuser@ceph01 ~]$
[cuser@ceph01 ~]$ sudo ceph config dump WHO MASK LEVEL OPTION VALUE RO mgr unknown mgr/dashboard/password <aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa> * mgr unknown mgr/dashboard/username test * [cuser@ceph01 ~]$ [cuser@ceph01 ~]$ sudo ceph mgr services { "dashboard": "https://ceph01:8080/" } [cuser@ceph01 ~]$
I can see ceph dashboard "https://ceph01:8080/".