Chapter 3. Enable the Required Repositories Once the system is registered to either the RHEL for SAP Applications or the RHEL for SAP Solutions subscriptions as described in the chapter, the appropriate repositories can be enabled so that all required packages can be installed. 3.1. SAP NetWeaver/SAP ABAP Application Platform For SAP NetWeaver/SAP ABAP Application Platform on RHEL 8, enable the one of the following sets of repos: Platform Repo ID (normal) Repo ID (eus) Repo ID (e4s) x86_64 rhel-8-for-x86_64-baseos-rpms rhel-8-for-x86_64-appstream-rpms rhel-8-for-x86_64-sap-netweaver-rpms rhel-8-for-x86_64-highavailability-rpms (#) rhel-8-for-x86_64-baseos-eus-rpms rhel-8-for-x86_64-appstream-eus-rpms rhel-8-for-x86_64-sap-netweaver-eus-rpms rhel-8-for-x86_64-highavailability-eus-rpms (#) rhel-8-for-x86_64-baseos-e4s-rpms rhel-8-for-x86_64-appstream-e4s-rpms rhel-8-for-x86_64-sap-netweaver-e4s-rpms rhel-8-for-x86_64-highavailability-e4s-rpms (#) ppc64le rhel-8-for-ppc64le-baseos-rpms rhel-8-for-ppc64le-appstream-rpms rhel-8-for-ppc64le-sap-netweaver-rpms rhel-8-for-ppc64le-highavailability-rpms (#) rhel-8-for-ppc64le-baseos-eus-rpms rhel-8-for-ppc64le-appstream-eus-rpms rhel-8-for-ppc64le-sap-netweaver-eus-rpms rhel-8-for-ppc64le-highavailability-eus-rpms (#) rhel-8-for-ppc64le-baseos-e4s-rpms rhel-8-for-ppc64le-appstream-e4s-rpms rhel-8-for-ppc64le-sap-netweaver-e4s-rpms rhel-8-for-ppc64le-highavailability-e4s-rpms (#) s390x rhel-8-for-s390x-baseos-rpms rhel-8-for-s390x-appstream-rpms rhel-8-for-s390x-sap-netweaver-rpms rhel-8-for-s390x-highavailability-rpms (#) rhel-8-for-s390x-baseos-eus-rpms rhel-8-for-s390x-appstream-eus-rpms rhel-8-for-s390x-sap-netweaver-eus-rpms rhel-8-for-s390x-highavailability-eus-rpms (#) - (#) This repo is only needed if one of the Red Hat HA solutions for SAP is going to be used. Note RHEL 8 is not supported on the ppc64 (IBM POWER, Big Endian) platform. To use the EUS or E4S variants of the repos, the RHEL 8 minor release must be set via subscription-manager. There are no RHEL 8 E4S repos for the s390x platform. The "normal", "EUS" and "E4S" variants of the repos must never be enabled at the same time, since they provide different versions of the same packages which will lead to package version conflicts when trying to install or update packages. To enable the normal repos for SAP NetWeaver/SAP ABAP Application Platform on RHEL 8, run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-8-for-USD(uname -m)-baseos-rpms" \ --enable="rhel-8-for-USD(uname -m)-appstream-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-netweaver-rpms" To enable the EUS repos for SAP NetWeaver/SAP ABAP Application Platform on RHEL 8 (on RHEL 8 minor releases where EUS repos are available) if one of the Red Hat HA solutions for SAP is going to be used, run the following command: # subscription-manager repos \ --disable="*"\ --enable="rhel-8-for-USD(uname -m)-baseos-eus-rpms" \ --enable="rhel-8-for-USD(uname -m)-appstream-eus-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-netweaver-eus-rpms" \ --enable="rhel-8-for-USD(uname -m)-highavailability-eus-rpms" 3.2. SAP HANA (with or without SAP NetWeaver/SAP ABAP Application Platform) on RHEL 8 up to and including RHEL 8.8 For SAP HANA on RHEL 8 up to and including RHEL 8.8, enable the following repos (enabling the sap-netweaver repos would not be necessary for SAP HANA only systems but for simplicity and greater flexibility, it is recommend to enable these in all cases): Platform Repo ID x86_64 rhel-8-for-x86_64-baseos-e4s-rpms rhel-8-for-x86_64-appstream-e4s-rpms rhel-8-for-x86_64-sap-solutions-e4s-rpms rhel-8-for-x86_64-sap-netweaver-e4s-rpms rhel-8-for-x86_64-highavailability-e4s-rpms (#) ppc64le rhel-8-for-ppc64le-baseos-e4s-rpms rhel-8-for-ppc64le-appstream-e4s-rpms rhel-8-for-ppc64le-sap-solutions-e4s-rpms rhel-8-for-ppc64le-sap-netweaver-e4s-rpms rhel-8-for-ppc64le-highavailability-e4s-rpms (#) (#) This repo is only needed if one of the Red Hat HA solutions for SAP is going to be used. Note SAP HANA is not supported on the s390x (IBM System Z) platform. To use the "e4s" variant of the repos, the RHEL 8 minor release must be set via subscription-manager to a RHEL 8 minor release for which "Update Services for SAP Solutions" (E4S) is available. Please check Update Services for SAP Solutions for the list of RHEL 8 minor releases for which "Update Services for SAP Solutions" (E4S) is available. For example, to set the release lock on a RHEL 8.8 system, run the following command: # subscription-manager release --set=8.8 To enable the correct repos for SAP HANA on a RHEL 8 system (on RHEL 8 minor releases where E4S repos are available), run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-8-for-USD(uname -m)-baseos-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-appstream-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-solutions-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-netweaver-e4s-rpms" To enable the correct repos for SAP HANA on a RHEL 8 system (on RHEL 8 minor releases where E4S repos are available) if one of the Red Hat HA solutions for SAP is going to be used, run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-8-for-USD(uname -m)-baseos-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-appstream-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-solutions-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-netweaver-e4s-rpms" \ --enable="rhel-8-for-USD(uname -m)-highavailability-e4s-rpms" 3.3. SAP HANA (with or without SAP NetWeaver/SAP ABAP Application Platform) on RHEL 8.10 For SAP HANA on RHEL 8.10, do not set a release lock. Also, enable the normal repos instead of the E4S or EUS repos. This is because: RHEL 8.10 is the last RHEL minor release for RHEL 8, so the command yum update never updates the system to any release later than that of RHEL 8.10. The normal RHEL 8.10 repos will receive updates for more than 6 months after GA. See this chapter and this table in the Red Hat Enterprise Linux Life Cycle page for more details. For SAP HANA on RHEL 8.10, enable the following repos (enabling the sap-netweaver repos would not be necessary for SAP HANA only systems, but for simplicity and greater flexibility, it is recommended to enable these in all cases): Platform Repo ID x86_64 rhel-8-for-x86_64-baseos-rpms rhel-8-for-x86_64-appstream-rpms rhel-8-for-x86_64-sap-solutions-rpms rhel-8-for-x86_64-sap-netweaver-rpms rhel-8-for-x86_64-highavailability-rpms (#) ppc64le rhel-8-for-ppc64le-baseos-rpms rhel-8-for-ppc64le-appstream-rpms rhel-8-for-ppc64le-sap-solutions-rpms rhel-8-for-ppc64le-sap-netweaver-rpms rhel-8-for-ppc64le-highavailability-rpms (#) (#) This repo is only needed if one of the Red Hat HA solutions for SAP is going to be used. Note SAP HANA is not supported on the s390x (IBM System Z) platform. A RHEL 8.10 system must not have a RHEL minor release lock set. You can verify by checking if the output of the following command is Release not set : # subscription-manager release If a minor release lock has been set, disable it with: # subscription-manager release --unset To enable the correct repos for SAP HANA on a RHEL 8.10 system, run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-8-for-USD(uname -m)-baseos-rpms" \ --enable="rhel-8-for-USD(uname -m)-appstream-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-solutions-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-netweaver-rpms" To enable the correct repos for SAP HANA on a RHEL 8.10 system, if one of the Red Hat HA solutions for SAP is going to be used, run the following command: # subscription-manager repos \ --disable="*" \ --enable="rhel-8-for-USD(uname -m)-baseos-rpms" \ --enable="rhel-8-for-USD(uname -m)-appstream-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-solutions-rpms" \ --enable="rhel-8-for-USD(uname -m)-sap-netweaver-rpms" \ --enable="rhel-8-for-USD(uname -m)-highavailability-rpms"

Commands:
subscription-manager repos --disable="*" --enable="rhel-8-for-USD(uname -m)-baseos-rpms" --enable="rhel-8-for-USD(uname -m)-appstream-rpms" --enable="rhel-8-for-USD(uname -m)-sap-netweaver-rpms"
subscription-manager repos --disable="*" --enable="rhel-8-for-USD(uname -m)-baseos-eus-rpms" --enable="rhel-8-for-USD(uname -m)-appstream-eus-rpms" --enable="rhel-8-for-USD(uname -m)-sap-netweaver-eus-rpms" --enable="rhel-8-for-USD(uname -m)-highavailability-eus-rpms"
subscription-manager release --set=8.8
subscription-manager repos --disable="*" --enable="rhel-8-for-USD(uname -m)-baseos-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-appstream-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-sap-solutions-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-sap-netweaver-e4s-rpms"
subscription-manager repos --disable="*" --enable="rhel-8-for-USD(uname -m)-baseos-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-appstream-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-sap-solutions-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-sap-netweaver-e4s-rpms" --enable="rhel-8-for-USD(uname -m)-highavailability-e4s-rpms"
subscription-manager release
subscription-manager release --unset
subscription-manager repos --disable="*" --enable="rhel-8-for-USD(uname -m)-baseos-rpms" --enable="rhel-8-for-USD(uname -m)-appstream-rpms" --enable="rhel-8-for-USD(uname -m)-sap-solutions-rpms" --enable="rhel-8-for-USD(uname -m)-sap-netweaver-rpms"
subscription-manager repos --disable="*" --enable="rhel-8-for-USD(uname -m)-baseos-rpms" --enable="rhel-8-for-USD(uname -m)-appstream-rpms" --enable="rhel-8-for-USD(uname -m)-sap-solutions-rpms" --enable="rhel-8-for-USD(uname -m)-sap-netweaver-rpms" --enable="rhel-8-for-USD(uname -m)-highavailability-rpms"