How to subscribe SAP Applications system to the Update Services for SAP Solutions

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7.2 and higher
  • Subscription: Red Hat Enterprise Linux for SAP Solutions

Issue

  • How to subscribe SAP Applications systems to the Update Services for SAP Solutions
  • How to migrate or re-register SAP Applications systems to use the new "Update Services for SAP Solutions"

Resolution

For registering the system to the new Update Services for SAP Solutions, a Red Hat Enterprise Linux for SAP Solutions subscription is required. Contact Red Hat Sales if your Red Hat account does not list Red Hat Enterprise Linux for SAP Solutions.

Refer to the following article for more information on Red Hat Enterprise Linux for SAP Solutions subscription

Note

  • Update Services for SAP Solutions is only provided with RHEL for SAP Solutions and for customers running either SAP HANA or SAP Applications. It is not available on any other RHEL products, or for customers not running SAP workloads.
  • Update Services for SAP Solutions is not available for Red Hat Enterprise Linux 6.

Follow these steps if the SAP NetWeaver System was already registered using the older RHEL for SAP subscription:

  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 Solutions subscription. This process involves two steps

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

    subscription-manager list --available
    

    3.2 Attach the subscription to the system

    subscription-manager attach --pool=XXXX
    

After attaching the subscription, follow steps mentioned under the heading Subscribing the system to the new Update Services for SAP Solutions.

Follow the below steps if the SAP NetWeaver System is being registered for the first time:

Attach the Red Hat Enterprise Linux for SAP Solutions subscription. This process involves two steps

  • Find the pool id of the Red Hat Enterprise Linux for SAP Solutions subscription

    subscription-manager list --available
    
  • Attach the subscription to the system

    subscription-manager attach --pool=XXXX
    

Subscribing the system to the new Update Services for SAP Solutions

When registering the system, all the default yum repositories associated with a subscription are enabled. Disable all the enabled yum repositories and enable only the required E4S repositories . The same steps can be followed for a server which is registered to Red Hat Customer portal or to Satellite using Red Hat Subscription management.

Disable all yum repositories that were enabled by default

subscription-manager repos --disable="*"

Enable the E4S yum repositories

subscription-manager repos --enable="rhel-7-server-e4s-rpms" --enable="rhel-sap-for-rhel-7-server-e4s-rpms" 

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-e4s-rpms" 

Set the release to one of the supported RHEL 7 minor versions 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

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.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.