Posts Tagged ‘KVM’

Public, Private, Hybrid Cloud – OpenNebula

July 5th, 2010 jmguilla No comments


You want to build your on premise cloud?

OpenNebula may be the solution. Like explained in this post for EUCALYPTUS, OpenNebula is a tool that provides its users with the capability of building their own cloud. It currently handles Xen, KVM and VMware based environments and also uses Deltacloud for dynamic provisioning on external clouds such as EC2 or ElasticHosts. It also features new local and Cloud interfaces, such as libvirtEC2 Query API and OGF OCCI API, and support for multiple users, image transferring and cloning, virtual network management and service contextualization.


Like for EUCALYPTUS, installation steps are not straight forward. Many dependencies are required ( for server side bellow ):

This machine will act as the OpenNebula server and therefore needs to have installed the following software:

  • ruby >= 1.8.6 and < 1.9.0
  • sqlite3 >= 3.5.2
  • xmlrpc-c >= 1.06
  • openssl >= 0.9
  • ssh

Additionally, to build OpenNebula from source you neeed:

  • Development versions of the sqlite3xmlrpc-c and openssl packages, if your distribution does not install them with the libraries.
  • scons >= 0.97
  • g++ >= 4
  • flex >= 2.5 (optional, only needed to rebuild the parsers)
  • bison >= 2.3 (optional, only needed to rebuild the parsers)
Once you get rid of that, you have to go through a huge configuration step ( see the documentation to have an idea ;) ).

First Use

Once you get rid of the hell of editing “etc/oned.conf” and the virtual image to make it “context aware” you can enjoy your newly created on premise cloud. The commands are really easy to use: onehost ( open nebula express host ), onevm, onevnet… to manage hosts, virtual machines, virtual network… I have not been playing with this tool for a long time, and I am not supposed to, but so far main boring thing (IMO, you are not obliged to share the same point of view…) is that the way we must proceed to configure virtual machines’ network access… You must create as many virtual machine’s configuration file as the number of virtual machine you want to run just to set vnc access for each one, and try to deal with the network configuration for your cloud. It has been two days now that I am trying to get 4 virtual machines running on top of KVM with working network unsuccessfully… I hope once I’ll get through this, it will be easier to scale to an cloud of million VMs :D !!!

OpenNebula vs. EUCALYPTUS

Two tools to build your on premise cloud, totally private, public or hybrid, both can be managed with EC2 like tools and can dynamically provision EC2 ami and are open source… These projects are pretty similar, a first advantage goes to OpenNebula, way more easier to install & setup and the contextualization of the virtual machines… EUCALYPTUS, on the other side, is really difficult to install and to use but offer a Web User Interface, which will make your users happy ( I’m not fond of CLI ;) )… The best you could do would be to try by yourself… But, to be honest, it would rather bet on an integrated solution such as VMware & Citrix offer to build a cloud infrastructure.

Categories: Cloud Tags: , , ,

Public, Private, Hybrid Cloud – Eucalyptus

April 13th, 2010 jmguilla No comments

I have been playing with EUCALYPTUS for some days now, and I must say that the way it allows you to build you own cloud using your private infrastructure is really interesting…

Once you have successfully installed all required dependencies and get through all the setup stuff ( believe me, it is quite painful ), you will be able to provision virtual machines to your users backed by either KVM/Xen hypervisors or EC2 compute cloud.

See the documentation and get started using this tool, I enjoyed it!!!

Categories: Cloud, KVM, Virtualization, Xen Tags: , , ,