To apply the RHEL 8 swappiness workaround

Purpose
WARNING 

WARNING

Configuration Restriction

Do not perform this procedure on the NSP deployer host or on an NSP cluster VM, where cgroup v1 is mandatory. Using cgroup v2 in these environments is not supported and will cause failures.

You must perform this procedure on systems that support cgroup v2.

This procedure configures the system to use cgroup v2, which applies the global vm.swappiness systemctl value. Perform this procedure before you attempt to install NSP software on a RHEL OS instance that is to host any of the following components:

  • NSP auxiliary database

  • NFM-P:

    • main server

    • main database

    • collocated main server and database

    • auxiliary server

Steps
 

Log in to the station as the root user.


Enter the following:

grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=1" ↵

The workaround is applied.


Enter the following:

systemctl reboot ↵

The station reboots.


Close the console window.

End of steps