Ceph Plugin - Dashboard - By Anoyi

▶ deploy Dashboard

1, the installation ceph-mgr-dashboard

yum install -y ceph-mgr-dashboard

2, disable SSL

ceph config set mgr mgr/dashboard/ssl false

3. [Optional] Configure host and port

ceph config set mgr mgr/dashboard/server_addr $IP

ceph config set mgr mgr/dashboard/server_port $PORT

IP is not set, the default bindings ::, after disabling ssl, PORT default8080

4. Enable Dashboard

ceph mgr module enable dashboard

5, users, passwords, permissions

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

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

6, see the Dashboard status

ceph mgr services 

▶ Other Settings

Make configuration changes take effect

ceph mgr module disable dashboard
ceph mgr module enable dashboard

Configure access prefix

ceph config set mgr mgr/dashboard/url_prefix $PREFIX

Configuration is successful, access to address change http://$IP:$PORT/$PREFIX/

Guess you like

Origin www.cnblogs.com/anoyi/p/11178746.html