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. In the Satellite web UI, navigate to Hosts > All Hosts.
  3. Select the hosts that you want to upgrade to the next major Red Hat Enterprise Linux version.
  4. In the upper right of the Hosts window, from the Select Action list, select Preupgrade check with Leapp.
  5. Click Submit to start the pre-upgrade check.
  6. 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 the Rerun button, 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.
  7. If the pre-upgrade check verifies that the hosts do not have any issues, click the Run Upgrade button and click Submit to start the upgrade.
  8. Optional: You can also upgrade by selecting the Schedule a Job dropdown in the host details page.