wiki:GTD_Cloud_One

XEN VM placement engine - OpenNEbula

1. Requirement

  • 1.1 Xen installation
  • 1.2 Required Package Installatiom
    $ sudo aptitude install ruby sqlite3 libsqlite3-0 libsqlite3-dev libsqlite3-ruby \
    libxmlrpc-c3 libxmlrpc-c3-dev scons g++ flex bison
    
    • Package information:
      • ruby: An interpreter of object-oriented scripting language Ruby
      • sqlite3: A command line interface for SQLite 3
      • libxmlrpc-c3: A lightweight RPC library based on XML and HTTP for C and C++
      • scons: A replacement for Make
      • flex: A fast lexical analyzer generator
      • bison: A parser generator that is compatible with YACC


2. OpenNEbula Installation

  • 2.1 OpenNEbula download
    $ tar zxvf one-1.2.0.tar.gz
    $ cd one-1.2.0
    $ scons
    $ sudo mkdir /home/one 
    $ sudo ./install.sh -d /home/one
    
  • 2.2 Verification
    $ ls /home/one
    bin  etc  include  lib  share  var
    


3. OpenNEbula Usage

  • 3.1 Environment Setup
    $ sudo vim /etc/profile
    export ONE_LOCATION=/home/one
    export ONE_XMLRPC=http://localhost:2633/RPC2
    export PATH=$ONE_LOCATION/bin:$PATH
    
  • 3.2 OpenNEbula Startup
    $ sudo ONE_LOCATION/bin/one start
    

4. Problem

  • Ubuntu 8.10 的kernel 2.6.27-9-server 目前只support DomU (no Dom0) 2008/12/10

5. 想法

  • OpenNEbula的控制介面非常簡單明瞭,DRBL是否也可加入類似的介面來監控和管理node。
  • 是否撰寫Web版的OpenNEbula介面,讓外界的使用者可以透過簡單的點選來創建自己的VM?


6. Reference

Last modified 15 years ago Last modified on Apr 6, 2009, 11:43:34 AM

Attachments (3)

Download all attachments as: .zip