1. 程式人生 > >ceph mimc版本ceph-deploy安裝與配置

ceph mimc版本ceph-deploy安裝與配置

dep reat arc 配置 earch mirrors 增加 不能 nautilus

系統環境centos7.6 內核5.0.9

YUM源配置

[[email protected] 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端口

ceph mimc版本ceph-deploy安裝與配置