Ceph Plugin - Dashboard - By Anoyi

匿名 (未验证) 提交于 2019-12-02 23:48:02

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/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!