Chapter 6. Verifying the post-upgrade state
After performing the in-place upgrade to RHEL 9, verify that the system is in the correct state. Doing so allows you to identify and correct any critical errors that could impact your system.
6.1. Verifying the post-upgrade state of the RHEL 9 system Copy linkLink copied to clipboard!
This procedure lists Verification recommended to perform after an in-place upgrade to RHEL 9.
Prerequisites
- The system has been upgraded following the steps described in Performing the upgrade and you have been able to log in to RHEL 9.
Procedure
After the upgrade completes, determine whether the system is in the required state, at least:
Verify that the Leapp utility has finished all actions in the upgrade process and the system is ready to be used:
[ -e "/etc/systemd/system/leapp_resume.service" ] || ps -e | grep -q leapp && echo "Leapp has not finished the execution yet!"
# [ -e "/etc/systemd/system/leapp_resume.service" ] || ps -e | grep -q leapp && echo "Leapp has not finished the execution yet!"Copy to Clipboard Copied! Toggle word wrap Toggle overflow ImportantIf you attempt to use the system before the upgrade is complete, serious issues could occur.
Verify that the current OS version is RHEL 9. For example:
cat /etc/redhat-release Red Hat Enterprise Linux release 9.6 (Plow)
# cat /etc/redhat-release Red Hat Enterprise Linux release 9.6 (Plow)Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check the OS kernel version. For example:
uname -r 5.14.0-70.10.1.el9_0.x86_64
# uname -r 5.14.0-70.10.1.el9_0.x86_64Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note that
.el9is important and the version should not be earlier than 5.14.0.If you are using the Red Hat Subscription Manager:
Verify that the correct product is installed. For example:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that the release version is set to the expected target OS version immediately after the upgrade. For example:
subscription-manager release Release: 9.6
# subscription-manager release Release: 9.6Copy to Clipboard Copied! Toggle word wrap Toggle overflow
- Verify that network services are operational, for example, try to connect to a server using SSH.
- Check the post-upgrade status of your applications. In some cases, you may need to perform migration and configuration changes manually. For example, to migrate your databases, follow instructions in Configuring and using database servers.