码迷,mamicode.com
首页 > 其他好文 > 详细

Ceph Plugin - Dashboard - By Anoyi

时间:2019-07-13 10:48:37      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:部署   add   ice   name   board   mod   set   cep   创建用户   

? 部署 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/

Ceph Plugin - Dashboard - By Anoyi

标签:部署   add   ice   name   board   mod   set   cep   创建用户   

原文地址:https://blog.51cto.com/7760783/2419848

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!