Search

Chapter 2. Upgrading a host operating system from RHEL 8 to RHEL 9

download PDF

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 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

  1. Deploy Red Hat Ceph Storage 5 on Red Hat Enterprise Linux 8 with service.
Note

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.

  1. Set the noout flag on the Ceph OSD.

    Example

    [ceph: root@host01 /]# ceph osd set noout

  2. Perform host upgrade one node at a time using the Leapp utility.

    1. 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

    2. 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

    3. Refer to Upgrading RHEL 8 to RHEL 9 within the Red Hat Enterprise Linux product documentation on the Red Hat Customer Portal.

      Important

      After 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
  3. Verify the new IMAGE_ID and VERSION of the Ceph cluster:

    Example

    [ceph: root@node0 /]# ceph version
    [ceph: root@node0 /]# ceph orch ps

  4. Continue with the Red Hat Ceph Storage 5 to Red Hat Ceph Storage 6 upgrade by following the Upgrading the Red Hat Ceph Storage cluster steps in the Red Hat Ceph Storage Upgrade Guide.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.