The hosts file contains the various parameters to be configured for installation of PingIntelligence components. Complete the following steps to configure the hosts file.

The configuration file has parameters where link to download third-party component is configured. If the Management machine does not have internet access, download the third-party components manually.
Note: Make sure that the entire deployment is homogenous with respect to the provisioned machines. All the PingIntelligence components should either be installed on an RHEL machine or on Ubuntu machines.
Configure the following fields in the config/hosts file:
Variable Description
IP addresses
  • [ase]
  • [abs]
  • [mongodb]
  • [dashboard]
  • [elasticsearch]
  • [kibana]
  • [abs_reporting_node]
  • [webgui]
Configure the following IP addresses:
  • [ase] - ASE IP address
  • [abs] - ABS IP address
  • [mongodb] - MongoDB IP address and port. Providing the port number is mandatory.
  • [dashboard] - Dashboard IP address
  • [elasticsearch] - Elasticsearch IP address
  • [kibana] - Kibana IP address
  • [abs_reporting_node] - ABS reporting node IP address
    Important: The IP address for [abs] and[abs_reporting_node] should be different. If you are installing all the components on a single host, leave the[abs_reporting_node] field blank.
  • [webgui] - Web GUI IP address. Web GUI and dashboard engine are part of the same package, however, you can install them on separate machines. If you want to install Web GUI and dashboard engine in the same machine, configure the same IP address in [dashboard] and [webgui]
If you are setting up a POC environment, then all the components: ASE, ABS, MongoDB, Dashboard, WebGUI, ElasticSearch, and Kibana can share a single IP address.
Note: Leave the abs_reporting_node field blank, when all the components have the same IP address..
For production deployments:
  • ASE, ABS AI Engine, and MongoDB should be deployed on separate servers for redundancy.
  • Dashboard, WebGUI, Kibana, and ABS Reporting node (optional) can be deployed on a single server.
  • ElasticSearch should be deployed on a standalone server.
installation_path Configure the path where you would want the PingIntelligence components to be installed. The default value is /home/ec2-user.

Important: The path that you provide in theinstallation_path variable must exist on the machine. The automation script does not create this path. If you are installing all the PingIntelligence components on different machines, then manually create the same path on each machine before running the automation script.
install_with_sudo When set to false, the script installs PingIntelligence for a normal user. When set to true, the script installs PingIntelligence as a root user if the port number of ports configured are less than 1024.
install_as_service

Set it to true if you want to install PingIntelligence components as a service. To install PingIntelligence components, you must be a root user. Set install_with_sudo as true.

If you install PingIntelligence components as a service, the components are automatically restarted when the system is rebooted. Check the ansible.log file to verify starting PingIntelligence components as a service.

install_mongo Set it to true if you want automated deployment to install MongoDB. Set it to false if you want to use an existing MongoDB installation. Default value is true.
Important: Configure the MongoDB IP address and port number even if install_mongo is set to false. MongoDB details are required to configure abs.properties file.
install_elasticsearch Set to true if you want automated deployment to install Elasticsearch. Set it to false if you want to use an existing Elasticsearch installation. Default value is true. Note the following points:
  • If you have set the option as true, provide an IP address in the hosts file for Elasticsearch. Leave the IP address blank in the hosts file, if you configured the option as false.
  • If you have configured the variable as false, configure the URL of your existing Elasticsearch in dashboard-defaults.yml file. For more information, see Change Dashboard default settings.
Note: If you are using an existing Elasticsearch installation is an OSS package, make sure that Kibana 6.8.1 OSS package is available in external directory.
jdk11_download_url The automated script requires OpenJDK 11.0.2.

Note: If your machine does not have internet access, then download the OpenJDK 11.0.2 and save the file as openjdk11.tar.gz in externaldirectory.
mongodb_download_url MongoDB download URL. A default URL is populated in the hosts file.

Note:
  1. The default URL is RHEL version of MongoDB. If you are installing on Ubuntu, configure the MongoDB Ubuntu download URL.
  2. If your machine does not have internet access, then download the MongoDB 4.2.0 and save the file as mongodb.tgz in externaldirectory.
elasticsearch_download_url Elasticsearch download URL. A default URL is populated in the hosts file.

Note: If your machine does not have internet access, then download the Elasticsearch 6.8.1 and save the file as elasticsearch-6.8.1.tar.gz in externaldirectory.
timezone Timezone setting for PingIntelligence components. It will set the timezone settings of ASE, ABS, and PingIntelligence for APIs Dashboard. Allowed values are local or utc. The default value is utc.
kibana_download_url Kibana download URL. A default URL is populated in the hosts file.
Note: If your machine does not have internet access, then download the Kibana 6.8.1 and save the file as kibana-6.8.1.tar.gz in externaldirectory.
ansible_ssh_user Ansible ssh user. The default value is ec2-user.
ansible_ssh_pass Configure the ansible SSH user's password if you want to use password to authenticate with the host machines.
Note: If you do not configure password, SSH use establishes a password-less authenticated connection.
Add Ansible username in the ansible_ssh_user field. The default value is ec2-user.
[ase]
172.16.40.81

[abs]
172.16.40.81

[abs_reporting_node]


[mongodb]
172.16.40.81 mongo_port=27017

[dashboard]
172.16.40.81

[elasticsearch]
172.16.40.81

[kibana]
172.16.40.81

[webgui]
172.16.40.81

[all:vars]

# Installation Path
installation_path="/home/ec2-user"

# install_as_service set to true will start ase, abs, aad, dashboard, elasticsearch
# and kibana as systemd services.
install_as_service=true

# configure install_with_sudo to true if any of the ports used for ASE,
# ABS, Dashboard are <1024. That component will be started using sudo.
# when install_as_service is true, install_with_sudo should be set to true.
install_with_sudo=true

# this option can be used if there is an existing mongo installation that can be used
# set it to false if mongodb need not be installed
install_mongo=true

# this option can be used if there is an existing elasticsearch installation that can be used.
# set it to false if elasticsearch need not be installed.
# when install_elasticsearch is set to false, remove any nodes under elasticsearch section and
# configure elasticsearch_url in config/dashboard-defaults.yml.
install_elasticsearch=true

# timezone setting. It will set timezone settings of ASE, ABS and Dashboard
# allowed values: local, utc
timezone=utc

# Download URLs for external packages
jdk11_download_url='https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz'
mongodb_download_url='https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.0.tgz'
elasticsearch_download_url='https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.1.tar.gz'
kibana_download_url='https://artifacts.elastic.co/downloads/kibana/kibana-6.8.1-linux-x86_64.tar.gz'

# Ansible SSH user to access host machines
ansible_ssh_user=ec2-user
# Uncomment the ansible_ssh_pass line and configure password of ansible_ssh_user if you want to use SSH connection with password.
# If you do not use this option, then the SSH user uses password-less authentication.
#ansible_ssh_pass=