[TUTORIAL] [Nautilus] activating CEPH DASHBOARD

Mar 20, 2020
47
9
8
48
France
Hi all !

Even if I know that there is more than 1 way to do it, here is a way that worked for me. Please note that since it was on a POC I found it useful to use self signed certificate, don't do this on production cluster ;)

apt install ceph-mgr-dashboard (on all service manager nodes)

ceph mgr module enable dashboard

ceph dashboard ac-user-create cephdash [password] administrator

ceph config-key set mgr/dashboard/server_addr ::

ceph dashboard create-self-signed-cert

ceph mgr module disable dashboard

ceph mgr module enable dashboard

systemctl restart ceph-mgr@[servername].service

Then https://[IP or FQDN]:8443 or http://[IP or FQDN]:8080
 
  • Like
Reactions: Tmanok

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,995
1,086
164
Thanks for sharing your experience!
I marked the thread as TUTORIAL - thus others can spot it more easily :)
 
  • Like
Reactions: Tmanok and virttom

RokaKen

Active Member
Oct 11, 2018
182
50
33
USA
Indeed! An alternative for those who don't require/desire SSL would be:

Code:
apt install ceph-mgr-dashboard

For each manager, listen only on a private IP/interface
Code:
ceph config set mgr mgr/dashboard/<nodeN>/server_addr <private_IP_N>

For each manager, perhaps listen on a non-standard port
Code:
ceph config set mgr mgr/dashboard/<nodeN>/server_port 8080

Enable without SSL and related certificate
Code:
ceph mgr module enable dashboard

ceph config set mgr mgr/dashboard/ssl false

Create privileged and unprivileged accounts
Code:
ceph dashboard ac-user-create myadmin <password> administrator

ceph dashboard ac-user-create myaudit <password> read-only

If you only use Ceph RBD, don't bother with other services
Code:
ceph dashboard feature disable cephfs iscsi mirroring rgw

Verify some settings
Code:
ceph dashboard ac-user-show

ceph dashboard ac-role-show

ceph dashboard feature status

It's a good tool in addition to the CLI and PVE Ceph monitoring tools. Enjoy!
 
  • Like
Reactions: Tmanok

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!