ceph启用原生dashboard

ceph启用原生dashboard

1、安装mgr插件

ceph-deploy install mgr

2、启用

ceph-deploy mgr create ceph-node1
ceph mgr module enable dashboard --force

3、生成并安装自签名证书

ceph dashboard create-self-signed-cert

4、创建dashboard文件夹,并生成密钥

mkdir mgr-dashboard && cd mgr-dashboard
openssl req -new -nodes -x509   -subj "/O=IT/CN=ceph-mgr-dashboard" -days 3650   -keyout dashboard.key -out dashboard.crt -extensions v3_ca

5、配置地址、端口并启动服务

ceph config set mgr mgr/dashboard/server_addr 192.168.2.48
ceph config set mgr mgr/dashboard/server_port 8056
ceph mgr services

6、创建用户密码

ceph dashboard set-login-credentials admin admin

7、重启mgr

systemctl restart ceph-mgr@ceph-node1

8、访问

http://192.168.2.48:8056

你可能感兴趣的:(ceph启用原生dashboard)