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

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6.5 and higher
  • Red Hat Enterprise Linux for SAP HANA Subscription

Issue

  • How to subscribe a RHEL 6 system to RHEL for SAP HANA child channel?
  • How to subcribe 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 subscriptions is required to access RHEL 6.7 channels

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

Access the "Red Hat Customer Portal:- Subscription Inventory page" to verify whether the appropriate subscriptions required to access EUS are available under your Red Hat account.

When using Red Hat Satellite server check that relevant SAP repositories are synchronized on Sattelite server as described in How to configure Satellite server to synchronize SAP related repositories?.

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.

    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 6.7

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

    • for x86_64 platform

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

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.

2 Comments

RHEL SKU 764 shows Scalable File system (aka XFS), but ... how to I access the repo?

root@sapem1hdb # subscription-manager list --consumed | grep -e "Subscription Name:" -e SKU -e Scalable Subscription Name: Red Hat Enterprise Linux for SAP Solutions, Standard (Physical or Virtual Nodes) Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support SKU: RH00764S

root@sapem1hdb # subscription-manager repos --enable="rhel-sfs-for-rhel-6-server-rpms" Error: rhel-sfs-for-rhel-6-server-rpms is not a valid repository ID. Use --list option to see valid repositories.

root@sapem1hdb # yum info xfsprogs | grep -i from From repo : rhel-scalefs-for-rhel-6-server-rpms

root@sapem1hdb # subscription-manager repos --enable="rhel-scalefs-for-rhel-6-server-rpms" Error: rhel-scalefs-for-rhel-6-server-rpms is not a valid repository ID. Use --list option to see valid repositories. root@sapem1hdb # subscription-manager repos --list | grep -e scale -e sfs -e xfs root@sapem1hdb #

Please note: As RHEL 6.10 is certified for HANA and is the desired release, just use "subscription-manager release --set=6.10" in (3.1) of this description.