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.
If you are using an image of SLES for SAP Applications then saptune/sapconf should be installed automatically. The differences between both applications are:
You can install the saptune using YAST if you have configured the appropriate repositories. It is also possible to use zypper:
zypper install 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:
saptune solution list
The return should be something like this:
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:
saptune solution apply NETWEAVER
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 solution verify
Finally we will need to activate the daemon for saptune:
saptune daemon start
If we query the status of the saptune daemon we will also get the enabled solution:
saptune daemon status
Finally we will get a list of the applied notes in the OS if we execute the following command:
saptune note list
We can apply, verify, etc. SAP Notes using the following commands:
Tune system according to SAP and SUSE notes: saptune note [ list | verify ] saptune note [ apply | simulate | verify | customise | revert ] NoteID
Some tips for working with saptune:
I hope you all survived the log4j Apocalypse and Christmas, hopefully you had a great…
I know it is being a while since I posted the last time. So far…
UPDATE 11/25/2020 Adobe released a new patch that solves the issue a few days ago:…
Good news for you fanatics of SAP GUI! SAP will release SAP GUI 7.70 in…
Quick update since I don't have a lot of time lately. During my 2019 job…
It's been a while since the last time I wrote an entry in my blog.…
View Comments
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
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.