Installing Cephadm

To deploy new cluster using cephadm, we have some requirements: 1) systemd 2) Podman / docker 3) Time synchronization like NTP or Chrony 4) Python3 5) LVM2

Note: ceph works on different distributions, but some specifc distributions have better documentation like redhat and suse.

To install cephadm we can use package managers like apt, dnf, yum and etc. in its website. but i prefere using curl-based installation:

CEPH_RELEASE=18.2.2
curl --silent --remote-name --location https://download.ceph.com/rpm-${CEPH_RELEASE}/el9/noarch/cephadm
chmod +x cephadm

currently active release is 18.2.2 (reef stable version). ceph also have other versions you can check it in here.

Note: ceph has 3 types of releases which you must notice in production:

  • x.0.z - development versions

  • x.1.z - release candidates (for test clusters, brave users)

  • x.2.z - stable/bugfix releases (for users)

./cephadm add-repo --release reef
./cephadm install

after installation following command should give you output specific version of ceph you want:

which cephadm

Last updated