部署Ceph集群
安装prettytable。
1
pip
install
prettytable
部署集群。
1
ansible-playbook
-i
hosts
site.yml
执行结束,在执行页面会有相关的提示,如图所示,所有节点显示failed=0,则处于部署过程中。
图1
部署结果
查看集群健康状态,显示HEALTH_OK则集群状态健康。
1
ceph
health
Ceph-ansible部署Ceph集群后检查ceph.conf配置是否成功,配置皆写入ceph.conf则部署成功。
父主题:
Ceph-ansible 部署指南(CentOS 7.6&openEuler 20.03)