ceph mimc版本ceph-deploy安装与配置

系统环境centos7.6 内核5.0.9

YUM源配置

[root@k8s-sys-10-82-4-200 ceph-cluster]# cat /etc/yum.repos.d/ceph.repo
[ceph-noarch]
name=Ceph noarch packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-nautilus/el7/noarch/
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://mirrors.aliyun.com/ceph/keys/release.asc

[ceph]
name=Ceph packages for $basearch
baseurl=https://mirrors.aliyun.com/ceph/rpm-nautilus/el7/$basearch
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://mirrors.aliyun.com/ceph/keys/release.asc

[ceph-source]
name=Ceph source packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-nautilus/el7/SRPMS
enabled=0
gpgcheck=1
type=rpm-md
gpgkey=https://mirrors.aliyun.com/ceph/keys/release.asc

 

增加块设备,注意事项:机器上盘不能挂载

 

ceph-deploy disk zap k8s-node-10-82-2-233 /dev/sdb
ceph-deploy osd create --data /dev/sdb k8s-node-10-82-2-233

如果准备启用管理界面需要保留8443端口

转载于:https://www.cnblogs.com/net2817/p/10790372.html

你可能感兴趣的:(ceph mimc版本ceph-deploy安装与配置)