ceph集群手动部署(后期添加mon和osd)

环境

操作系统

cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 

内核

uname -a
Linux host-192-168-235-123 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

环境初始配置

主机名

分别为每台主机修改主机名

hostnamectl set-hostnme ceph-node1
hostnamectl set-hostnme ceph-node2
hostnamectl set-hostnme ceph-node3

在ceph-node1节点修改主机名解析,复制到另外两个节点

cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.235.123 ceph-node1
192.168.235.137 ceph-node2
192.168.235.142 ceph-node3

scp /etc/hosts ceph-node2:/etc/
scp /etc/hosts ceph-node3:/etc/

防火墙

3台节点都操作

systemctl d

你可能感兴趣的:(ceph,ceph)