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

This procedure lists verification steps 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 current OS version is RHEL 9. For example:

    # cat /etc/redhat-release
    Red Hat Enterprise Linux release 9.4 (Plow)
  • Check the OS kernel version. For example:

    # uname -r
    5.14.0-70.10.1.el9_0.x86_64

    Note that .el9 is 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:

      # subscription-manager list --installed
      +-----------------------------------------+
          	  Installed Product Status
      +-----------------------------------------+
      Product Name: Red Hat Enterprise Linux for x86_64
      Product ID:   479
      Version:      9.4
      Arch:         x86_64
      Status:       Subscribed
    • Verify that the release version is set to the expected target OS version immediately after the upgrade. For example:

      # subscription-manager release
      Release: 9.4
  • 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.