Deployer-Nodes installation methodology

(Deployer-Nodes installation methodology)

We start from the point of having performed the prerequisite steps on the host. We return to establish SSH connection with the host and proceed with the installation from our deployer.

Note

Currently we can set as deployer the Ubuntu-18.04 or Debian 10 OS

Assuming that we have the repository downloaded within any of the mentioned OS, we must position ourselves on the directory where the installer and inventory reside. Then choose a version of the App to display:

cd ./ominicontacto/deploy/ansible
git checkout release-V.V.V

Where V.V.V is the combination associated with the App version. Using the Tab key, all available versions are obtained.

_images/install_releases_deployer.png

Once the version to install is selected, proceed with the configuration of Inventory file and subsequent execution of the installer.

Important

Before continuing, make sure that you have configured your inventory file, according to the type of installation and architecture to be deployed.

OMniLeads deployment on Docker containers

(OMniLeads deployment on Docker containers)

You need to work in the [prodenv-aio] section of the inventory file, as explained there. Then all parameters and variables must be adjusted.

[prodenv-aio]
#localhost ansible_connection=local ansible_user=root #(this line is for self-hosted installation)
201.216.40.210 ansible_ssh_port=22 ansible_user=root #(this line is for node-host installation)

Note

Note that for remote installation, the line with the parameter ansible_ssh_port = 22 (where 22 is the default port, but it is normal that another port is used as well) within the [prodenv-aio] section should be used.

Then all parameters and variables must be adjusted. Once the inventory file has been adjusted, the installation script is executed.

Note

Have at hand the root password of the host to deploy (remote), since it will be requested the first time that the deployer installs the App.

sudo ./deploy.sh -i
_images/install_deploy_remote_aio_exec.png

OMniLeads deployment on Docker containers

(OMniLeads deployment on Docker containers)

You need to work in the [prodenv-conatainer] section of the inventory file, as explained there. Then all parameters and variables must be adjusted.

[prodenv-container]
#localhost ansible_connection=local ansible_user=root #(this line is for self-hosted installation)
190.22.40.72 ansible_ssh_port=22 ansible_user=root #(this line is for node-host installation, replace X.X.X.X with the IP of Docker Host)

Note

Note that for remote installation, the line with the parameter ansible_ssh_port = 22 (where 22 is the default port, but it is normal that another port is used as well) within the [prodenv-aio] section should be used.

Then all parameters and variables must be adjusted. Once the inventory file has been adjusted, the installation script is executed.

Note

Have at hand the root password of the host to deploy (remote), since it will be requested the first time that the deployer installs the App.

sudo ./deploy.sh --docker-deploy
_images/install_deploy_remote_docker_exec.png

Deployment complete

After a few minutes, the installation process ends with a screen showing the successful completion of the procedure.

_images/install_ok.png

Important

After installation is complete, apply a host reboot.

You can proceed with the First access to OMniLeads