How to upgrade RHEL-SAP-HANA and RHEL-SAP-APPS pay-as-you-go virtual machines from 8.x to 8.10
Applies to: ✔️ Linux VMs
While Red Hat Enterprise Linux (RHEL) for SAP 8.x (where x isn't equal to 10) can be accessed in Extended Update Services for SAP Solutions (E4S) and Extended Update Support (EUS), RHEL for SAP 8.10 follows a different approach. In this case, the related content is available in unversioned repositories. As a result, updating a RHEL 8.x system running SAP to RHEL 8.10 requires several manual steps.
This article provides the steps to upgrade Linux virtual machines (VMs) that use RHEL-SAP-HANA or RHEL-SAP-APPS pay-as-you-go (PAYG) images from 8.x to 8.10.
Important
Red Hat Update Infrastructure (RHUI) is intended only for PAYG images. If you use custom or golden images (also known as bring-your-own-subscription (BYOS)), you must attach the system to Red Hat Subscription Manager (RHSM) or Satellite to receive updates. For more information, see How to register and subscribe a RHEL system to the Red Hat Customer Portal using RHSM.
For more information about performing the upgrade process on custom, golden, and PAYG images provided by Red Hat, see:
- How to update RHEL from 8.x to 8.10 on Cloud images with the "RHEL for SAP with High Availability and Update Services" subscription
- More recommendations for HA cluster nodes using the RHEL HA add-on
- Recommended Practices for Applying Software Updates to a RHEL High Availability or Resilient Storage Cluster
Note
RHEL 8.10 is the final RHEL 8 release, and maintenance is defined by the Maintenance Support 2 Phase policy.
Prerequisites
- Make a backup of the Linux VM or a snapshot of the operating system (OS) disk.
- Set up access to the Serial Console.
- Stop the SAP process during the OS update process.
- Run the commands in this article with root privileges.
- Before upgrading production systems to 8.10, verify that this release is compatible with the required SAP software. For more information, see SAP Software on Linux: General information - SAP note 2369910.
Upgrade RHEL-SAP-HANA PAYG images from 8.x to 8.10
Important
RHEL 8.10 isn't currently certified to run SAP High-performance ANalytic Appliance (HANA). This certification is in process. For more information, see Overview Product Availability Matrix for SAP on Red Hat.
Remove the RHUI E4S package installed or updated on the VM:
sudo dnf remove $(rpm -qa | grep -i rhui)
Remove the version lock file:
sudo rm /etc/yum/vars/releasever
Install the rhui-azure-rhel8-base-sap-ha package:
sudo dnf --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8-base-sap-ha.config' install rhui-azure-rhel8-base-sap-ha
Verify that the corresponding repositories are available and show no errors:
sudo dnf repolist
repo id repo name ansible-2-for-rhel-8-x86_64-rhui-rpms Red Hat Ansible Engine 2 for RHEL 8 x86_64 (RPMs) from RHUI packages-microsoft-com-prod packages-microsoft-com-prod rhel-8-for-x86_64-appstream-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs) rhel-8-for-x86_64-baseos-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs) rhel-8-for-x86_64-highavailability-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - High Availability (RPMs) from RHUI rhel-8-for-x86_64-sap-netweaver-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP NetWeaver (RPMs) from RHUI rhel-8-for-x86_64-sap-solutions-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP Solutions (RPMs) from RHUI rhui-microsoft-azure-rhel8-base-sap-ha Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-ha)
Important
A single host can accommodate both SAP HANA and other SAP applications, such as NetWeaver. In this case, all the preceding repositories are required. Optionally, you can modify the /etc/yum.repos.d/rh-cloud-base-sap-ha.repo file based on your system's specific requirements.
Upgrade the system to RHEL 8.10:
sudo dnf update
Reboot the VM to complete the upgrade:
sudo reboot
Upgrade RHEL-SAP-APPS PAYG images from 8.x to 8.10
Remove the RHUI EUS-SAP package installed:
sudo dnf remove $(rpm -qa | grep -i rhui)
Remove the version lock file:
sudo rm /etc/yum/vars/releasever
Install the rhui-azure-rhel8-base-sap-apps package:
sudo dnf --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8-base-sapapps.config' install rhui-azure-rhel8-base-sap-apps
Verify that the corresponding repositories are available and show no errors:
sudo dnf repolist
repo id repo name ansible-2-for-rhel-8-x86_64-rhui-rpms Red Hat Ansible Engine 2 for RHEL 8 x86_64 (RPMs) from RHUI packages-microsoft-com-prod packages-microsoft-com-prod rhel-8-for-x86_64-appstream-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs) rhel-8-for-x86_64-baseos-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs) rhel-8-for-x86_64-sap-netweaver-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - SAP NetWeaver (RPMs) from RHUI rhui-microsoft-azure-rhel8-base-sap-apps Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-apps)
Upgrade the system to RHEL 8.10:
sudo dnf update
Reboot the VM to complete the upgrade:
sudo reboot
Next steps
If your next target is to move to RHEL 9 for SAP environments, see How to upgrade SAP-HANA and SAP-APPS PAYG virtual machines from RHEL 8.x to RHEL 9.x using Leapp for more details.
Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.