How to subscribe a RHEL 7 system to RHEL for SAP HANA child channel?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7.2 and higher
  • Red Hat Enterprise Linux for SAP HANA Subscription
  • Red Hat Enterprise Linux for SAP HANA for Power, LE Subscription

Issue

  • How to subscribe a RHEL 7.2 system to RHEL for SAP HANA child channel?
  • How to subscribe the system to RHEL for SAP HANA child channel ?
  • How to register the system and subscribe to RHEL for SAP HANA channel ?

Resolution

Either one of the below subscription combinations is required to access RHEL 7 SAP HANA channels

If you have Premium subscription or additional 'Extended Update Support' (EUS) channel add-on subscription, refer to article How to subscribe RHEL 7 SAP HANA system to Extended Update Support (EUS) channel? instead.

1. Register system

If the system was not yet registered, register system to either Red Hat Satellite or Red Hat Customer portal using Red Hat Subscription management.

  1. Register the system to Red Hat Customer Portal or to Red Hat Satellite server 6.

    subscription-manager register --username=XXXX --password=XXXX
    

Install katello-ca-consumer-[host]-X.rpm from the satellite server before registering the system to Satellite 6.

2. Attach the 'SAP HANA' subscription

Attach the Red Hat Enterprise Linux for SAP HANA Subscription to the system. This process involves two steps

  1. Find the pool id of the RHEL for SAP HANA subscription/Red Hat Enterprise Linux for SAP HANA for Power, LE subscription.

    subscription-manager list  --available
    
  2. Attach the subscription to the system

    subscription-manager attach --pool=XXXX
    

3. Enable SAP HANA repositories

When registering the system, all the default yum repositories associated with a subscription are enabled but additional steps as shown below are needed to make sure that packages are only from supported and certified minor version RHEL for SAP HANA.

  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

    subscription-manager release --set=7.2
    yum clean all
    
  2. Enable the SAP HANA yum repositories

    • for x86_64 platform

      subscription-manager repos --enable="rhel-sap-hana-for-rhel-7-server-rpms"
      
    • for PowerPC LE(ppc64le) platform

      subscription-manager repos --enable="rhel-sap-hana-for-rhel-7-for-power-le-rpms"
      

4. Enable High Availability repositories

If the system is also required to be subscribed to High availability repository, then execute the below command

subscription-manager repos --enable="rhel-ha-for-rhel-7-server-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?

  • Component
  • yum

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.

7 Comments

How can we get the HANA content for test?

Currently all our environments run SLES, but we wanted to test on RHEL as our company uses CentOS and Lotus products. Why is this so difficult to get registered?

To access the contents shipped via RHEL for SAP HANA channel, you need to have an evaluation copy(minimum) or supported copy of RHEL for SAP HANA subscription

You can get the evaluation copy of RHEL for SAP HANA channel by contacting Sales. Sales contact information is available in the below url https://access.redhat.com/support/contact/Sales/

For all of us using the Red Hat Enterprise Linux Developer Suite, how about adding the sap repo: rhel-sap-for-rhel-7-server-rpms? Or add compat-sap-c++ to the main rhel repo's. HANA 2.0 now requires compat-sap-c++ and we can't get it from the main rhel repo's.

How do we connect to these repositories from Azure using Paygo model?

Sounds like Pay-as-you-go model are handled differently. Switching netweaver to BYOL model. That works fine. The pay-as-you-go does not honor release settings, or versionlock controls.

Clarifying.,,,

Whats the best practice to Subscribe RHEL 6/7 for SAP Netweaver and HANA at Azure?

RHEL OS's supporting SAP HANA and Netweaver are required to use subscriptions and repositories and RPMS that are under the scrutiny of SAP and Redhat. Makes sense. No beta, and well tested sources. Understand why that would be.

Ref: https://access.redhat.com/solutions/2334521

1) At Azure there are 2 subscription models: a) RHSM provides SAP Solution as of Q4 2017 b) Azure provides RHUI - for the On-Demand subscription model at Azure. up to date at all times.

2) Release controls... Particular HANA versions are supported on specific RHEL OS releases. Ex a) HANA version 16XX is supported on RHEL 7.2 and b) HANA version 17XX is supported on RHEL7.3.

How do I set these "release" controls in the Azure "On Demand" model?

3) Repos are called out in SAP documentation , standard RHEL ones, as well as SAP-specific ones:

Ex: rhel-sap-hana-for-rhel-7-server-e4s-rpms and Red Hat Enterprise Linux for SAP

Azure provides "On Demand" where Repos are up to date as you'd want on an Internet Facing website. No Release control I can see.

RHSM (call it what you will) provided - provides SAP centric repos, RPMS and RHEL Release control.

Is there an approved way to use RHUI and SAP Netweaver or SAP HANA?

Servers built with RHUI seems to include too many repo varieties:

Ex: rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 20,120 rhel-7-server-rt-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) 281 rhui-microsoft-azure-rhel7 Microsoft Azure RPMs for Red Hat Enterprise Linux 7 2 rhui-rhel-7-server-dotnet-rhui-debug-rpms/7Server/x86_64 dotNET on RHEL Debug RPMs for Red Hat Enterprise Linux 7 Server from RHUI 36 rhui-rhel-7-server-dotnet-rhui-rpms/7Server/x86_64 dotNET on RHEL RPMs for Red Hat Enterprise Linux 7 Server from RHUI 81 rhui-rhel-7-server-dotnet-rhui-source-rpms/7Server/x86_64 dotNET on RHEL Source RPMs for Red Hat Enterprise Linux 7 Server from RHUI 41 rhui-rhel-7-server-rhui-debug-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server from RHUI (Debug RPMs) 7,156 rhui-rhel-7-server-rhui-extras-debug-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras from RHUI (Debug RPMs) 154 rhui-rhel-7-server-rhui-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras from RHUI (RPMs) 814 rhui-rhel-7-server-rhui-extras-source-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras from RHUI (Source RPMs) 320 rhui-rhel-7-server-rhui-optional-debug-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional from RHUI (Debug RPMs) 4,827 rhui-rhel-7-server-rhui-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional from RHUI (RPMs) 14,947 rhui-rhel-7-server-rhui-optional-source-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional from RHUI (Source RPMs) 3,100 rhui-rhel-7-server-rhui-rh-common-debug-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - RH Common from RHUI (Debug RPMs) 32 rhui-rhel-7-server-rhui-rh-common-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - RH Common from RHUI (RPMs) 231 rhui-rhel-7-server-rhui-rh-common-source-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - RH Common from RHUI (Source RPMs) 90 rhui-rhel-7-server-rhui-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server from RHUI (RPMs) 20,120 rhui-rhel-7-server-rhui-source-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server from RHUI (Source RPMs) 5,761 rhui-rhel-7-server-rhui-supplementary-debug-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Supplementary from RHUI (Debug RPMs) 0 rhui-rhel-7-server-rhui-supplementary-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Supplementary from RHUI (RPMs) 255 rhui-rhel-7-server-rhui-supplementary-source-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Supplementary from RHUI (Source RPMs) 8 rhui-rhel-server-rhui-rhscl-7-debug-rpms/7Server/x86_64 Red Hat Software Collections Debug RPMs for Red Hat Enterprise Linux 7 Server from RHUI 675 rhui-rhel-server-rhui-rhscl-7-rpms/7Server/x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server from RHUI 9,961 rhui-rhel-server-rhui-rhscl-7-source-rpms/7Server/x86_64 Red Hat Software Collections Source RPMs for Red Hat Enterprise Linux 7 Server from RHUI 4,116

versus : rhel-6-server-eus-optional-rpms Red Hat Enterprise Linux 6 Server - Extended Update Support - Optional (RPMs) 10,084 rhel-6-server-eus-rpms Red Hat Enterprise Linux 6 Server - Extended Update Support (RPMs) 17,268 rhel-6-server-extras-rpms Red Hat Enterprise Linux 6 Server - Extras (RPMs) 86 rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 16,890 rhel-sap-for-rhel-6-server-eus-rpms RHEL for SAP (for RHEL 6 Server) Extended Update Support (RPMs) 45+18 rhel-server-dts-6-rpms Red Hat Developer Toolset RPMs for Red Hat Enterprise Linux 6 Server 84 rhel-server-dts2-6-rpms Red Hat Developer Toolset 2 RPMs for Red Hat Enterprise Linux 6 Server 469 rhel-sfs-for-rhel-6-server-eus-rpms Red Hat Enterprise Linux Scalable File System (for RHEL 6 Server) Extended Update Support RPMs) 46

Perhaps there is a doc that describes other ways to remain in a supported state?

When deploying at Azure, we have to pick one model or the other. (didnt even get into the EUS vs E4S )

For version 7.4 serves?