Sandbox Testdrive


The VM is a CentOS 7 with the OpenNebula 5.0 packages installed and configured, and ready to also act as cloud host to execute virtual machines. When the VM starts all the main services are started:

    • OpenNebula Core
    • Scheduler
    • Sunstone GUI with Admin View for administrators and Cloud View for Cloud consumers

1. Try the Admin View in the Sunstone GUI

The first thing we’re going to do is to log in as oneadmin to take a look at the Admin View of Sunstone, which has more options than the other Sunstone views for a regular users.

To login to Sunstone open your browser at http://<< ip >>:9869

Read the specific guide for your Sandbox: VirtualBox or AWS to know what IP to use.

The login information is:

  • Login: oneadmin
  • Password: opennebula

Check the “Keep me logged in” option to avoid problems with clock settings in the VM.

Take a look at all the already bootstrapped resources in the Sandbox.

Screen Shot 2014-08-07 at 17.22.06

Create a new user under the System/Users panel.

2. Try the Cloud View in the Sunstone GUI

Now logout and log in as the user we created earlier. You will access to the Cloud View of Sunstone.

Create a new Virtual Machine by clicking the ‘+ Create’ button. Select the only available template and click customize and select the Cloud network.

After clicking create you will be taken to the dashboard where you can see your running VMs.

Screen Shot 2014-08-07 at 17.33.35

You can click in your created one to go to the VM individual dashboard, to access it through the Console, Save its state, Reboot, etc:

Screen Shot 2014-08-07 at 18.29.58

Clicking in Console will let you login into the VM. The credentials are:

  • Login: root
  • Password: password

With the oneadmin role you can customize what your cloud users cand do and see.

3. Quick Overview of the CLI Interface

Read the specific guide for your Sandbox: VirtualBox or AWS to know how to access the Sandbox terminal, either through a console or through ssh.OpenNebula runs as the oneadmin user, and the main administrator should run commands as that user, therefore the first thing you need to do is to switch to oneadmin:

$ su - oneadmin

From the oneadmin account you can see all the already bootstrapped resources:

# one-sandbox is configured as a worker node and monitored
$ onehost list

# There is one network created
$ onevnet list

# You can see the leases and the specific configuration of the network
$ onevnet show 0

# A TTYLinux image has been created
$ oneimage list

# A Virtual Machine template is registered
$ onetemplate list

# You can see the template configuration if further detail
$ onetemplate show 0

4. Further Exploration

This is just a quick overview to get you started with OpenNebula, you can also try the VDC Quick Start Guide with this sandbox. If you liked it, you may want to check the OpenNebula documentation for more information on how to deploy OpenNebula in your infrastructure and a detailed version of the OpenNebula features

5. Troubleshooting

Logs are located in /var/log/one. Be sure to check that in order to troubleshoot. If you need assistance, send us an email to support.