To prepare the test machine for the KUMA installation:
sudo ssh-keygen -f /root/.ssh/id_rsa -N "" -C kuma-ansible-installer
If SSH root access is blocked on the test machine, generate an SSH key for authentication on the SSH servers of the target machines using a user from the sudo group:
sudo ssh-keygen -f /home/<
name of the user from sudo group
>/.ssh/id_rsa -N "" -C kuma-ansible-installer
As a result, the key is generated and saved in the user's home directory. You should specify the full path to the key in the inventory file in the value of the ansible_ssh_private_key_file parameter so that the key is available during installation.
sudo ssh-copy-id -i /root/.ssh/id_rsa root@<
host name of the test machine
>
If SSH root access is blocked on the test machine and you want to use the SSH key from the home directory of the sudo group user, make sure that the test machine has network access to all target machines by host name and copy the SSH key to each target machine using the following command:
sudo ssh-copy-id -i /home/<
name of a user in the sudo group
>/.ssh/id_rsa root@<
host name of the test machine
>
kuma-ansible-installer-ha-<
version number
> .tar.gz
installer archive to the test machine and unpack it using the following command:sudo tar -xpf kuma-ansible-installer-ha-<
version number
>.tar.gz
The test machine is ready for the KUMA installation.
Page top