Skip to content

Installation - Script

Custom application

Before installation, add custom application, to the generic cluster, by simply creating an application package, containing that application and put the result .tar.gz file in the microservice-packages directory. Later on, remember to add it to the cluster managers start parameters (parameter -Dapplications-to-manage).

Make sure, to store all the data/configuration files of the application in the /usr/local/bin/onteon-node-manager/store/drbd/onteon-ha-resource-0 path. This directory (and it's children) are replicated between the two nodes.

Operational Environment

Operational environment installation is focused on preparing the environment for the application environment installation to be run. This phase is responsible for distributing applications files, between the corresponding nodes.

Note

Before running the operational environment script, make sure to configure ops-env-cfg.yaml file (for details see Configuration chapter).

To run operational environment installation, use the following command:

bash create-ops-env.bash

Application Environment

Application environment installation is related to starting the applications and preparing the environment to be ready to use (ready to run the Cluster Manager algorithms).

Note

Before running the application environment script, make sure to configure app-env-cfg.yaml file (for details see Configuration chapter).

To run application environment installation, use the following command:

bash create-app-env.bash

Remove Application Environment

To remove application environment, use the following command:

bash remove-app-env.bash