# KVM Node installation

**URL:** <https://forum.opennebula.io/t/kvm-node-installation/4665>\
**Category:** Product Support\
**Created:** [July 26, 2017, 4:17pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665 "2017-07-26T16:17:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DenniMass](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@DenniMass](https://forum.opennebula.io/u/DenniMass)\
**Post date:** [July 26, 2017, 4:17pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665/1 "2017-07-26T16:17:59Z")

</div>

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.  
…

---

<div class="post-metadata">

**Author:** ![dclavijo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dclavijo/32/5265_2.png) [@dclavijo](https://forum.opennebula.io/u/dclavijo)\
**Post date:** [July 26, 2017, 4:24pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665/2 "2017-07-26T16:24:55Z")

</div>

install opennebula-node then exec ssh-keyscan. Regarding the names you can use ips.

---

<div class="post-metadata">

**Author:** ![DenniMass](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@DenniMass](https://forum.opennebula.io/u/DenniMass)\
**Post date:** [July 26, 2017, 4:28pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665/3 "2017-07-26T16:28:09Z")

</div>

I figured out that I can ips and for the front end there is no problem , the problems are those nodes beacuse I have no clue how to get ips for them

---

<div class="post-metadata">

**Author:** ![dclavijo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dclavijo/32/5265_2.png) [@dclavijo](https://forum.opennebula.io/u/dclavijo)\
**Post date:** [July 26, 2017, 5:20pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665/4 "2017-07-26T17:20:16Z")

</div>

> [@DenniMass](#):
>
> I have no clue how to get ips for them

What do you mean by that

---

<div class="post-metadata">

**Author:** ![DenniMass](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@DenniMass](https://forum.opennebula.io/u/DenniMass)\
**Post date:** [July 26, 2017, 5:54pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665/5 "2017-07-26T17:54:01Z")

</div>

Never minde I figured things out. Just needed some time to cool off and  
think. Sometimes I need a little more time before I figure things out.

1. jul. 2017 19:20 je oseba “Daniel Clavijo Coca” \<  
[opennebula@discoursemail.com](mailto:opennebula@discoursemail.com)\> napisala:

---

<div class="post-metadata">

**Author:** ![honesta](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@honesta](https://forum.opennebula.io/u/honesta)\
**Post date:** [July 18, 2018, 12:12pm UTC](https://forum.opennebula.io/t/kvm-node-installation/4665/6 "2018-07-18T12:12:29Z")

</div>

I am totally new to the cloud concept so please take my advice with a grain of salt but…  
I never configured anything based on IPs. It is really quick to configure a DNS and use FQDN, as the matter of fact DNS is the first server in all my stacks.

I usually install the host on Ubuntu 16 (only because thats what I am most familiar with), and install Webmin right away.  
Then I disable NetworkManager so I can manage the network again via Webmin.  
Then I install Wok/Kimchi to make some KVM nodes quickly, and on those I install the rest - DNS, DHCP, NFS and so on - so I can model and test a cluster.

I am not a Linux expert and without Webmin I really have a hard time but - Webmin has some very nice features, namely the DNS and DHCP management, Webmin Server Index and Clustering… Not a replacement for Ansible and other config managers but it is very user friendly. So again, I create a DNS zone like opennebula.local and from then on I do not use IPs at all.
