OpenNebula on 5.5
OpenNebula is an open-source cloud computing toolkit for managing heterogeneous distributed data center infrastructures. The OpenNebula toolkit manages a data center’s virtual infrastructure to build private, public and hybrid IaaS (Infrastructure as a Service) clouds. OpenNebula orchestrates storage, network, virtualization, monitoring, and security technologies to deploy multi-tier services (e.g. compute clusters) as virtual machines on distributed infrastructures, combining both data center resources and remote cloud resources, according to allocation policies.
From a clean install of CentOS 5.5 – with these options: server-gui/virtualization (xen not kvm)/graphical internet/development tools
To install rubygems without error I needed to get the rdoc installed. There are many other ruby items here, for safety (lazy) I installed everything
yum install ruby*
We need rubygems. Unfortunately rubygems 1.3.5 is the newest version we can get since ruby installed is 85 and gems wants 86
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.5.tgz tar -zxvf rubygems-1.3.5.tgz cd rubygems-1.3.5 ruby setup.rb
I decided to use open nebula express… I honestly do not know what it does yet but it worked.
wget http://dev.opennebula.org/attachments/download/244/opennebula_express-2.0.tar.gz tar -zxvf opennebula_express-2.0.tar.gz cd opennebula_express-2.0 sh install.sh
this is my install log. I need to analyse this:
==================================
- Installing frontend dependencies
==================================
--2011-01-21 10:24:01-- http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
Resolving download.fedora.redhat.com... 209.132.183.67
Connecting to download.fedora.redhat.com|209.132.183.67|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-01-21 10:24:01 ERROR 404: Not Found.
Loaded plugins: fastestmirror
Setting up Local Package Process
Cannot open file: epel-release-5-3.noarch.rpm. Skipping.
Nothing to do
--2011-01-21 10:24:02-- http://centos.karan.org/el5/extras/testing/x86_64/RPMS/xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm
Resolving centos.karan.org... 66.36.231.4
Connecting to centos.karan.org|66.36.231.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 200275 (196K) [application/x-rpm]
Saving to: `xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm'
0K .......... .......... .......... .......... .......... 25% 673K 0s
50K .......... .......... .......... .......... .......... 51% 1.10M 0s
100K .......... .......... .......... .......... .......... 76% 1.13M 0s
150K .......... .......... .......... .......... ..... 100% 1.14M=0.2s
2011-01-21 10:24:02 (973 KB/s) - `xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm' saved [200275/200275]
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm: xmlrpc-c-1.06.18-1.el5.kb.x86_64
xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm: does not update installed package.
Nothing to do
--2011-01-21 10:24:02-- http://centos.karan.org/el5/extras/testing/x86_64/RPMS/xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm
Resolving centos.karan.org... 66.36.231.4
Connecting to centos.karan.org|66.36.231.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43068 (42K) [application/x-rpm]
Saving to: `xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm'
0K .......... .......... .......... .......... .. 100% 703K=0.06s
2011-01-21 10:24:02 (703 KB/s) - `xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm' saved [43068/43068]
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm: xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64
xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm: does not update installed package.
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.lug.udel.edu
* base: ftp.usf.edu
* extras: mirror.atlanticmetro.net
* updates: centos.aol.com
Setting up Install Process
No package nfs-kernel-server available.
Package openssh-server-4.3p2-41.el5_5.1.x86_64 already installed and latest version
Package ruby-1.8.5-5.el5_4.8.x86_64 already installed and latest version
No package rubygems available.
Package gcc-4.1.2-48.el5.x86_64 already installed and latest version
No package rubygems available.
Package ruby-devel-1.8.5-5.el5_4.8.x86_64 already installed and latest version
Package ruby-devel-1.8.5-5.el5_4.8.i386 already installed and latest version
Package libxslt-devel-1.1.17-2.el5_2.2.x86_64 already installed and latest version
Package libxslt-devel-1.1.17-2.el5_2.2.i386 already installed and latest version
Package glibc-headers-2.5-49.el5_5.7.x86_64 already installed and latest version
Nothing to do
==================================
- Installing gems
==================================
Building native extensions. This could take a while...
Successfully installed nokogiri-1.4.4
1 gem installed
==================================
- Creating user oneadmin
==================================
==================================
- Downloading and installing binary package
==================================
--2011-01-21 10:24:12-- http://dev.opennebula.org/attachments/download/222/opennebula-2.0-1.x86_64.rpm
Resolving dev.opennebula.org... 173.203.95.135
Connecting to dev.opennebula.org|173.203.95.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 475902 (465K) [application/x-rpm]
Saving to: `opennebula-2.0-1.x86_64.rpm'
0K .......... .......... .......... .......... .......... 10% 308K 1s
50K .......... .......... .......... .......... .......... 21% 757K 1s
100K .......... .......... .......... .......... .......... 32% 1.45M 1s
150K .......... .......... .......... .......... .......... 43% 1.55M 0s
200K .......... .......... .......... .......... .......... 53% 10.7M 0s
250K .......... .......... .......... .......... .......... 64% 1.64M 0s
300K .......... .......... .......... .......... .......... 75% 10.9M 0s
350K .......... .......... .......... .......... .......... 86% 1.68M 0s
400K .......... .......... .......... .......... .......... 96% 10.6M 0s
450K .......... .... 100% 13.6M=0.4s
2011-01-21 10:24:12 (1.24 MB/s) - `opennebula-2.0-1.x86_64.rpm' saved [475902/475902]
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining opennebula-2.0-1.x86_64.rpm: opennebula-2.0-1.x86_64
Marking opennebula-2.0-1.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* addons: ftp.lug.udel.edu
* base: ftp.usf.edu
* extras: mirror.atlanticmetro.net
* updates: centos.aol.com
Resolving Dependencies
--> Running transaction check
---> Package opennebula.x86_64 0:2.0-1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
opennebula x86_64 2.0-1 /opennebula-2.0-1.x86_64 1.5 M
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total size: 1.5 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : opennebula 1/1
Installed:
opennebula.x86_64 0:2.0-1
Complete!
==================================
- Processing configuration files
==================================
==================================
- Writing ONE_AUTH file
==================================
==================================
- Starting OpenNebula
==================================
oned and scheduler started
==================================
- Creating SSH Keys
==================================
==================================
- Configure bridge manually
==================================
Don't forget to configure your bridges in your nodes, so you can
pass them to OpenNebula. To do so use:
'brctl addbr br0' # creates bridge br0
'brctl addif br0 eth0' # add interface eth0 to bridge br0
and configure the IP of your bridge interface.
Next we’re going to install OpenNebula Management Console
http://downloads.sourceforge.net/project/adodb/adodb-php5-only/adodb-511-for-php5/adodb511.tgz
yum install php php-mysql mysql-server php-curl php-xmlrpc httpd php-pear php-devel
more stuff