Last year I published a small post to compare sapconf and saptune: sapconf versus saptune
It would seem that there is still some confusion about it, so let me go a little bit deeper into the rabbit hole today.
What is the difference between both?
If you are running “SUSE Linux Enterprise Server” you will only have sapconf in your arsenal.
It is meant only to do the most important changes and neither distinguishes between SAP applications nor implements entire SAP notes. This is often not known.
If you are running “SUSE Linux Enterprise Server for SAP Applications” also saptune is available to you.
It can apply entire SAP notes, offers prepared combinations (solutions) of notes and – to make your live easier – also allows you to simulate and verify changes made to the system. It is much more elaborated and one of the benefits of “SUSE Linux Enterprise Server for SAP Applications”
So, only with “SUSE Linux Enterprise Server for SAP Applications” you can choose between both tools.
Both tools use tuned to do their work, which means, that they cannot be used at the same time! You have do decide which one is your favorite.
Here a little table to summarize the important facts:
sapconf | saptune | |
---|---|---|
Available on SLES? | yes1 | no |
Available on SLES for SAP Applications? | yes | yes2 |
Does it implements entire SAP notes? | no | yes |
Can I configure everything? | yes | yes3 |
Do I have a verify option? | no | yes |
saptune | → | Your system is running saptune |
sap-* (SLES 12), sapconf (SLES 15) | → | Your system is running sapconf |
sapconf | saptune | |
---|---|---|
systemd service file | sapconf.service | none |
Recommended status of tuned service | active/disabled | active/enabled |
Used tuned profile | sapconf/sap-* | saptune |
I have written a small shell script which will do the tests above and give some hints how to solve a misconfiguration.
You can download it here: https://github.com/scmschmidt/sapconf_saptune_check
If you want to go even deeper, here are the links to technical blog posts:
sapconf: sapconf – A way to prepare a SLES system for SAP workload
saptune: (Will be added as soon ‘saptune’ version 2 is released.)
Exactly, you exemplified with perfection!
Hi Soeren,
we have saptune with solution netweaver active on our productive application server. Now it seems that saptune is activating less parameter than sapconf.
For example in SAP Note: 1275776 - Linux: Preparing SLES for SAP environments, there is a suggestion for /proc/sys/vm/max_map_count. With saptune the parameter is at 65530 versus 2147483647 (sapconf )
The following error occur in our system log:
*** WARNING => ab_pbinit: Protection deactivated due to insufficient vm mappings. [abload3.c 1693]
*** WARNING => ab_pbinit: Please increase vm.max_map_count (see note 900929). [abload3.c 1694]
We are running against a HANA DB. From the documentation it is not clear if we should activate the soltuion NETWEAVER+HANA for the dedicated app server. what would be the correct approach?
Kind regards