一、ceph集群部署
1、环境准备
所有机器IP及主机名如下表
IP地址 | 主机名 | 操作系统 |
192.168.127.139 | node1 | CENTOS 7 X64 |
192.168.127.140 | node2 | CENTOS 7 X64 |
192.168.127.134 | node3 | CENTOS 7 X64 |
192.168.127.135 | client | CENTOS 7 X64 |
1、安装前准备(注意)
# 关闭防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
# 禁用SELinux
[root@localhost ~]# sed -i '/^SELINUX=/c SELINUX=disabled' /etc/selinux/config
[root@localhost ~]# setenforce 0
如若出现这个问题的话先检查/etc/hosts 域名是否正确。其次重新关闭防火墙与禁用SELinux
2、配置主机名和IP及HOSTS解析
cat >> /etc/hosts << EOF
192.168.127.139 node1
192.168.127.140 node2
192.168.127.134 node3
192.168.127.135 client
EOF
3、
# node1上生成