Getting the ceph dashboard working in proxmox
1
| apt install ceph-mgr-dashboard (on all service manager nodes)
|
1
| ceph mgr module enable dashboard
|
1
| ceph dashboard ac-user-create cephdash administrator "Ceph Administrator" ceph@wolfspaw.com -i /etc/pve/ceph-dashboard
|
1
| {"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
1
| ceph config-key set mgr/dashboard/server_addr ::
|
1
| ceph dashboard create-self-signed-cert
|
1
| ceph mgr module disable dashboard
|
1
| ceph mgr module enable dashboard
|
1
| systemctl restart ceph-mgr@[servername].service
|
1
| Then https://[IP or FQDN]:8443 or http://[IP or FQDN]:8080
|
https://docs.ceph.com/en/latest/rados/operations/devices/