Step 3 - Deploy Shared Services

1) Edit the script /usr/bin/nirmata-pe.sh to update the following fields with correct values:

a. DOCKER_REGISTRY: IP address or DNS name of your Docker private registry

b. DOCKER_USERNAME: Username used to login to the Docker private registry

c. DOCKER_PASSWORD: Password used to login to the Docker private registry

d. PRIVATE_IP: Private IP address of your Node

e. BACKEND_IP: Private IP of your Node (must be same as PRIVATE_IP)

(If a Network Proxy is required)

f. HTTP_PROXY: HTTP network proxy URL with username and password if needed.

g. HTTPS_PROXY: HTTPS network proxy URL with username and password if needed.

h. NO_PROXY: network addresses, names, or CIDRs for which the proxy is not used.

2) Execute the installer command: :

     ./nirmata-pe.sh install –-backend

3) Verify that all the backend services are up and running :

     sudo docker ps

At the end of the execution the command will display the list of container running on your Node. You should see an output similar to this:

IMAGE                                                  CREATED              STATUS              
$TARGET_REGISTRY/nirmata/kibana418:latest              About a minute ago   Up About a minute
$TARGET_REGISTRY/nirmata/kafka-es-connector:1.7.3      About a minute ago   Up About a minute
$TARGET_REGISTRY/nirmata/elasticsearch-single:latest   About a minute ago   Up About a minute
$TARGET_REGISTRY/nirmata/mongodb-single:latest         About a minute ago   Up About a minute
$TARGET_REGISTRY/nirmata/kafka-single:latest           About a minute ago   Up About a minute
$TARGET_REGISTRY/nirmata/zookeeper-single:latest       About a minute ago   Up About a minute

In case something goes wrong or if you need to change some of the configuration parameters, you can remove all the services and re-do the installation. To remove all the Nirmata shared services you can execute:

./nirmata-pe.sh remove –-backend