What should I do after switching to Red Hat Enterprise Linux for SAP Applications from regular Red Hat Enterprise Linux subscription?

Solution Verified - Updated -

Environment

Issue

Resolution

RHEL 8

For RHEL 8, enable the RHEL for SAP NetWeaver repo. See RHEL for SAP Subscriptions and Repositories for more information.

RHEL 9

For RHEL 9, enable the RHEL for SAP NetWeaver repo. See RHEL for SAP Subscriptions and Repositories for more information.

Follow the steps outlined below if the system was registered using the Red Hat Subscription manager.

  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>
    
  3. Attach the Red Hat Enterprise Linux for SAP Applications subscription. This process involves two steps

    3.1 Find the pool id of the Red Hat Enterprise Linux for SAP Applications subscription

    subscription-manager list --available --matches='RHEL for SAP*'|grep -e 'Subscription Name:' -e 'Pool ID:' -e 'Service Level:' -e 'Service Type:'
    

    3.2 Attach the subscription to the system

    subscription-manager attach --pool=XXXX
    
  4. Review the currently enabled yum repositories using the below command. Verify whether RHEL for SAP applications yum repository "rhel-x86_64-server-sap-6/rhel-sap-for-rhel-7-server-rpms" is enabled.

    yum repolist
    

    If the RHEL for SAP Applications repository is not enabled, then enable it using the command

    Red Hat Enterprise Linux 7 x86_64: subscription-manager repos --enable="rhel-sap-for-rhel-7-server-rpms"
    Red Hat Enterprise Linux 8 x86_64: subscription-manager repos --enable="rhel-8-for-x86_64-sap-netweaver-rpms"
    Red Hat Enterprise Linux 7 s390x: subscription-manager repos --enable="rhel-sap-for-rhel-7-for-system-z-rpms"
    Red Hat Enterprise Linux 8 s390x: subscription-manager repos --enable="rhel-8-for-s390x-sap-netweaver-rpms"
    Red Hat Enterprise Linux 7 PPC(BE): subscription-manager repos --enable="rhel-sap-for-rhel-7-for-power-rpms"
    Red Hat Enterprise Linux 7 PPC(LE): subscription-manager repos --enable="rhel-sap-for-rhel-7-for-power-le-rpms"
    Red Hat Enterprise Linux 8 PPC(LE): subscription-manager repos --enable="rhel-8-for-ppc64le-sap-netweaver-rpms"

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.

Comments