Installation, update, and removal of KUMA components is performed from the folder containing the unpacked installer by using the Ansible tool and the user-created inventory file containing a list of the hosts of KUMA components and other parameters. The inventory file is in the YAML format.
To create an inventory file:
cd kuma-ansible-installer
cp distributed.inventory.yml.template distributed.inventory.yml
deploy_example_services: true
Demonstration services can only be created during the initial installation of KUMA. When updating the system using the same inventory file, no demonstration services will be created.
ip (0.0.0.0)
parameter values with the actual IP addresses.generate_etc_hosts: true
When using this parameter, the installer will automatically add the IP addresses of the machines from the inventory file to the /etc/hosts files on the machines where KUMA components are installed.
ansible_connection: ssh
ip (0.0.0.0)
with the actual IP addresses.The hosts are specified in the following sections of the inventory file:
core
is the section for specifying the host and IP address of the target machine on which KUMA Core will be installed. You may only specify one host in this section.collector
is the section for specifying the host and IP address of the target machine on which the collector will be installed. You may specify one of more hosts in this section.correlator
is the section for specifying the host and IP address of the target machine on which the correlator will be installed. You may specify one of more hosts in this section.storage
is the section for specifying the hosts and IP addresses of the target machines on which storage components will be installed. You may specify one of more hosts in this section.Storage components: clusters, shards, replicas, and keepers.
Each machine in the storage
section can have the following parameter combinations:
shard
+ replica
+ keeper
shard
+ replica
keeper
If the shard
and replica
parameters are specified, the machine is a part of a cluster and helps accumulate and search for normalized KUMA events. If the keeper
parameter is additionally specified, the machine also helps coordinate data replication at the cluster-wide level.
If only keeper
is specified, the machine will not accumulate normalized events, but it will participate in coordinating data replication at the cluster-wide level. The keeper parameter values must be unique.
If several replicas are defined within the same shard, the value of the replica parameter must be unique within this shard.
The inventory file is created. It can be used to install KUMA.
It is recommended that you not remove the inventory file after installing KUMA: