Verify your Installation¶
This chapter ends with this optional section, where you will be able to test your cloud by launching a virtual machine and test that everything is working correctly.
You should only follow the specific subsection for your hypervisor.
KVM/LXD based Cloud Verification¶
The goal of this subsection is to launch a small Virtual Machine, in this case a TTYLinux (which is a very small Virtual Machine just for testing purposes).
To complete this section, you must have network connectivity to the Internet from the Front-end, in order to import an appliance from http://marketplace.opennebula.systems .
Step 1. Check that the Hosts are on¶
The Hosts that you have registered should be in ON status.
Step 2. Import an appliance from the MarketPlace.¶
We need to add an Image to our Cloud. To do so we can do so by navigating to Storage -> Apps in the left side menu (1). You will see a list of Appliances, you can filter by
tty kvm (2) in order to find the one we are going to use in this guide. After that select it (3) and click to cloud button (4) in order to import it.
A dialog with the information of the appliance you have selected will pop up. You will need to select the datastore under the “Select the Datastore to store the resource” (1) and then click on the “Download” button (2)
Navigate now to the Storage -> Images tab and refresh until the Status of the Image switches to
Step 3. Instantiate a VM¶
Navigate to Templates -> VMs, then select the
ttylinux - kvm template that has been created and click on the “Instantiate”.
In this dialog simply click on the “Instantiate” button.
Step 4. Test VNC access¶
Navigate to Instances -> VMs. You will see that after a while the VM switches to Status
RUNNING (you might need to click on the refresh button). Once it does, you can click on the VNC icon (at the right side of the image below).
If the VM fails, click on the VM and then in the
Log tab to see why it failed. Alternatively, you can look at the log file
Step 5. Adding Network connectivity to your VM¶
As you might have noticed, this VM does not have networking yet, this is because it depends a lot in your network technology. You would need to follow these steps in order to add Networking to the template.
- Read the Networking chapter to choose a network technology, unless you have chosen to use the dummy driver explained in the node installation section and you have configured the bridges properly.
- Create a new Network in the Network -> Virtual Networks dialog, and fill in the details of your network: like the Bridge, or the Physical Device, the IP ranges, etc.
- Select the
ttylinux - kvmtemplate and update it. In the Network section of the template, select the network that you created in the previous step.
- Instantiate and connect to the VM.
vCenter based Cloud Verification¶
In order to verify the correct installation of your OpenNebula cloud, follow the next steps. The following assumes that Sunstone is up and running, as explained in the front-end installation Section. To access Sunstone, point your browser to
Step 1. Import a Datastore¶
Your vCenter VM templates use virtual disks and those virtual disks are stored in datastores. You must import into OpenNebula those vcenter datastores that contains the virtual disks.
Follow the steps to import datastores as described in the vCenter Import Datastores Section
Step 2. Import a VM Template¶
You will need a VM Template defined in vCenter, and then import it using the steps described in the vCenter Import Templates Section.
Step 3. Instantiate the VM Template¶
You can easily instantiate the template to create a new VM from it using Sunstone. Proceed to the Templates tab of the left side menu, VMs Section, select the imported template and click on the Instantiate button.
Step 4. Check the VM is Running¶
The scheduler should place the VM in the vCenter cluster imported as part of the vCenter Node Installation Section.
After a few minutes (depending on the size of the disks defined by the VM Template), the state of the VM should be
RUNNING. You can check the process in Sunstone in the Instances tab of the left side menu, VMs Section.
Once the VM is running, click on the VNC blue icon, and if you can see a console to the VM, congratulations! You have a fully functional OpenNebula cloud.
The next step would be to further configure the OpenNebula cloud to suits your needs. You can learn more in the VMware Infrastructure Setup guide.
After this chapter, you are ready to start using your cloud or you could configure more components:
- Authenticaton. (Optional) For integrating OpenNebula with LDAP/AD, or securing it further with other authentication technologies.
- Sunstone. OpenNebula GUI should working and accessible at this stage, but by reading this guide you will learn about specific enhanced configurations for Sunstone.
If your cloud is KVM/LXD based you should also follow:
Otherwise, if it’s VMware based:
- Head over to the VMware Infrastructure Setup chapter.