Rate This Document
Findability
Accuracy
Completeness
Readability

Installing ceph-deploy

The ceph-deploy adaptation operation needs to be performed only on the primary node ceph1.

CentOS 7.6

  1. Install ceph-deploy on ceph1.
    1
    yum -y install ceph-deploy
    

  2. Check the ceph-deploy version.
    1
    ceph-deploy --version
    

    If ceph-deploy 2.0.1 is installed, the command output should be 2.0.1.

openEuler 20.03 & openEuler 22.03

  1. Install Git.
    yum install -y git
  2. Obtain ceph-deploy source code on ceph1.
    cd && git clone https://github.com/ceph/ceph-deploy.git

    If the git download command fails, perform the following operations to modify the SSL authentication settings of Git:

    1. Go to the root directory and open the .gitconfig file.
      cd && vi .gitconfig
    2. Modify the file as follows:
      [http]
      sslverify = false

      Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.

    3. Obtain ceph-deploy source code on ceph1.
      git clone https://github.com/ceph/ceph-deploy.git
  3. Install ceph-deploy. Choose an installation command based on the Python version.
    cd /root/ceph-deploy

    For openEuler 20.03:

    python setup.py install

    For openEuler 22.03:

    python3 setup.py install
  4. Check the ceph-deploy version.
    1
    ceph-deploy --version