This article describes mandatory steps to be taken for a system setup prior to Fabric/TDM installation; such steps are:
Follow the below instructions to prepare Linux environment for Fabric/TDM installation.
for detailed hardware requirement, please see below:
Create mandatory system users via the following commands:
On all servers
mkdir -p /opt/apps
chmod 755 /opt/apps
On each server, depending on the service you wish to install, run the appropriate useradd command. (on a single host setup, run all commands on the same server) For Fabric Sever
useradd -m -d /opt/apps/fabric -s /bin/bash fabric
For Cassandra Instance (only in case Cassandrta is planned as system DB)
useradd -m -d /opt/apps/cassandra -s /bin/bash cassandra
In Some cases, Kafka instance or cluster will be required.
useradd -m -d /opt/apps/kafka -s /bin/bash kafka
Update the OS limits as follows:
echo "root soft nproc unlimited" >> /etc/security/limits.conf
echo "cassandra - nofile 1000000" >> /etc/security/limits.conf
echo "cassandra - nproc 500000" >> /etc/security/limits.conf
echo "fabric - nofile 1000000" >> /etc/security/limits.conf
echo "fabric - nproc 500000" >> /etc/security/limits.conf
echo "kafka hard nofile 1000000" >> /etc/security/limits.conf
echo "kafka soft nofile 1000000" >> /etc/security/limits.conf
echo "kafka - nproc 500000" >> /etc/security/limits.conf
echo "kafka soft nofile 1000000" >> /etc/security/limits.conf
echo "kafka - nproc 500000" >> /etc/security/limits.conf
Update /etc/sysctl.conf:
echo "## Added by K2view" >> /etc/sysctl.conf
echo "vm.max_map_count = 1048575" >> /etc/sysctl.conf
echo "fs.file-max = 1000000" >> /etc/sysctl.conf
echo "net.ipv4.tcp_keepalive_time = 60" >> /etc/sysctl.conf
echo "net.ipv4.tcp_keepalive_probes = 3" >> /etc/sysctl.conf
echo "net.ipv4.tcp_keepalive_intvl = 10" >> /etc/sysctl.conf
sysctl -p
If the system is planned to work over SSL/TLS and need to be hardend, OPENSSL is also required to be installed, in most Disterbutions its already installed by default, in case its not. please follow the spefic Linux diterbution manuals.
This article describes mandatory steps to be taken for a system setup prior to Fabric/TDM installation; such steps are:
Follow the below instructions to prepare Linux environment for Fabric/TDM installation.
for detailed hardware requirement, please see below:
Create mandatory system users via the following commands:
On all servers
mkdir -p /opt/apps
chmod 755 /opt/apps
On each server, depending on the service you wish to install, run the appropriate useradd command. (on a single host setup, run all commands on the same server) For Fabric Sever
useradd -m -d /opt/apps/fabric -s /bin/bash fabric
For Cassandra Instance (only in case Cassandrta is planned as system DB)
useradd -m -d /opt/apps/cassandra -s /bin/bash cassandra
In Some cases, Kafka instance or cluster will be required.
useradd -m -d /opt/apps/kafka -s /bin/bash kafka
Update the OS limits as follows:
echo "root soft nproc unlimited" >> /etc/security/limits.conf
echo "cassandra - nofile 1000000" >> /etc/security/limits.conf
echo "cassandra - nproc 500000" >> /etc/security/limits.conf
echo "fabric - nofile 1000000" >> /etc/security/limits.conf
echo "fabric - nproc 500000" >> /etc/security/limits.conf
echo "kafka hard nofile 1000000" >> /etc/security/limits.conf
echo "kafka soft nofile 1000000" >> /etc/security/limits.conf
echo "kafka - nproc 500000" >> /etc/security/limits.conf
echo "kafka soft nofile 1000000" >> /etc/security/limits.conf
echo "kafka - nproc 500000" >> /etc/security/limits.conf
Update /etc/sysctl.conf:
echo "## Added by K2view" >> /etc/sysctl.conf
echo "vm.max_map_count = 1048575" >> /etc/sysctl.conf
echo "fs.file-max = 1000000" >> /etc/sysctl.conf
echo "net.ipv4.tcp_keepalive_time = 60" >> /etc/sysctl.conf
echo "net.ipv4.tcp_keepalive_probes = 3" >> /etc/sysctl.conf
echo "net.ipv4.tcp_keepalive_intvl = 10" >> /etc/sysctl.conf
sysctl -p
If the system is planned to work over SSL/TLS and need to be hardend, OPENSSL is also required to be installed, in most Disterbutions its already installed by default, in case its not. please follow the spefic Linux diterbution manuals.