sapconf 4 → sapconf 5
For all the people who read this post for the first time: "Nice to meet you!"
And for those who came back here due to my sapconf 5 announcement: "Welcome back!"
I wracked my brain if I should have a new series about sapconf 5 or just add some comments to my old blog posts. As you might guess, I decided for the latter.
If you read through this series you will find here and there boxes like this, labeled with "sapconf 4 -> sapconf 5", where I explain the differences. Remember, the major change between 4 and 5 is, that we get rid of tuned.
Enjoy!
NOTE: For further documentation check SAP note 1275776 and the man pages shipped with sapconf.
sles12-sp3:~ # zypper install sapconf
Refreshing service 'SUSE_Linux_Enterprise_Server_12_SP3_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 4 NEW packages are going to be installed:
sapconf sysstat tuned uuidd
4 new packages to install.
Overall download size: 534.7 KiB. Already cached: 0 B. After the operation, additional 1.4 MiB will be used.
Continue? [y/n/...? shows all options] (y):
Retrieving package
...
(removed for brevity)
...
Additional rpm output:
Created symlink from /etc/systemd/system/sockets.target.wants/uuidd.socket to /usr/lib/systemd/system/uuidd.socket.
...
Additional rpm output:
Updating /etc/sysconfig/sapnote-1680803...
Updating /etc/sysconfig/sapconf...
Created symlink from /etc/systemd/system/multi-user.target.wants/sapconf.service to /usr/lib/systemd/system/sapconf.service.
Set the maximum number of OS tasks each user may run concurrently (UserTasksMax) to 'infinity'
With this setting your system is vulnerable to fork bomb attacks.
Please reboot the system for the UserTasksMax change to become effective
sapconf 4 → sapconf 5
Please ignore anything about the tuned package. It does not get pulled in by a dependency anymore!
The following 4 NEW packages are going to be installed:
sapconf sysstat tuned uuidd
sles12-sp3:~ # systemctl status sapconf sysstat tuned uuidd
● sapconf.service - sapconf
Loaded: loaded (/usr/lib/systemd/system/sapconf.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2018-05-11 12:02:18 CEST; 21min ago
...
IMPORTANT: After installation sapconf is started and enabled unless a non-sapconf tuned profile is set already!
sapconf 4 → sapconf 5
There is no exception anymore, which could prevent sapconf 5 from being enabled on boot!
After updating to sapconf 5 tuned gets disabled and stopped.
If you enable it again tuned will work together with sapconf! If you do not configure tuned carefully you will have both tools fight each other! I have added a special chapter later, how to use both.
● 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 Fri 2018-05-11 12:02:18 CEST; 21min ago
...
sles12-sp3:~ # cat /usr/lib/systemd/system/sapconf.service
[Unit]
Description=sapconf
...
Wants=sysstat.service
...
sapconf 4 → sapconf 5
Again. Please ignore this about tuned if youre using sapconf 5.
sles12-sp3:~ # cat /usr/lib/systemd/system/sapconf.service
...
ExecStart=/usr/sbin/sapconf start
...
sles12-sp3:~ # cat /usr/sbin/sapconf
...
case "$1" in
start|restart|try-restart)
...
if ! systemctl status tuned &> /dev/null; then
systemctl start tuned
fi
...
● uuidd.service - Daemon for generating UUIDs
Loaded: loaded (/usr/lib/systemd/system/uuidd.service; indirect; vendor preset: disabled)
Active: inactive (dead)
...
Additional rpm output:
Created symlink from /etc/systemd/system/sockets.target.wants/uuidd.socket to /usr/lib/systemd/system/uuidd.socket.
...
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 Fri 2018-05-11 13:22:34 CEST; 13min ago
sles12-sp3:~ # cat /usr/lib/systemd/system/sapconf.service
...
Requires=uuidd.socket
...
...
Updating /etc/sysconfig/sapnote-1680803...
Updating /etc/sysconfig/sapconf...
...
...
Created symlink from /etc/systemd/system/multi-user.target.wants/sapconf.service to /usr/lib/systemd/system/sapconf.service.
...
...
Set the maximum number of OS tasks each user may run concurrently (UserTasksMax) to 'infinity'
With this setting your system is vulnerable to fork bomb attacks.
Please reboot the system for the UserTasksMax change to become effective
...
IMPORTANT: Please always check the output of the rpm to see, if additional steps are required after installation.
sapconf 4 → sapconf 5
I have updated the graphic for sapconf 5:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
11 | |
11 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
7 |