背景:添加osd时使用了已挂载的磁盘导致服务器重启起不了,于是删掉该节点,增加一个新节点
ceph1 192.168.72.30 (主节点)
ceph2 192.168.72.31
ceph3 192.168.72.32 (新增节点)
ceph4 192.168.72.33 (坏的节点)
ceph4安装ceph
1.准备环境
# 配置yum源(需要电脑能上网),时间同步,关闭防火墙
[root@ceph3 yum.repos.d]# ls
CentOS-Base.repo Ceph.repo epel.repo epel-testing.repo local.repo redhat.repo
# 阿里云ceph源
[root@ceph3 yum.repos.d]# cat Ceph.repo
[X86]
name=aliyun_mirror
baseurl=https://mirrors.aliyun.com/ceph/rpm-nautilus/el7/x86_64/
enabled=1
gpgcheck=0
[SRPMS]
name=aliyun_mirror
baseurl=https://mirrors.aliyun.com/ceph/rpm-nautilus/el7/SRPMS/
enabled=1
gpgcheck=0
[noarch]
name=aliyun_mirror
baseurl=https://mirrors.aliyun.com/ceph/rpm-nautilus/el7/noarch/
enabled=1
gpgcheck=0
# 阿里云系统源
[root@ceph3 yum.repos.d]# cat CentOS-Base.r