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

  • Red Hat Enterprise Linux for SAP applications
  • Red Hat Enterprise Linux 6/7

Issue

  • What should I do after switching to Red Hat Enterprise Linux for SAP applications from regular RHEL subscription ?
  • Should I re-register the system for using the new the Red Hat Enterprise Linux for SAP applications subscription ?
  • During subscription renewal process, I switched to Red Hat Enterprise Linux for SAP applications subscription. Should the system be re-registered to use the subscription ?

Resolution

Follow the below steps if the system was registered using 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
    

    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 6 x86_64: subscription-manager repos --enable="rhel-sap-for-rhel-6-server-rpms"
    Red Hat Enterprise Linux 7 x86_64: subscription-manager repos --enable="rhel-sap-for-rhel-7-server-rpms"
    Red Hat Enterprise Linux 6 s390x : subscription-manager repos --enable="rhel-sap-for-rhel-6-for-system-z-rpms"
    Red Hat Enterprise Linux 7 s390x: subscription-manager repos --enable="rhel-sap-for-rhel-7-for-system-z-rpms"
    Red Hat Enterprise Linux 6 PPC(BE): subscription-manager repos --enable="rhel-sap-for-rhel-6-for-power-rpms"
    Red Hat Enterprise Linux 7 PPC(BE): subscription-manager repos --enable="rhel-sap-for-rhel-7-for-power-rpms"

Follow the below steps if the system is registered to RHN classic or Satellite 5.X:

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.

1 Comments

Please include how to add this using the new Red Hat subscription method.