sapconf – A way to prepare a SLES system for SAP workload – Part 4

Share
Share

This is the forth article about sapconf and it will cover the deinstallation

NOTE: For further documentation check SAP note 1275776 and the man pages shipped with sapconf.

sapconf 4 → sapconf 5

Well nothing much to add here, besides that tuned is not covered anymore.

Deinstallation

Really? You want to get rid of it? Well… If you really want:

sles12-sp3:~ # rpm -e sapconf
Removed symlink /etc/systemd/system/multi-user.target.wants/sapconf.service.

Easy, wasn’t it?

But what is about the other packages that have been installed together with sapconf?
Well, they’re still there. tuned, sysstat and uuidd will not be removed.

sles12-sp3:~ # rpm -q tuned sysstat uuidd
tuned-2.4.1-6.1.noarch
sysstat-10.2.1-9.2.x86_64
uuidd-2.29.2-3.5.4.x86_64

If you remember, only uuidd.socket should still be active and enabled:

sles12-sp3:~ # systemctl status uuidd.socket
● uuidd.socket - UUID daemon activation socket
   Loaded: loaded (/usr/lib/systemd/system/uuidd.socket; enabled; vendor preset: enabled)
   Active: active (listening) since Fr 2018-05-11 15:02:42 CEST; 4min 19s ago

Tuned is not:

sles12-sp3:~ # systemctl status tuned sysstat
● tuned.service - Dynamic System Tuning Daemon
   Loaded: loaded (/usr/lib/systemd/system/tuned.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

And sysstat is still active, but keeps disabled:

● sysstat.service - Write information about system start to sysstat log
   Loaded: loaded (/usr/lib/systemd/system/sysstat.service; disabled; vendor preset: disabled)
   Active: active (exited) since Fr 2018-05-11 15:02:42 CEST; 5min ago

So, if you want to use systat further, don’t forget to enable it!

Is there something else left, what is not that obvious?
Let me interrogate the man page:

sles12-sp3:~ # man 7 sapconf
...
     Note: If the package sapconf is removed from the system, the following settings will still remain:

       UserTasksMax setting in /etc/systemd/logind.conf.d/sap.conf
           Please remove the file manually, if it is not needed any longer.
           Note: A reboot is needed after the removal of the file to get the change take effect.

       Maximum number of open file descriptors in /etc/security/limits.conf
           Please remove the entries manually, if they are not needed any longer.

       A running sysstat service.
           Please stop the sysstat service manually, if it is not needed any longer.

       /etc/sysconfig/sapconf
           The central configuration file of sapconf is not removed during package removal.

       /etc/tuned/sap-*
           Private copies of tuned profiles in /etc/tuned are not removed during package removal.

       /var/log/sapconf.log
           The log file of sapconf will not be removed during package removal.

 

IMPORTANT: It’s always good to read the documentation! 😉

This again was a short article and you almost made it thru the series.
The fifth and final one will cover the leftovers.


previous article: sapconf – A way to prepare a SLES system for SAP workload – Part 3

next article: sapconf – A way to prepare a SLES system for SAP workload – Part 5


 

Share
(Visited 29 times, 1 visits today)

Leave a Reply

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

No comments yet

Avatar photo
7,131 views