Time to take the Leapp and start phase two
Now that we’re set, it’s time to make the jump forward! As with the Leapp pre-upgrade, how you Leapp in OCI is slightly different than other environments:
- For non-OCI environments (as seen in the following screenshot), run leapp upgrade –oraclelinux. For OCI environments, run leapp upgrade –oci:
Figure 1.18 – Leapp upgrade starting
2. Leapp will take some time. Did you remember to make your backup? As Leapp runs, it will download all the Oracle Linux 8 packages, downloading about 600 MB for a small system and 1 GB for larger installations:
Figure 1.19 – Leapp upgrade completed
When the Leapp process is done (as seen in the preceding screenshot), reboot.
How it works…
Leapp performs the in-place upgrade, installing or upgrading the new RPMs and reconfiguring the boot loader to the upgraded OS version. This process upgrades the Oracle Linux-supported applications, as well as migrating configurations and preferences to the new version.
There’s more…
When you’ve done the reboot, you should see /etc/oracle-release updates for Oracle Linux 8. You can also check the kernel with uname -r. After the upgrade, you will also need to do a few other tasks:
- If you disabled Secure Boot, you will need to re-enable it in the system’s firmware.
- Re-enable the firewall, as it was disabled during the upgrade:
sytemctl start firewalld
systemctl enable firewalld
- If you use SELinux, you will need to set it back to enforcing by using the setenforce enforcing command to do this. You can also check the current state of SELinux with the getenforce command.
- If you have KVM VMs running, you will need to restart them with the virsh start $VMNAME command.
- You can remove the /root/tmp_leapp_py3 directory. This is optional but will free up disk space.
- You can reconnect the system to your normal patch and management systems. They should be added back as Oracle Linux 8 systems. Please verify that your management software reflects the new version; not all management systems will update the major release correctly.