Skip to main content
SLES Linux Enterprise

Tuning SAP Applications for SLES with SAPTUNE

If you have installed any SAP product before and if you did it right you probably read some documents and SAP Notes before starting. Many of those SAP Notes are related to OS and DB tuning. I can’t stress hard enough how important is to read the available documents before starting a system installation. Lot of SAP installation were completely ruined because the SAP consultant in charge of that installation didn’t read a particular SAP Note describing know problems of that product version. Lot of Go-Live were delayed because the performance of the system was bad. Because SAP knows that people installing their products don’t read what they have to read they though how to do everything easier.

saptune is the evolution of sapconft. Both of this applications are used to automatically configure your SLES OS following SAP recommendations. As you may know there are tons of SAP Notes related to performance on SLES. With saptune we can configure the SLES automatically without manually applying the parameters.

Install saptune

If you are using an image of SLES for SAP Applications then saptune/sapconf should be installed automatically. The differences between both applications are:

  • sapconf: It is available in SLES11 and SLES12. You don’t need a SLES for SAP Applications subscription.
  • saptune: It is available in SLES 12 SP2. You need a SLES for SAP Applications subscription.

You can install the saptune using YAST if you have configured the appropriate repositories. It is also possible to use zypper:

Using saptune

Once we installed saptune we will need to configure it. The first step is to get a list of the solutions available for saptune:

The return should be something like this:

Available solutions in saptune
Available solutions in saptune

As you can see we have a solution for the SAP products available to install in SLES. Lets say we are installing a SAP Netweaver 7.50, for activating the NETWEAVER solution we will execute the following command:

You may realize about a * in front NETWEAVER in the last image. That means that the solution NETWEAVER is activated. If we execute the following command we will verify that the system is tuned following the SAP recommendations:

saptune status
saptune status

Finally we will need to activate the daemon for saptune:

If we query the status of the saptune daemon we will also get the enabled solution:

saptune daemon and enabled solutions
saptune daemon and enabled solutions

Finally we will get a list of the applied notes in the OS if we execute the following command:

SAP Notes applied by saptune
SAP Notes applied by saptune

We can apply, verify, etc. SAP Notes using the following commands:

Tips for saptune

Some tips for working with saptune:

  • CheckĀ  your current SAP systems running in SLES 12 SP2 so saptune is enable with the proper solution.
  • Update from time to time saptune from YAST or using zypper. If SAP release a new note related to OS parameters and configuration it should be download. If SAP update an existing note the parameters should be modified too.
  • Always read the SAP Notes related with OS recommendations. Even if you apply them with the saptune there are tons of information that is really important to know. saptune was released for making things simpler but it is your job to know about these notes.

2 thoughts to “Tuning SAP Applications for SLES with SAPTUNE”

  1. Hello,

    Thank you very much for this blog.

    Do I have to install saptune only on a HANA server or also on an application server without HANA?

    So I have a system:

    Server1: applikation Server

    Server2: HANA Database

    Do I have to install saptune only on server2?

    Many thanks
    Best regards

  2. Hi Mike,

    Yes you need to install saptune on all servers as its configuration is independent for each server. saptune will provie a list of possible solutions you can apply using the following command:

    saptune solution list

    For the Application Server you can use the NETWEAVER solution using the following command:

    saptune solution apply NETWEAVER

    For the HANA database you can use the following command:

    saptune solution apply HANA

    That way saptune will take care of the required O/S parameters for both Application Server and HANA.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.