Marc Rufer bio photo

Marc Rufer

Software engineer
@d-fens GmbH

Twitter LinkedIn Github Stackoverflow
RSS Feed

Run deltacloud on a VirtualBox-VM

Marc Rufer 13 Jan 2015 Apache deltacloud CIMI ruby

For getting in touch with the Cloud Infrastructure Management Interface (CIMI) I installed the deltacloud server on a VirtualBox-VM.

Deltacloud is an apache open source project, which provides a REST-based API for accessing several different cloud platforms. Deltacloud supports three different frontends: classic Deltacloud, DMTF CIMI and EC2.

The following section describes the installation of deltacloud on a VirtualBox-VM step by step

  1. Download and install VirtualBox
  2. Download an ubuntu image
  3. Create a new VM in VirtualBox
    1. Click new
    2. Type: Linux; Version: Ubuntu (64bit)
    3. Memory: 1024MB
    4. Click through the wizard without changing the default settings
  4. Modify the machine settings in VirtualBox
    1. Select your VM and press Ctrl + s
    2. Go to Network
    3. Choose Adapter 2
    4. Select Host-only Adapter
  5. Start the VM. While first startup you will be asked to reference the previously downloaded ubuntu image.
  6. Install ruby and generate symlinks by executing following commands in the terminal

    sudo apt-get install ruby1.9.1-full

    sudo ln -s /usr/bin/ruby1.9.1 /usr/bin/ruby

    sudo ln -s /usr/bin/gem1.9.1 /usr/bin/gem

  7. Check the installation

    ruby -v

    gem -v

  8. Install the following libraries, which are necessary to run deltacloud

    sudo apt-get install g++

    sudo apt-get install libxml++2.6-dev libxml2-dev

    sudo apt-get install libxslt1.1 libxslt-dev

    sudo apt-get install sqlite libsqlite3-dev

  9. Install gem dependencies

    sudo gem install thin sinatra rack-accept rest-client sinatra-content-for nokogiri
  10. Fetch and install the deltacloud dependencies

    sudo gem fetch deltacloud-core

    sudo gem fetch deltacloud-client

    sudo gem install deltacloud-core-<VERSION>.gem

    sudo gem install deltacloud-client-<VERSION>.gem

    If the installation of deltacloud-core throws an error, install deltacloud-client and afterwards install deltacloud-core again

  11. Create a symlink for the launcher

      sudo ln -s /var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/bin/deltacloudd /usr/bin/deltacloudd
  12. Start the deltacloud server by executing the following command

      deltacloudd -i mock -p <PORT> -r <IP-OF-THE-VM> -f cimi

    The IP-OF-THE-VM can be found by executing ifconfig (see inet addr of eth1)

The deltacloud server is now accessible under http://IP-OF-THE-HOST-ONLY-ADAPTER:PORT/

comments powered by Disqus


HOWTO Access Azure File Share in PowerShell Script executed by a Scheduled Task BUG "Task Scheduler service is not available" Error, if specifying Network Connection Condition HOWTO Sync OneDrive on Server even if Windows User not logged in HOWTO Access Microsoft Access Database with PowerShell Get NetworkCredential from PSCredential splits Username into Username and Domain HOWTO Create LocalDB File (.mdf) manually in Visual Studio 2015 HOWTO Set Cookie Header on DefaultRequestHeaders of HttpClient HOWTO Set up PowerShell Remote Session Configuration HOWTO Analyze PowerShell Scripts with PSScriptAnalyzer HOWTO Sign PDF with SuisseID NoBrainer PUT/PATCH/MERGE with OData Service Client Apply Commit from one Repository to another GitHub Repository creation with PowerShell HOWTO Sign PowerShell Script with SuisseID Swissunihockey game schedule PDF generator HOWTO Maven Release on JetBrains TeamCity Limitations when running Activiti in H2 Embedded Mode HOWTO Pylint Integration in IntelliJ 14 HOWTO Install Windows 10 IoT Core on Raspberry PI 2 from a VM First steps with Dropwizard Allman code style for IntelliJ First steps with Flyway IntelliJ - Setup custom inspection profiles Configuration properties meta-data support in IntelliJ AMQP Integration with spring integration OCA Java SE 7 Programmer I Certification Guide Swissunihockey key matcher Swisscom SMS-API-Client Some hints concerning logging with Log4j IFTTT A brilliant service Run deltacloud on a VirtualBox-VM Project specific maven settings in IntelliJ AngularJS Javascript for beginners Liferay in Action