Skip to main content
  1. 2022/
  2. December/

Ceph Dashboard in Proxmox

Getting the ceph dashboard working in proxmox #

Install the packages #

apt install ceph-mgr-dashboard (on all service manager nodes)
ceph mgr module enable dashboard
ceph dashboard ac-user-create cephdash administrator "Ceph Administrator" ceph@wolfspaw.com -i /etc/pve/ceph-dashboard
{"username": "cephdash", "password": "hunter2", "roles": ["administrator"], "name": "Ceph Administrator", "email": "ceph@wolfspaw.com", "lastUpdate": 1672103600, "enabled": true, "pwdExpirationDate": null, "pwdUpdateRequired": false}

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@px-m-45.service for H in 40 41 42 43 44 45; do ssh px-m-${H} “systemctl restart ceph-mgr@px-m-${H}.service”; sleep 10;done /usr/sbin/smartctl -a –json=o /dev/sdd ceph mgr module enable diskprediction_local apt-get install ceph-mgr-diskprediction-local for H in 40 41 42 43 44 45; do ssh px-m-${H} “apt-get install ceph-mgr-diskprediction-local”;done ceph mgr module enable diskprediction_local for H in 40 41 42 43 44 45; do ssh px-m-${H} “apt-get install ceph-mgr-diskprediction-local”;done ceph mgr module enable diskprediction_local for H in 40 41 42 43 44 45; do ssh px-m-${H} “systemctl restart ceph-mgr@px-m-${H}.service”; sleep 10;done ceph config set global device_failure_prediction_mode local ceph mgr module enable restful ceph device monitoring on ceph mgr module enable diskprediction_local

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

https://docs.ceph.com/en/latest/rados/operations/devices/