Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The tool is based on a template that is shipped with the deployment package and, based on the answer that the user gives, it will create an inventory to be used with the deployment playbook. It is not mandatory to use this tool, but it is provided as a way to help users with limited knowledge of YAML.

How to use it

From Endpoint Agent 1.3.0 you are required to load ansible-2.9 virtual environment before executing the tool:

Code Block
source /opt/ansible-2.9/venv/bin/activate

Example syntax (from devo-ea-deployer folder):

python3 python tools/cookiecutinvt.py -o inventories/<< output_inventory_name >>.yaml

Info

You can use python3 or python depending on the python version installed on your systemSome images of Amazon Linux 2 come with python3 pre-installed. If python3 is installed, it can be un installed following the instructions here.

Topology questions

The tool will ask the user questions and it will then create an inventory. Below is an example of the questions that will be asked. Note that questions might differ depending on the type of topology that the user wants to create.

...

Redis passwd → REDIS password.

Public endpoint FQDN, do not use IP. If you need connect agents through IP, answer "Y" to the following question [devo-ea-manager] → FQDN for the EA Manager. The endpoint agents will be configured to use this FQDN to connect to the EA Manager.

Do you need that agents connect using different FQDN or IP EA Manager requires a FQDN to work correctly. Additionally, agents can connect to an IP if required. Do you want agents to connect via IP (yes) or FQDN (no)? (Y/N) [N] → Answer “Y” if you need that agents use a different FQDN or an IP to connect to the EA Manager (the FQDN is not reachable, and need to connect via direct Public IP, for example).Public endpoint FQDN/IP, without port, used by agents → FQDN/.

EA Manager FQDN. [devo-ea-manager] → FQDN for the EA Manager. The endpoint agents will be configured to use this FQDN to reachEA Manager only if the answer for the previous question was “N”.

IP used by agents, without portIP to be configured in the agents to reach EA Manager. Public endpoint port, This question is not asked if the agents connect via FQDN.

Port used by agents (1..65536) [8080] → Port to be configured in the agents to reach EA Manager. This question is not asked if the agents connect via FQDN.

Do you want to add devo-ea-manager fqdn associated to manager IP/Host (192.168.104.10) in etc/hosts file of the agents (Y/N) [Y] → Answer “Y” if you want to modify /etc/hosts file in the endpoint agents to connect to the EA Manager. Answer “N” if you are using a public FQDN name and agents can reach it directly via DNS.

...