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 6.1 or 7.1 cluster (latest relevant cluster version required).
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 the latest Red Hat Ceph Storage 6.1 or 7.1 cluster 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
[ceph: root@host01 /]# ceph osd set noout
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
ceph orch host maintenance enter HOST
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example
ceph orch host maintenance enter host01
ceph orch host maintenance enter host01
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the ceph tools repo manually when executing the leapp command with the
--enablerepo
parameter.Example
leapp upgrade --enablerepo rhceph-8-tools-for-rhel-9-x86_64-rpms
leapp upgrade --enablerepo rhceph-8-tools-for-rhel-9-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# systemctl start logrotate.timer # systemctl enable logrotate.timer
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verify the new IMAGE_ID and VERSION of the Ceph cluster:
Example
[ceph: root@node0 /]# ceph version [ceph: root@node0 /]# ceph orch ps
[ceph: root@node0 /]# ceph version [ceph: root@node0 /]# ceph orch ps
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Continue with the latest Red Hat Ceph Storage 6.1 or 7.1 to Red Hat Ceph Storage 8 upgrade by following the steps listed in Upgrade a Red Hat Ceph Storage cluster using `cephadm`.