Linux Quick Start Guide - Matching Engine Package

1) Download Installer from Mulltta website:

Enter your email address on the Mulltta download page to receieve the installation file by email. Download this file to your local machine and place in the following location:

/home/$USER/mulltta

2) Install Docker:

https://docs.docker.com/engine/install/

3) Install Minikube:

https://kubernetes.io/docs/tasks/tools/install-minikube/

4) Install Kubectl:

https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

5) Setup Environment:

cd /home/$USER/mulltta
sudo service docker start
minikube start
eval $(minikube docker-env)
sudo find / -name "kubectl"
export PATH=$PATH:/var/lib/docker/volumes/minikube/_data/lib/minikube/binaries/{VERSION_NUMBER}/

6) Install package and bring up dashboard:

bash mulltta_package_{VERSION_NUMBER}.sh

DJANGO_ADMIN_POD=$(kubectl get pods | grep django-admin | cut -f1 -d" ")
DJANGO_ADMIN_PORT=${DJANGO_ADMIN_PORT:=8000}
kubectl port-forward $DJANGO_ADMIN_POD $DJANGO_ADMIN_PORT:8000 &
YAWS_POD=$(kubectl get pods | grep yaws | cut -f1 -d" ")
YAWS_PORT=${YAWS_PORT:=8080}
kubectl port-forward $YAWS_POD $YAWS_PORT:8080 &
POSTGRES_POD=$(kubectl get pods | grep postgres | cut -f1 -d" ")
POSTGRES_PORT=${POSTGRES_PORT:=5432}
kubectl port-forward $POSTGRES_POD 5552:$POSTGRES_PORT &

minikube dashboard

The installer will automatically download all necessary docker images and launch the matching engine utilizing Kubernetes.

The deployment can be managed via the Kubernetes Web UI (Dashboard)

7) Connectivity:

  • Public Facing API - Port 8080
  • Admin Archive - 8000
  • Postgres Database Connection - Port 5552

8) Quickly verify operation:

9) Remove Package:

eval $(minikube docker-env)
minikube stop
minikube delete