Deploying a Ceph Cluster
- Create a local source.
- Install the tool.
yum -y install createrepo
- Create a /home/kpsec_rpm directory and copy the generated RPM package to the directory.
- Go to the /home/kpsec_rpm directory and create repodata.
cd /home/kpsec_rpm createrepo ./
- Go to /etc/yum.repos.d and create a my_ceph_local.repo file.
cd /etc/yum.repos.d vi my_ceph_local.repo
- Edit the my_ceph_local.repo file.
[myceph] name=myceph baseurl=file:///home/kpsec_rpm enabled=1 gpgcheck=0
- Update the Yum cache.
yum clean all yum makecache
- Install the tool.
- Install Ceph.
For details, see Installing Ceph in the Ceph Block Storage Deployment Guide (CentOS 7.6).
- In the Deployment Guide, the Ceph mirror source is the official Ceph mirror, which is a Ceph RPM package that does not contain the KPS EC feature. Therefore, you need to configure the Ceph mirror source by using the local source.
- Before installing Ceph, run the yum list | grep ceph command to confirm that Ceph is installed from the local source. In the command, myceph is the name of the repo where Ceph components are installed.
- When installing Ceph, you may need to install other third-party software. Ensure that the network connection is normal.
Parent topic: Compiling and Deploying Ceph