Installing ceph-deploy
The ceph-deploy adaptation operation needs to be performed only on the primary node ceph1.
CentOS 7.6
- Install ceph-deploy on ceph1.
1yum -y install ceph-deploy

- Check the ceph-deploy version.
1ceph-deploy --versionIf ceph-deploy 2.0.1 is installed, the command output should be 2.0.1.
openEuler 20.03 & openEuler 22.03
- Install Git.
yum install -y git
- 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:
- Go to the root directory and open the .gitconfig file.
cd && vi .gitconfig
- 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.
- Obtain ceph-deploy source code on ceph1.
git clone https://github.com/ceph/ceph-deploy.git
- Go to the root directory and open the .gitconfig file.
- 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
- Check the ceph-deploy version.
1ceph-deploy --version
Parent topic: Configuring the Image Source and Adapting ceph-deploy