Table of contents
In this article I will show you how to upgrade the Ceph version from Reef to Squid using Cephadm. A version upgrades is performed if the cluster has bugs and the bug has been fixed in the latest version, it can also be if there are new features in the latest version. I use Cephadm to upgrade the Ceph version automatically.
So, let's get started…
Ceph Environment
Hostname | at-ceph-aio |
Operating System | Ubuntu 22.04 (Jammy) |
vCPU | 8 |
Memory | 12 GB |
Disk 1 | 40 GB |
Disk 2 | 20 GB |
Disk 3 | 20 GB |
DIsk 4 | 20 GB |
Internal Network | 10.10.11.0/24 |
Internal IP Address | 10.10.11.21 |
Ceph Upgrade
- Check ceph cluster
ceph -s
ceph versions
ceph orch ps
- Ceph upgrade
ceph orch upgrade start --ceph-version 19.2.0
- Monitoring upgrade process
ceph orch upgrade status
ceph -W cephadm
Operational Test
- Ceph verification
ceph -s
ceph versions
ceph orch ps
- Ceph operational test
echo "MANTAP" > mantap.txt
rados put object-mantap mantap.txt --pool=pool-test
rm mantap.txt
rados ls --pool=pool-test
rados get object-mantap mantap.txt --pool=pool-test
- Openstack operational test
openstack server create --image cirros-0.5.2-image --flavor tiny --key-name at-openstack-aio-key --network internal-net --security-group allow-all vm-cirros-cephsquid