Environment

  • Red Hat Enterprise Linux 6 and 7
  • Red Hat Enterprise Linux for SAP Subscription

Issue

  • How to subscribe the system to RHEL for SAP Channel ?
  • How to register the system and subscribe to RHEL for SAP Channel ?

Resolution

Either one of the below subscriptions is required to access RHEL 6/7 channels

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 Applications' subscription

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

  1. Find the pool id of the RHEL for SAP Applications subscription.

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

    subscription-manager attach --pool=XXXX
    

3. Enable SAP Applications repositories

When registering the system, all the default yum repositories associated with a subscription are enabled.

  1. Enable the SAP Applications yum repositories

    • for x86_64 RHEL 6 platform

      subscription-manager repos --enable="rhel-sap-for-rhel-6-server-rpms"
      
    • for x86_64 RHEL 7 platform

      subscription-manager repos --enable="rhel-sap-for-rhel-7-server-rpms"
      
    • for PowerPC Little Endian (ppc64le) RHEL 7 platform

      subscription-manager repos --enable="rhel-sap-for-rhel-7-for-power-le-rpms"
      
    • for System Z (s390x) RHEL 7 platform

      subscription-manager repos --enable="rhel-sap-for-rhel-7-for-system-z-rpms"
      

4. Enable High Availability repositories

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

  • for x86_64 RHEL 6 platform

    subscription-manager repos --enable="rhel-ha-for-rhel-6-server-rpms"
    
  • for x86_64 RHEL 7 platform

    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?