Environment
- Red Hat Enterprise Linux 7.2 and higher ( with the exception of RHEL 7.5)
- Subscription: Red Hat Enterprise Linux for SAP Solutions
Issue
- How to subscribe SAP Applications systems to the Update Services for SAP Solutions
- How to migrate or re-register SAP Applications systems to use the new "Update Services for SAP Solutions"
Resolution
Either one of the below subscription combinations is required to access RHEL E4S channels
- for x86_64 platform
- for PowerPC Little Endian (ppc64le) platform
NOTE: Only for Red Hat Enterprise Linux 7.5
As per RHEL lifecycle page, there is no E4S/Update services for RHEL 7.5. Enable Extended Update Support(EUS) instead of E4S. For more information on how to enable EUS, refer the following kbase article.
For other RHEL versions:
1. Detach 'SAP Applications' subscription (already registered systems only)
Follow the below steps if the SAP Netweaver system was already registered using the older RHEL for SAP Applications subscription.
Find the serial number of the subscription that the system is currently subscribed to
subscription-manager list --consumed
Remove the subscription assigned to the system using the below command. Replace the "serial" with the value obtained from Step 1.
subscription-manager remove --serial=<SERIAL>
2. Attach 'SAP Solutions' subscription
Follow the below steps to attach the 'SAP Solutions' subscription
Attach the Red Hat Enterprise Linux for SAP Solutions
subscription. This process involves two steps
Find the pool id of the Red Hat Enterprise Linux for SAP Solutions subscription
subscription-manager list --available
Attach the subscription to the system
subscription-manager attach --pool=XXXX
3. Enable base repositories for new Update Services for SAP Solutions
When registering the system you should first lock the RHEL system SAP Solutions available release and clear the yum cache. Note that all the default yum repositories associated with a subscription are enabled during registration. Disable all the enabled yum repositories and enable only the required E4S repositories. The same steps can be followed for a server which is registered to Red Hat Customer portal or to Satellite using Red Hat Subscription management.
Set the release to one of the SAP Solutions available release and clear the yum cache. For setting the minor release as Red Hat Enterprise Linux 7.4 you can use commands below, for other version adjust the command.
subscription-manager release --set=7.4 yum clean all
Disable all yum repositories that were enabled by default
subscription-manager repos --disable="*"
Enable the E4S yum repositories
x86_64 platform
subscription-manager repos --enable="rhel-7-server-e4s-rpms" --enable="rhel-sap-for-rhel-7-server-e4s-rpms"
PowerPC Little Endian(ppc64le) platform
subscription-manager repos --enable="rhel-7-for-power-le-e4s-rpms" --enable="rhel-sap-for-rhel-7-for-power-le-e4s-rpms"
4. Enable 'High Availability' repositories for the new Update Services for SAP Solutions
If the system is also required to be subscribed to High availability
repository, then in addition to previous commands execute one of the below commands.
x86_64 platform
subscription-manager repos --enable="rhel-ha-for-rhel-7-server-e4s-rpms"
PowerPC Little Endian(ppc64le) platform
subscription-manager repos --enable="rhel-ha-for-rhel-7-server-for-power-le-e4s-rpms"
5. Where to look for additional documentation
Check the article Where I can find documentation for SAP products on RHEL and other Red Hat products?