One server - "Controller machine" where the ansible playbook will run (other servers should be accissible from this host with ansible(root user))
3 servers as "ansible hosts"
-One server - "Controller machine" where the ansible playbook will run (other servers should be accissible from this host with ansible(root user))
-3 servers as "ansible hosts"
2. configure inventories_cluster.ini file:
Put IP addresses or DNS Hostnames for three ansible hosts in the soctoolshosts section(hosts can be more then three)
Put one host/ip(one of the host/ip from the soctoolshosts section. it sets where(in which host) to run each container) in the following hostgroups:
- cassandrahost
- cortexhost
- haproxyhost
- keycloakhost
- odfekibanahost
- misphost
- mysqlhost
- thehivehost
- zookeeperhost
Put two hosts/ips(two of the hosts/ips from the soctoolshosts section. it sets where(in which host) to run each container) in the following hostgroup:
- odfehosts
Put three hosts/ips(two of the hosts/ips from the soctoolshosts section. it sets where(in which host) to run each container) in the following hostgroup:
- nifihosts
P.S.: example inventories_cluster.ini file is: inventories_cluster.example
-Put IP addresses or DNS Hostnames for three ansible hosts in the soctoolshosts section(hosts can be more then three)
-Put one host/ip(one of the host/ip from the soctoolshosts section. it sets where(in which host) to run each container) in the following hostgroups:
- cassandrahost
- cortexhost
- haproxyhost
- keycloakhost
- odfekibanahost
- misphost
- mysqlhost
- thehivehost
- zookeeperhost
-Put two hosts/ips(two of the hosts/ips from the soctoolshosts section. it sets where(in which host) to run each container) in the following hostgroup:
- odfehosts
-Put three hosts/ips(two of the hosts/ips from the soctoolshosts section. it sets where(in which host) to run each container) in the following hostgroup:
- nifihosts
P.S.: example inventories_cluster.ini file is: inventories_cluster.example
3. fill the following variables in the group_vars/all/main.yml file
"soctoolsproxy" - FQDN which will be pointed to the "soctoolsproxy_vip" IP address
"soctoolsproxy_vip" - One avalable IP address from the same subnet as soctools servers
"soctoolsproxy_vip_netmask" - Subnet mask in CIDR format, for example "26"
-"soctoolsproxy" - FQDN which will be pointed to the "soctoolsproxy_vip" IP address
-"soctoolsproxy_vip" - One avalable IP address from the same subnet as soctools servers
-"soctoolsproxy_vip_netmask" - Subnet mask in CIDR format, for example "26"
4. Users can be configured in the file group_vars/all/users.yml