Step 3 - Configure hosts file and download software
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.
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
|
Configure the following IP addresses:
If you are setting up a POC environment, then all the components: ASE, ABS, MongoDB, Dashboard, WebGUI, and ElasticSearch can share a single IP address.
For production deployments:
|
||||
|
Configure the path where you would want the PingIntelligence components to be installed. The default value is
|
||||
|
When set to |
||||
|
Set it to If you install PingIntelligence components as a service, the components are automatically restarted when the system is rebooted. Check the |
||||
|
Set it to
|
||||
|
Set to
|
||||
|
Set the # When kafka is set to false in config/hosts, this passoword for jks will be used #This will be used via dashboard dataengine module too. kafka_custom_truststore_password: custom
|
||||
|
Kafka download URL. A default URL is populated in the hosts file.
|
||||
|
The automated script requires
|
||||
|
MongoDB download URL. A default URL is populated in the
|
||||
|
Elasticsearch download URL. A default URL is populated in the
|
||||
|
Timezone setting for PingIntelligence components. It will set the timezone settings of ASE, ABS, and PingIntelligence for APIs Dashboard. Allowed values are |
||||
|
Ansible |
||||
|
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] 10.96.6.41 10.96.6.111 [abs] 10.96.6.75 10.96.6.128 [api_publishing_service] 10.96.6.73 [abs_reporting_node] 10.96.6.73 [kafka] 10.96.6.63 zookeeper_id=1 10.96.6.160 zookeeper_id=2 10.96.6.254 zookeeper_id=3 [mongodb] 10.96.6.243 mongo_port=27017 10.96.6.236 mongo_port=27017 10.96.6.80 mongo_port=27017 [dataengine] 10.96.6.73 [elasticsearch] 10.96.6.10 [webgui] 10.96.6.73 [all:vars] # Installation Path installation_path="/home/ec2-user" # install_as_service set to true will start ASE, ABS, Dashboard, Elasticsearch # and kafka 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 kafka installation that can be used # set it to false if kafka need not be installed install_kafka=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-7.13.4-linux-x86_64.tar.gz' kafka_download_url='https://archive.apache.org/dist/kafka/2.5.0/kafka_2.12-2.5.0.tgz' # 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 wish to use SSH connection with password. # If you do not use this option, then the SSH user uses password-less authentication. #ansible_ssh_pass=