How to Perform Update of RHEL for SAP with HA from 7.7 to 7.9 on Cloud Providers

Updated -

Contents

Prerequisites

Before performing the upgrade, make sure that the target OS version is certified and compatible for the corresponding SAP system. For more information on ensuring OS/HANA compatibility during upgrade of HANA/OS, see SAP Note 2407244. For more information on SAP HANA Supported Operating Systems, see SAP Note 2235581.


Whereas SAP for RHEL 7.7 is available in E4S repositories, SAP for RHEL 7.9 is not. Instead, the content is available in unversioned repositories. Consequently, to update a system running SAP on RHEL 7.7 to RHEL 7.9, several manual steps are necessary.

Procedure

On Amazon Web Service

Note: Please note that the rh-amazon-rhui-client-ANY package is only relevant in the PAYG model (and only in AWS). If you are using RHSM (anywhere), you do not need RHUI.

Take the following steps on the RHEL 7.7 system:

1. Download the RHUI client package for SAP on RHEL 7.9:

# yumdownloader rh-amazon-rhui-client-sap-bundle

2. Uninstall the currently installed RHUI client package for SAP with E4S:

# rpm -e rh-amazon-rhui-client-sap-bundle-e4s

3. Unset the version which was originally set in yum configuration:

# rm /etc/yum/vars/releasever

4. Install the new RHUI client package, which you downloaded in the first step:

# rpm -i rh-amazon-rhui-client-sap-bundle*

Note: An asterisk is used in the previous command to allow the actually downloaded package version to be installed, so that this document does not have to be updated every time the package is updated. You can now delete the file:

# rm rh-amazon-rhui-client-sap-bundle*

5. The system can now be updated to RHEL 7.9:

# yum update

Complete the update by rebooting the system. Verify the installed release by examining the /etc/redhat-release file.

Additional resources

Please see How to Perform Update of RHEL for SAP with High Availability and Update Services from 7.5 to 7.6 on Amazon Web Services on how to upgrade from 7.5 to 7.6.

On Microsoft Azure

Take the following steps on the RHEL 7.7 system:

1. Uninstall the currently installed RHUI client package for SAP with E4S:

# yum --disablerepo='*' remove 'rhui-azure-rhel7-e4s'

2. Unset the version which was originally set in yum configuration:

# rm /etc/yum/vars/releasever

3. Install RHEL 7 repositories:

# yum --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel7.config' install 'rhui-azure-rhel7'

4. Install RHEL 7 SAP HA repositories:

# yum --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel7-base-sap-ha.config' install 'rhui-azure-rhel7-base-sap-ha'

5. The system can now be updated to RHEL 7.9:

# yum update

Complete the update by rebooting the system. Verify the installed release by examining the /etc/redhat-release file.

On Google Cloud

Note: Please note that the google-rhui-client-rhel79-sap-ANY package is only relevant in the PAYG model (and only in Google Cloud). If you are using RHSM (anywhere), you do not need RHUI.

Take the following steps on the RHEL 7.7 system:

1. Download the RHUI client package for SAP on RHEL 7.9:

# yumdownloader google-rhui-client-rhel79-sap

2. Uninstall the currently installed RHUI client package for SAP with E4S:

# rpm -e google-rhui-client-rhel7-sap

3. Unset the version which was originally set in yum configuration:

# rm /etc/yum/vars/releasever

4. Install the new RHUI client package, which you downloaded in the first step:

# rpm -i *google-rhui-client-rhel79-sap*

Note: An asterisk is used in the previous command to allow the actually downloaded package version to be installed, so that this document does not have to be updated every time the package is updated. You can now delete the file:

# rm *google-rhui-client-rhel7-sap*

5. The system can now be updated to RHEL 7.9:

# yum update

Complete the update by rebooting the system. Verify the installed release by examining the /etc/redhat-release file.