Ceph Plugin

▶ 部署 Dashboard

1、安装 ceph-mgr-dashboard

yum install -y ceph-mgr-dashboard

2、禁用 SSL

ceph config set mgr mgr/dashboard/ssl false

3、【可选】配置 host 和 port

ceph config set mgr mgr/dashboard/server_addr $IP

ceph config set mgr mgr/dashboard/server_port $PORT

IP 不设置,默认绑定 ::,禁用 ssl 之后,PORT 默认 8080

4、启用 Dashboard

ceph mgr module enable dashboard

5、用户、密码、权限

# 创建用户
ceph dashboard ac-user-create <username> <password> administrator

# 更多操作,查看帮助
ceph dashboard -h

6、查看 Dashboard 状态

ceph mgr services 

▶ 其他设置

使变更的配置生效

ceph mgr module disable dashboard
ceph mgr module enable dashboard

配置访问前缀

ceph config set mgr mgr/dashboard/url_prefix $PREFIX

配置成功,访问地址变更为 http://$IP:$PORT/$PREFIX/

原文地址:https://www.cnblogs.com/anoyi/p/11178746.html