How to subscribe SAP HANA systems to the Update Services for SAP Solutions

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7.2 and higher
    • Extended Update Support is not offered for any previous RHEL 7 minor releases as SAP HANA is certified only from RHEL 7.2.
    • Update Services for SAP Solutions is not available for Red Hat Enterprise Linux 6.
  • Subscription: Red Hat Enterprise Linux for SAP Solutions

Issue

  • How do I register SAP HANA systems to use the Update Services for SAP Solutions?
  • How to migrate or re-register SAP HANA 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

1. Detach 'SAP HANA' subscription (already registered systems only)

Follow the below steps if the SAP HANA System was already registered using the older RHEL for SAP HANA subscription.

  1. Find the serial number of the subscription that the system is currently subscribed to

    subscription-manager list --consumed
    
  2. 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

  1. Find the pool id of the Red Hat Enterprise Linux for SAP Solutions subscription

    subscription-manager list --available
    
  2. 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 system to SAP HANA certified version of RHEL 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.

  1. Set the release to one of the SAP HANA certified version of RHEL and clear the yum cache. For setting the minor release as Red Hat Enterprise Linux 7.2 you can use commands below, for other version adjust the command.

    subscription-manager release --set=7.2
    yum clean all
    
  2. Disable all yum repositories that were enabled by default

    subscription-manager repos --disable="*"
    
  3. Enable the E4S yum repositories

    • x86_64 platform

      subscription-manager repos --enable="rhel-7-server-e4s-rpms" --enable="rhel-sap-hana-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-hana-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?

Root Cause

For registering the system to the new Update Services for SAP Solutions, a Red Hat Enterprise Linux for SAP Solutions subscription is required. Contact Red Hat Sales if your Red Hat account does not list the new Red Hat Enterprise Linux for SAP Solutions.

Note: Update Services for SAP Solutions is only provided with RHEL for SAP Solutions and for customers running either SAP HANA or SAP Applications. It is not available on any other RHEL products, or for customers not running SAP workloads.

Refer the following article for more information on Red Hat Enterprise Linux for SAP Solutions subscription

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.