Chapter 2. Upgrading a host operating system from RHEL 8 to RHEL 9
You can perform a Red Hat Ceph Storage host operating system upgrade from Red Hat Enterprise Linux 8 to Red Hat Enterprise Linux 9 using the Leapp utility.
Prerequisites
- A running Red Hat Ceph Storage 5.3 cluster.
The following are the supported combinations of containerized Ceph daemons. For more information, see the How colocation works and its advantages section in the Red Hat Ceph Storage Installation Guide.
-
Ceph Metadata Server (
ceph-mds
), Ceph OSD (ceph-osd
), and Ceph Object Gateway (radosgw
) -
Ceph Monitor (
ceph-mon
) or Ceph Manager (ceph-mgr
), Ceph OSD (ceph-osd
), and Ceph Object Gateway (radosgw
) -
Ceph Monitor (
ceph-mon
), Ceph Manager (ceph-mgr
), Ceph OSD (ceph-osd
), and Ceph Object Gateway (radosgw
)
Procedure
- Deploy Red Hat Ceph Storage 5.3 on Red Hat Enterprise Linux 8.8 with service.
Verify that the cluster contains two admin nodes, so that while performing host upgrade in one admin node (with _admin
label), the second admin can be used for managing clusters.
For full instructions, see Red Hat Ceph Storage installation in the Red Hat Ceph Storage Installation Guide and Deploying the Ceph daemons using the service specifications in the Operations guide.
Set the
noout
flag on the Ceph OSD.Example
[ceph: root@host01 /]# ceph osd set noout
Perform host upgrade one node at a time using the Leapp utility.
Put respective node maintenance mode before performing host upgrade using Leapp.
Syntax
ceph orch host maintenance enter HOST
Example
ceph orch host maintenance enter host01
Enable the ceph tools repo manually when executing the leapp command with the
--enablerepo
parameter.Example
leapp upgrade --enablerepo rhceph-5-tools-for-rhel-9-x86_64-rpms
Refer to Upgrading RHEL 8 to RHEL 9 within the Red Hat Enterprise Linux product documentation on the Red Hat Customer Portal.
ImportantAfter performing in-place upgrade from Red Hat Enterprise Linux 8 to Red Hat Enterprise Linux 9, you need to manually enable and start the
logrotate.timer
service.# systemctl start logrotate.timer # systemctl enable logrotate.timer
Verify the new IMAGE_ID and VERSION of the Ceph cluster:
Example
[ceph: root@node0 /]# ceph version [ceph: root@node0 /]# ceph orch ps
- Continue with the Red Hat Ceph Storage 5.3 to Red Hat Ceph Storage 8 upgrade by following the Upgrading the Red Hat Ceph Storage cluster steps in the Red Hat Ceph Storage Upgrade Guide.