Hi!
I am setting up opennebula cloud and I have never done anything like this.
So my problem is when I start the KVM Node Installation and I complete the installation the guide says this:
OpenNebula Front-end connects to the hypervisor Hosts using SSH. You must distribute the public key of oneadmin user from all machines to the file /var/lib/one/.ssh/authorized_keys in all the machines. There are many methods to achieve the distribution of the SSH keys, ultimately the administrator should choose a method (the recommendation is to use a configuration management system). In this guide we are going to manually scp the SSH keys.
When the package was installed in the Front-end, an SSH key was generated and the authorized_keys populated. We will sync the id_rsa, id_rsa.pub and authorized_keys from the Front-end to the nodes. Additionally we need to create a known_hosts file and sync it as well to the nodes. To create the known_hosts file, we have to execute this command as user oneadmin in the Front-end with all the node names and the Front-end name as parameters:
ssh-keyscan … >> /var/lib/one/.ssh/known_hosts
Now we need to copy the directory /var/lib/one/.ssh to all the nodes. The easiest way is to set a temporary password to oneadmin in all the hosts and copy the directory from the Front-end:
scp -rp /var/lib/one/.ssh :/var/lib/one/
scp -rp /var/lib/one/.ssh :/var/lib/one/
scp -rp /var/lib/one/.ssh :/var/lib/one/
So my question is how do I find out the names of these nodes or do I need to create them first and the execute the command ssh-keyscan.
I would realy appreciate the help.
…