Chapter 4. Performing the upgrade from RHEL 7 to RHEL 8
This procedure describes how to upgrade to RHEL 8 using the
- The steps listed in Chapter 2, Preparing a RHEL 7 system for the upgrade have been completed, including a full system backup.
- The steps listed in Chapter 3, Reviewing the pre-upgrade report have been completed and all reported issues resolved.
On your RHEL 7 system, start the upgrade process:
# leapp upgradeNote
At the beginning of the upgrade process,
Leappperforms the pre-upgrade phase described in Chapter 3, Reviewing the pre-upgrade report.
If the system is upgradable,
Leappdownloads necessary data and prepares an RPM transaction for the upgrade.
If your system does not meet the parameters for a reliable upgrade,
Leappterminates the upgrade process and provides a record describing the issue and a recommended solution in the
/var/log/leapp/leapp-report.txtfile. For more information, see Chapter 7, Troubleshooting.
Manually reboot the system:
In this phase, the system boots into a RHEL 8-based initial RAM disk image, initramfs.
Leappupgrades all packages and automatically reboots to the RHEL 8 system.
Alternatively, you can run the
leapp upgradecommand with the
--rebootoption and skip this manual step.
If a failure occurs, investigate logs as described in Chapter 7, Troubleshooting.
- Log in to the RHEL 8 system and verify its state as described in Chapter 5, Verifying the post-upgrade state of the RHEL 8 system.
- Re-evaluate and re-apply your security policies. Especially, change the SELinux mode to enforcing. For details, see Chapter 6, Applying security policies.