我要评分
获取效率
正确性
完整性
易理解

Deploying a Ceph Cluster

  1. Create a local source.
    1. Install the tool.
      yum -y install createrepo
    1. Create a /home/kpsec_rpm directory and copy the generated RPM package to the directory.
    2. Go to the /home/kpsec_rpm directory and create repodata.
      cd /home/kpsec_rpm
      createrepo ./
    1. Go to /etc/yum.repos.d and create a my_ceph_local.repo file.
      cd /etc/yum.repos.d
      vi my_ceph_local.repo
    1. Edit the my_ceph_local.repo file.
      [myceph]
      name=myceph
      baseurl=file:///home/kpsec_rpm
      enabled=1
      gpgcheck=0
    1. Update the Yum cache.
      yum clean all
      yum makecache
  2. 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.