wiki:GTD_Cloud_One

Version 4 (modified by rock, 15 years ago) (diff)

--

XEN VM placement engine - OpenNEbula

1. Requirement

  • Our OS is Debian lenny
    • Xen Installation
      $ sudo aptitude install xen-linux-system-2.6.26-1-xen-amd64 xen-tools
      
    • Package Installatiom
      $ sudo aptitude install ruby sqlite3 libsqlite3-dev libsqlite3-ruby libxmlrpc-c3 libxmlrpc-c3-dev scons g++ flex bison
      
  • Package introduction
    • 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

1. Install OpenNEbula

  • We use 1.2 beta version
    $ tar zxvf one-1.1.80.tar.gz
    $ cd one-1.1.80
    $ scons
    $ ./install.sh /home/one
    
  • Verifting the installation
    $ ls /home/one
    bin  etc  include  lib  libexec  share  var
    

2. Using OpenNEbula

  • Setup Envoronment
    $ sudo vim /etc/profile
    export ONE_LOCATION=/home/one
    export ONE_XMLRPC=http://localhost:2633/RPC2
    export PATH=$ONE_LOCATION/bin:$PATH
    
  • Statup OpenNEbula
    $ sudo one start
    
  • Add Cluster
    $ onehost create one im_xen vmm_xen tm_ssh
    $ onehost list
     HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
       0 one                         0    400    400    400 6216704  130048   on
    

Problem

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

Reference

Attachments (3)

Download all attachments as: .zip