This guide describes the steps required to prepare your environment for the installation of Fabric and TDM. It covers both system-level and application-level preparation to ensure a successful deployment.
The setup process includes:
Follow the instructions in this guide to fully prepare your environment for Fabric and TDM installation.
Before proceeding with the Fabric installation, you may need to set up one or more backend services depending on your deployment architecture. Fabric supports PostgreSQL, Cassandra, and SQLite as SystemDB options, and Kafka for multi-node configurations.
SQLite is supported for lightweight, single-node, or development environments. No additional installation is required — support is built into Fabric.
Please refer to the following setup guides for detailed installation instructions:
PostgreSQL Setup Guide
Use this guide to install a PostgreSQL instance or cluster using K2view’s supplied package. PostgreSQL is required when installing TDM.
Cassandra Setup Guide
Use this guide to install a Cassandra instance or cluster using K2view’s supplied package.
Kafka Setup Guide
Use this guide to install a Kafka cluster. Kafka is only required for multi-node Fabric deployments.
Note: For production and TDM deployments, PostgreSQL is the recommended SystemDB.
Before installing Fabric, verify that your hardware meets the recommended specifications for your target environment (Development, QA, or Production).
Detailed hardware requirements can be found in the following document:
It is recommended to review these guidelines to ensure proper resource allocation based on your workload and deployment model.
Fabric relies on several third-party components and system services. K2view provides optional pre-packaged installers for Cassandra and Kafka to simplify setup, though vendor-supplied installation packages may also be used if preferred.
A System Database is mandatory for all Fabric installations. Fabric supports the following SystemDB options:
PostgreSQL
Required for TDM installations. It is strongly recommended to use PostgreSQL as the SystemDB when installing Fabric in conjunction with TDM.
SQLite
Recommended only for small-scale or development environments. SQLite support is built into Fabric; no external installation is required.
Cassandra
Supported for larger scale deployments. Cassandra can be installed manually following vendor documentation, or by using K2view’s pre-packaged installation scripts to simplify setup.
Kafka is required only for multi-node Fabric deployments. K2view provides Kafka installation packages, or you may install Kafka directly from vendor distributions. Kafka is required when Fabric nodes must coordinate shared state or when data integration patterns (streaming, IID sync, CDC, or audit) require a durable pub/sub mechanism.
Create the required system users and base directories as follows:
On all servers, create the base installation directory:
sudo mkdir -p /opt/apps
sudo chmod 755 /opt/apps
On each server, create the necessary user accounts depending on the components you are installing.
(For single-host deployments, all user creation commands may be executed on the same server.)
Fabric Server User:
sudo useradd -m -d /opt/apps/fabric -s /bin/bash fabric
Update the system limits to support high resource utilization required by Fabric:
Append the following entries to /etc/security/limits.conf
:
echo "root soft nproc unlimited" >> /etc/security/limits.conf
echo "fabric - nofile 1000000" >> /etc/security/limits.conf
echo "fabric - nproc 500000" >> /etc/security/limits.conf
Update kernel parameters by appending the following entries to /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
Apply the changes:
sudo sysctl -p
Note: Some OS limit changes may require a reboot or user session reload to take full effect.
If Cassandra is planned as the SystemDB, perform the following additional configuration steps:
Create Cassandra System User:
useradd -m -d /opt/apps/cassandra -s /bin/bash cassandra
Update OS Limits:
Append the following entries to /etc/security/limits.conf
:
echo "cassandra - nofile 1000000" >> /etc/security/limits.conf
echo "cassandra - nproc 500000" >> /etc/security/limits.conf
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 "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
If the system is planned to operate over SSL/TLS and requires hardening, OpenSSL must be installed on the servers.
In most Linux distributions, OpenSSL is installed by default. If it is not present, install it using your distribution's package manager or follow the official Linux distribution documentation.
You can verify that OpenSSL is installed by running:
openssl version
The Fabric Server installation package will be supplied to you directly by K2view.
fabric
user:sudo su - fabric
Download the Fabric installation package using the provided link.
Extract the package into the Fabric home directory:
tar -zxf [package_name].tar.gz -C /opt/apps/fabric
source /opt/apps/fabric/.bash_profile
Note: Replace
[package_name].tar.gz
with the actual package file name.
The following procedure should be performed on the first node of your Fabric cluster. Cluster creation is optional — Fabric can run as a single node or in a multi-node configuration.
Once the first node is installed and reaches the READY
state, you can add additional nodes by repeating the same process on each additional server.
Select the appropriate guide based on your chosen SystemDB:
PostgreSQL Setup:
Fabric Setup with PostgreSQL SystemDB
SQLite Setup:
Fabric Setup with SQLite SystemDB
Cassandra Setup:
Fabric Setup with Cassandra SystemDB
After system configuration, start the Fabric server:
/opt/apps/fabric/fabric/bin/k2fabric start
After a short while, you should see the following confirmation message:
++++ Fabric is READY
To add additional nodes to your Fabric cluster, repeat steps 1 and 2 on each additional server.
Note:
The default login credentials are:
User:admin
Password:admin
It is strongly recommended to change the default credentials. For instructions, refer to:
Replace the Fabric Default Admin Password
Use the following commands to operate Fabric on each node:
/opt/apps/fabric/fabric/bin/k2fabric stop
/opt/apps/fabric/fabric/bin/k2fabric start
/opt/apps/fabric/fabric/bin/k2fabric status
This guide describes the steps required to prepare your environment for the installation of Fabric and TDM. It covers both system-level and application-level preparation to ensure a successful deployment.
The setup process includes:
Follow the instructions in this guide to fully prepare your environment for Fabric and TDM installation.
Before proceeding with the Fabric installation, you may need to set up one or more backend services depending on your deployment architecture. Fabric supports PostgreSQL, Cassandra, and SQLite as SystemDB options, and Kafka for multi-node configurations.
SQLite is supported for lightweight, single-node, or development environments. No additional installation is required — support is built into Fabric.
Please refer to the following setup guides for detailed installation instructions:
PostgreSQL Setup Guide
Use this guide to install a PostgreSQL instance or cluster using K2view’s supplied package. PostgreSQL is required when installing TDM.
Cassandra Setup Guide
Use this guide to install a Cassandra instance or cluster using K2view’s supplied package.
Kafka Setup Guide
Use this guide to install a Kafka cluster. Kafka is only required for multi-node Fabric deployments.
Note: For production and TDM deployments, PostgreSQL is the recommended SystemDB.
Before installing Fabric, verify that your hardware meets the recommended specifications for your target environment (Development, QA, or Production).
Detailed hardware requirements can be found in the following document:
It is recommended to review these guidelines to ensure proper resource allocation based on your workload and deployment model.
Fabric relies on several third-party components and system services. K2view provides optional pre-packaged installers for Cassandra and Kafka to simplify setup, though vendor-supplied installation packages may also be used if preferred.
A System Database is mandatory for all Fabric installations. Fabric supports the following SystemDB options:
PostgreSQL
Required for TDM installations. It is strongly recommended to use PostgreSQL as the SystemDB when installing Fabric in conjunction with TDM.
SQLite
Recommended only for small-scale or development environments. SQLite support is built into Fabric; no external installation is required.
Cassandra
Supported for larger scale deployments. Cassandra can be installed manually following vendor documentation, or by using K2view’s pre-packaged installation scripts to simplify setup.
Kafka is required only for multi-node Fabric deployments. K2view provides Kafka installation packages, or you may install Kafka directly from vendor distributions. Kafka is required when Fabric nodes must coordinate shared state or when data integration patterns (streaming, IID sync, CDC, or audit) require a durable pub/sub mechanism.
Create the required system users and base directories as follows:
On all servers, create the base installation directory:
sudo mkdir -p /opt/apps
sudo chmod 755 /opt/apps
On each server, create the necessary user accounts depending on the components you are installing.
(For single-host deployments, all user creation commands may be executed on the same server.)
Fabric Server User:
sudo useradd -m -d /opt/apps/fabric -s /bin/bash fabric
Update the system limits to support high resource utilization required by Fabric:
Append the following entries to /etc/security/limits.conf
:
echo "root soft nproc unlimited" >> /etc/security/limits.conf
echo "fabric - nofile 1000000" >> /etc/security/limits.conf
echo "fabric - nproc 500000" >> /etc/security/limits.conf
Update kernel parameters by appending the following entries to /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
Apply the changes:
sudo sysctl -p
Note: Some OS limit changes may require a reboot or user session reload to take full effect.
If Cassandra is planned as the SystemDB, perform the following additional configuration steps:
Create Cassandra System User:
useradd -m -d /opt/apps/cassandra -s /bin/bash cassandra
Update OS Limits:
Append the following entries to /etc/security/limits.conf
:
echo "cassandra - nofile 1000000" >> /etc/security/limits.conf
echo "cassandra - nproc 500000" >> /etc/security/limits.conf
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 "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
If the system is planned to operate over SSL/TLS and requires hardening, OpenSSL must be installed on the servers.
In most Linux distributions, OpenSSL is installed by default. If it is not present, install it using your distribution's package manager or follow the official Linux distribution documentation.
You can verify that OpenSSL is installed by running:
openssl version
The Fabric Server installation package will be supplied to you directly by K2view.
fabric
user:sudo su - fabric
Download the Fabric installation package using the provided link.
Extract the package into the Fabric home directory:
tar -zxf [package_name].tar.gz -C /opt/apps/fabric
source /opt/apps/fabric/.bash_profile
Note: Replace
[package_name].tar.gz
with the actual package file name.
The following procedure should be performed on the first node of your Fabric cluster. Cluster creation is optional — Fabric can run as a single node or in a multi-node configuration.
Once the first node is installed and reaches the READY
state, you can add additional nodes by repeating the same process on each additional server.
Select the appropriate guide based on your chosen SystemDB:
PostgreSQL Setup:
Fabric Setup with PostgreSQL SystemDB
SQLite Setup:
Fabric Setup with SQLite SystemDB
Cassandra Setup:
Fabric Setup with Cassandra SystemDB
After system configuration, start the Fabric server:
/opt/apps/fabric/fabric/bin/k2fabric start
After a short while, you should see the following confirmation message:
++++ Fabric is READY
To add additional nodes to your Fabric cluster, repeat steps 1 and 2 on each additional server.
Note:
The default login credentials are:
User:admin
Password:admin
It is strongly recommended to change the default credentials. For instructions, refer to:
Replace the Fabric Default Admin Password
Use the following commands to operate Fabric on each node:
/opt/apps/fabric/fabric/bin/k2fabric stop
/opt/apps/fabric/fabric/bin/k2fabric start
/opt/apps/fabric/fabric/bin/k2fabric status