Setting up a cloud - a bit lost what to do next

(Denis ) #1


I have installed the opennebula front-end and the opennebula node (KVM). Everything up to now is working fine but the problem now is I am a bit lost what to do next so that I can start using opennebula. The more I read the documentation less I understand what I need to do.

So I have completed these steps in the documentation:

What would the proper procedure be or should I say what should the next steps be so that I can launch a small private cloud. And if possible give some hints or examples on how to do it.

The front-end and the opennebula-node are both installed on the same computer. And for the server I am using Ubuntu 16.04.1 LTS

I am a complete beginner when it comes to this sort of things.

Thanks for the help.

(Juan Jose Montiel Cano) #2

Hi DenniMass!

Can you give more details of what commands you used so far?


(Kristian Feldsam) #3

Hello DenniMass,

you should go throught Operation guide where are explained how to provision VM, what are VM templates etc…

Basically, you have to setup Network, them create VM template + Image and install OS and contexualization into it. But for start, you can download prepared VM Template + Image from Marketplace.

Them you instantiate VM from VM template.

All info is in “Operation guide”

(Denis ) #4

Hi Juan!

So far I have used commands that are part of the installation of the front-end and KVM node

  1. wget -q -O- | apt-key add -

  2. apt-get update and # apt-get install opennebula opennebula-sunstone opennebula-gate opennebula-flow

  3. /usr/share/one/install_gems

  4. systemctl start opennebula and systemctl start opennebula-sunstone

  5. sudo apt-get install opennebula-node

  6. sudo service libvirt-bin restart

  7. $ ssh-keyscan … >> /var/lib/one/.ssh/known_hosts
  8. $ scp -rp /var/lib/one/.ssh :/var/lib/one/

I added a host through sunstone and verified my installation by downloading the ttylinux-kvm VM and instantiated it.

This is as far as I got. I have read the operation guide but I can’t make heads and tails of it no matter how many times I read it. So I would realy appreciate a little bit of help on this part.


Poslano iz programa Pošta za Windows 10

Od: Juan Jose Montiel Cano
Poslano: sreda, 27. september 2017 11:18
Zadeva: [OpenNebula Community] [Support] Setting up a cloud - a bit lost whatto do next

juanmont Juan Jose Montiel Cano
September 27
Hi DenniMass!
Can you give more details of what commands you used so far?

Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.

(Juan Jose Montiel Cano) #5

Firstly if you want to check if opennebula is running, you can run this command:
oneuser list

1. If everything is right, you need to create a kvm host. You can create this host from Sunstone or from CLI with command onehost create <hostname> [<file>]
NOTE: The host name should be define into /etc/hosts

2. When Host has the state “ON”, you can proceed to download an app from our Marketplace, this Marketplace is in Sunstone->storage->apps.

3. Now you can show the new Template in template section in sunstone.

I hope these instructions will help you to start working with opennebula.


(Denis ) #6

Thanks for all the help on my previous questions.

No I have another:

[one.template.instantiate] error allocating a new virtual machine template. token set, but onegate endpoint was not defined in oned.conf.

How do I set this onegate endpoint. I tried one time and messed things up and had a bit of trouble fixing my mistake. The guide says that I have to do this:

Before your VMs can communicate with OneGate, you need to edit /etc/one/oned.conf and set the OneGate endpoint. But I have trouble finding where in the file I need to set it.


One more do I use my server IP or something else (front-end and KVM node are on the same server). In the guide this is written:

ONEGATE_ENDPOINT = “ do I a replace this IP with the IP of my server.

Hope someone can help.


In the past there used to be good quickstart guides focusing on the CLI like this one It is still mostly valid (some of the onevnet options have changed) and will help you getting started. The new opennebula documentation focuses much more on the GUI side, but I keep an up-to-date description focusing on the CLI based on the old opennebula tutorials here