Ceph Plugin - Dashboard - By Anoyi

▶ 部署 Dashboard

一、安装 ceph-mgr-dashboardurl

yum install -y ceph-mgr-dashboard

二、禁用 SSLcode

ceph config set mgr mgr/dashboard/ssl false

三、【可选】配置 host 和 portserver

ceph config set mgr mgr/dashboard/server_addr $IP

ceph config set mgr mgr/dashboard/server_port $PORT

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

四、启用 Dashboard部署

ceph mgr module enable dashboard

五、用户、密码、权限module

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

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

六、查看 Dashboard 状态配置

ceph mgr services

▶ 其余设置

使变动的配置生效service

ceph mgr module disable dashboard
ceph mgr module enable dashboard

配置访问前缀权限

ceph config set mgr mgr/dashboard/url_prefix $PREFIX

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

相关文章
相关标签/搜索