Chapter 6. Upgrading Hosts to Next Major Red Hat Enterprise Linux Release


You can use a job template to upgrade your Red Hat Enterprise Linux hosts to the next major release. Below upgrade paths are possible:

  • Red Hat Enterprise Linux 7 to Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 8 to Red Hat Enterprise Linux 9

Prerequisites

Procedure

  1. On Satellite, enable the Leapp plugin:

    # satellite-installer --enable-foreman-plugin-leapp
  2. If you are using a custom job template for the Leapp pre-upgrade check, configure the leapp_preupgrade remote execution feature to point to your template:

    1. In the Satellite web UI, navigate to Administer > Remote Execution Features.
    2. Click leapp_preupgrade.
    3. In the Job Template dropdown menu, select your template.
    4. Click Submit.
  3. In the Satellite web UI, navigate to Hosts > All Hosts.
  4. Select the hosts that you want to upgrade to the next major Red Hat Enterprise Linux version.
  5. In the upper right of the Hosts window, from the Select Action list, select Preupgrade check with Leapp.
  6. Enter the required information and start the pre-upgrade check.
  7. When the check is finished, click the Leapp preupgrade report tab to see if Leapp has found any issues on your hosts. Issues that have the Inhibitor flag are considered crucial and are likely to break the upgrade procedure. Issues that have the Has Remediation flag contain remediation that can help you fix the issue.

    1. Click an issue that is flagged as Has Remediation to expand it.

      • If the issue contains a remediation Command, you can fix it directly from Satellite using remote execution. Select the issue.
      • If the issue contains only a remediation Hint, use the hint to fix the issue on the host manually.

      Repeat this step for other issues.

    2. After you selected any issues with remediation commands, click Fix Selected and submit the job.
    3. After the issues are fixed, click Rerun, and then click Submit to run the pre-upgrade check again to verify that the hosts you are upgrading do not have any issues and are ready to be upgraded.
  8. If the pre-upgrade check verifies that the hosts do not have any issues, click Run Upgrade and click Submit to start the upgrade.
  9. Optional: You can also upgrade by selecting the Schedule a Job dropdown in the host details page.
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.