Installing Ceph
Install Ceph on all server and client nodes.
- Set the Yum certificate verification status of all server nodes and client nodes to verification-free.
- Open the following file:
1vi /etc/yum.conf
- Press i to enter the insert mode and add the following content to the end of the file:
1 2
sslverify=false deltarpm=0
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the following file:
- (Optional) Configure the local source of gperftools on all server and client nodes.
- Download the RPM packages of gperftools-devel-2.7.7 and gperftools-libs-2.7.7.
1 2 3 4
mkdir -p /home/gperftools-2.7-7 && cd /home/gperftools-2.7-7 wget --no-check-certificate https://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/Packages/gperftools-devel-2.7-7.oe1.aarch64.rpm wget --no-check-certificate https://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/Packages/gperftools-libs-2.7-7.oe1.aarch64.rpm createrepo .
- Open the /etc/yum.repos.d/openEuler.repo file.
vi /etc/yum.repos.d/openEuler.repo
- Press i to enter the insert mode and add the following content to the end of the file:
1 2 3 4 5 6
[gperftools-2.7-7] name=gperftools-2.7-7 baseurl=file:///home/gperftools-2.7-7 enabled=1 gpgcheck=0 priority=1
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Download the RPM packages of gperftools-devel-2.7.7 and gperftools-libs-2.7.7.
- Install the RDMA dependency packages on all server and client nodes.
yum install libibverbs-devel rdma-core-devel numactl-devel -y
- Install the UCX RPM packages on all server and client nodes. (Place the RPM packages generated in 4.1 on each node.)
1 2 3 4 5 6 7 8
rpm -ivh ucx-1.14.1-1.aarch64.rpm rpm -ivh ucx-cma-1.14.1-1.aarch64.rpm rpm -ivh ucx-debuginfo-1.14.1-1.aarch64.rpm rpm -ivh ucx-debugsource-1.14.1-1.aarch64.rpm rpm -ivh ucx-devel-1.14.1-1.aarch64.rpm rpm -ivh ucx-ib-1.14.1-1.aarch64.rpm rpm -ivh ucx-rdmacm-1.14.1-1.aarch64.rpm rpm -ivh ucx-static-1.14.1-1.aarch64.rpm
- Save the Ceph RPM package with UCX enabled (generated in 4.2.2) to /home/ceph-ucx and configure the local source.Run the vi /etc/yum.repos.d/local.repo command, add the following content to the end of the file, save the file, and exit:
[ceph-ucx] name=ceph-ucx baseurl=file:///home/ceph-ucx enabled=1 gpgcheck=0 priority=1
- Install Ceph on all server and client nodes.
1 2
dnf -y install librados2-14.2.8 ceph-14.2.8 pip install prettytable werkzeug
If Ceph fails to be installed, configure a network proxy.
During Ceph installation, verify that the version of gperftools is 2.7-7.

- Install ceph-deploy on ceph1.
1pip install ceph-deploy
- Add the adaptation to openEuler.
- Open the /lib/python2.7/site-packages/ceph_deploy/hosts/__init__.py file on ceph1.
1vi /lib/python2.7/site-packages/ceph_deploy/hosts/__init__.py - Press i to enter the insert mode and add the following code to the _get_distro function:
'openeuler':fedora,

- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the /lib/python2.7/site-packages/ceph_deploy/hosts/__init__.py file on ceph1.
- Run the following command on each node to check the Ceph version:
1ceph -vIf the following information is displayed, the installation is successful.
1ceph version 14.2.8 (2d095e947a02261ce61424021bb43bd3022d35cb) nautilus (stable)
Parent topic: Deploying Ceph