Operating system requirements
As mentioned in System overview, P4 DAM is provided as a native operating system package, such as .rpm and .deb for one of our supported 64-bit architecture Linux platforms:
- Red Hat Enterprise Linux 8, 9
- Rocky 8, 9
- CentOS 8
- Ubuntu 22.04, 24.04
Some distributions have several minor versions, only the 2 latest minor releases are supported. For example, as of writing this document, the latest two releases of Red Hat Enterprise Linux 8 family are 8.9 and 8.10. To benefit from the OS level security updates, performance optimizations, and compatibility with P4 DAM, closely follow the release cycle of the operating system in use and upgrade in a timely manner.
In addition to the operating system, the following preparations are required:
Ports
The P4 DAM application binds to several ports that must be free before proceeding with installations. Sometimes, the Linux distribution might already have an installed package that uses the ports P4 DAM needs. Therefore, ensure all the ports listed in Firewall requirements are available. Execute the following command to check if anything is listening on port 80:
netstat -tulpn | grep :80
Local firewall
In addition to the company-wide firewall, the local firewall might also be installed by default, for example iptables. Ensure it is either disabled or configured to accept the ports listed in Firewall requirements.
UID and GID
When P4 DAM is installed, the new hth user account and system group are created with predefined UID and GID of 21212, so ensure they are not reserved.
To change the UID and GID values, merge the following configuration to the /var/opt/hth/shared/hth.json file. Where <value> is the new UID and GID value you want to use:
{
... (snipped)
"user": {
"uid": <value>,
"gid": <value>
}
... (snipped)
}Locale
Ensure en_US.UTF-8 locale is installed and no errors are reported when running export LC_ALL=en_US.UTF-8.
Linux security modules
LSMs (Linux Security Modules) such as SELinux can also prevent P4 DAM from running. To disable LSMs:
RHEL and CentOS
Edit /etc/selinux/config and ensure that SELINUX is either in disabled or permissive mode. To avoid restarting the server for changes to come into effect, run the command below to immediately disable SELinux:
setenforce 0
Ubuntu
Does not need any changes.
Memory optimization
P4 DAM requires Redis and MongoDB to be installed. To avoid latencies and memory usage issues in these services, consider disabling Transparent Huge Pages (THP) in the kernel for Standard installation and Enterprise DB nodes.
Network optimization
Network optimization depends on the load on your installation. Consider increasing the limit of the backlog for connections (somaxconn) to higher value to improve network optimization. This should be set to a minimum of 512.