These prerequisites are for the purpose of development, training, a demo or a small Proof-of-Concept installation. You can use 1 of the following 2 environments:
More detailed requirements for each are described below:
CentOS/RedHat 7.9, Ubuntu 18.04 (or higher) Operating System with the latest patches, for each:
Note: Minimum 10G RAM is required for running 1x Fabric, 1x Cassandra. Our recommendation if for a physical Docker host and not a virtual machine.
Install the latest Docker CE/EE version (https://docs.docker.com/engine/install/centos/).
Note: The /var/lib/docker should have at least 200GB of free memory.
Docker Compose must also be installed (see Docker documentation online https://docs.docker.com/compose/install/).
Enable NTP/chronyc (see https://access.redhat.com/documentation/enus/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-using_chrony).
Create the k2view user, and set the home directory on a drive with at least 50GB of space as follows:
## update the k2view user home directory and password!!
useradd -m -d /<update the path>/k2view/ k2view passwd k2view
Download the latest versions of Fabric, Cassandra, Kafka and Docker Compose using 1 the below 4 links:
cd ~/
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/cassandra/3.11.12/D_k2view_cassandra_3.11.12.tar.gz
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/kafka/5.5.1/D_k2view_kafka_5.5.1_3.tar.gz
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/fabric_7.0/Server/fabric-7.0.0_322/D_k2view_fabric_7.0.0_322.tar.gz
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/fabric_7.0/Server/fabric-7.0.0_322/compose_fabric_7.0.0_322.tar.gz
docker load -i D_k2view_cassandra_3.11.12.tar.gz
docker load -i D_k2view_kafka_5.5.1_3.tar.gz
docker load -i D_k2view_fabric_7.0.0_322.tar.gz
You can see the names of the images by using the command docker images
tar -zxvf compose_fabric_7.0.0_322.tar.gz
Run Docker Compose as follows:
cd compose_fabric_7.0.0_322
# run:
docker-compose up -d
# or
sudo /usr/local/bin/docker-compose up -d
Cassandra and Fabric will start automatically.
cd compose_fabric_7.0.0_322
#run:
docker-compose stop
docker exec -u=cassandra -it cassandra bash su - cassandra
## stop cassandra
stop-server
## restart cassandra
stop-server && cassandra
docker exec -it fabric bash -l
k2fabric stop / restart
These prerequisites are for the purpose of development, training, a demo or a small Proof-of-Concept installation. You can use 1 of the following 2 environments:
More detailed requirements for each are described below:
CentOS/RedHat 7.9, Ubuntu 18.04 (or higher) Operating System with the latest patches, for each:
Note: Minimum 10G RAM is required for running 1x Fabric, 1x Cassandra. Our recommendation if for a physical Docker host and not a virtual machine.
Install the latest Docker CE/EE version (https://docs.docker.com/engine/install/centos/).
Note: The /var/lib/docker should have at least 200GB of free memory.
Docker Compose must also be installed (see Docker documentation online https://docs.docker.com/compose/install/).
Enable NTP/chronyc (see https://access.redhat.com/documentation/enus/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-using_chrony).
Create the k2view user, and set the home directory on a drive with at least 50GB of space as follows:
## update the k2view user home directory and password!!
useradd -m -d /<update the path>/k2view/ k2view passwd k2view
Download the latest versions of Fabric, Cassandra, Kafka and Docker Compose using 1 the below 4 links:
cd ~/
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/cassandra/3.11.12/D_k2view_cassandra_3.11.12.tar.gz
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/kafka/5.5.1/D_k2view_kafka_5.5.1_3.tar.gz
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/fabric_7.0/Server/fabric-7.0.0_322/D_k2view_fabric_7.0.0_322.tar.gz
wget https://owncloud-bkp2.s3.us-east-1.amazonaws.com/adminoc/fabricint/fabric_7.0/Server/fabric-7.0.0_322/compose_fabric_7.0.0_322.tar.gz
docker load -i D_k2view_cassandra_3.11.12.tar.gz
docker load -i D_k2view_kafka_5.5.1_3.tar.gz
docker load -i D_k2view_fabric_7.0.0_322.tar.gz
You can see the names of the images by using the command docker images
tar -zxvf compose_fabric_7.0.0_322.tar.gz
Run Docker Compose as follows:
cd compose_fabric_7.0.0_322
# run:
docker-compose up -d
# or
sudo /usr/local/bin/docker-compose up -d
Cassandra and Fabric will start automatically.
cd compose_fabric_7.0.0_322
#run:
docker-compose stop
docker exec -u=cassandra -it cassandra bash su - cassandra
## stop cassandra
stop-server
## restart cassandra
stop-server && cassandra
docker exec -it fabric bash -l
k2fabric stop / restart