The VM has the OpenNebula 5.4 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
- 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
The login information is:
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.
2. Try the Cloud View
With the Admin View you can do anything in OpenNebula, but you don’t want all those options for the final users! Switch to the Cloud View to see how a final user will see OpenNebula:
The Cloud View interface is much simpler and targeted at end users.
Create a new Virtual Machine by clicking the ‘+’ button. Select the only available template and click ‘Create’.
After clicking create you will be taken to the dashboard where you can see your running VMs.
You can click on your VM and manage it: access it through VNC, Save its state, Reboot it, etc:
Clicking on the Console icon will let you login into the VM. The credentials are:
With the oneadmin role you can customize what your cloud users can do and see.
3. Quick Overview of the CLI Interface
oneadminuser, and the main administrator should run commands as that user, therefore the first thing you need to do is to switch to
$ su - oneadmin
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. 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.
Logs are located in
/var/log/one. Be sure to check that in order to troubleshoot. If you need assistance, head out to our forum.