Installation, update, and removal of KUMA components is performed from the directory 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 additional-storage-cluster.inventory.yml.template additional-storage-cluster.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: local
ansible_connection: ssh
storage
section, specify the full names of the domains of the hosts on which you want to install the cluster nodes in the inventory file. If the machines are not registered in the DNS zone of your organization, replace the parameter values ip (0.0.0.0)
with the actual IP addresses.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 create a ClickHouse cluster.
It is recommended that you not remove the inventory file after installing KUMA: