commit 4ebd4ebe55ce75e0dceb9d542739aaaa556677c4 Author: semedi <sergio.semedi@gmail.com> Date: Fri Mar 23 11:17:55 2018 +0100 F #1808: vCenter cli helper added to install sh commit 84e3b94621f0453b67c8df29ea93abcd3661c26b Author: abelCoronado93 <acoronado@opennebula.org> Date: Thu Mar 22 14:57:39 2018 +0100 F #1808: Waiting system for requests [Sunstone] commit 7b75828a8dc7092ef411ce73ce9ff333d4695a3a Author: abelCoronado93 <acoronado@opennebula.org> Date: Thu Mar 22 12:49:19 2018 +0100 F #1808: Added feedback for DS importations [Sunstone] commit 9c8f6e1674c7c8df827599d87f416d7199a752cc Author: abelCoronado93 <acoronado@opennebula.org> Date: Thu Mar 22 12:48:20 2018 +0100 F #1808: Broken importer output [vCenter] commit dc5be2aa1eebe6f3bee6253540f5deb34a3f7f8b Author: abelCoronado93 <acoronado@opennebula.org> Date: Thu Mar 22 12:46:39 2018 +0100 F #1808: Removed bindings [Sinatra] commit 1bea93e64416f74f260fb47380f68a9c0804fd64 Author: semedi <sergio.semedi@gmail.com> Date: Wed Mar 21 12:52:29 2018 +0100 F #1808: vCenter importer added to install sh commit b5debcf6066b6bf7ad02c43465b092ce95de7d79 Author: semedi <sergio.semedi@gmail.com> Date: Tue Mar 20 16:35:12 2018 +0100 F #1808: vCenter importer feedback and class variables F #1808: code restructure and output commit 4e6d6a891b57649a467504fea95274afc7cb20d8 Author: abelCoronado93 <acoronado@opennebula.org> Date: Mon Mar 19 16:35:37 2018 +0100 F #1808: Global path for ajax [Sunstone] commit 110156a5b1e2fafc534dd30ebbdbb064a6ee94c0 Author: abelCoronado93 <acoronado@opennebula.org> Date: Mon Mar 19 13:20:07 2018 +0100 F #1808: vCenter DS importation makeover [Sunstone] commit d9b86e8fe847a0db08251ef8cb61d5ad5ed6c22d Author: abelCoronado93 <acoronado@opennebula.org> Date: Thu Mar 15 15:27:39 2018 +0100 F #1808: Importation vCenter DS [Sinatra] commit 58e59de06580350a8e327a33dbe6f80b75136b03 Author: abelCoronado93 <acoronado@opennebula.org> Date: Thu Mar 15 15:27:07 2018 +0100 F #1808: Importation vCenter DS [Sunstone] commit c81b2662cb1211d558c9afb7156e7625727a9efe Author: semedi <sergio.semedi@gmail.com> Date: Fri Mar 9 11:59:39 2018 +0100 F #1804: datastore importer basic functionality [COMPLETE] F #1804: created new files and code restructure F #1804: datastore list functionality added F #1804: onevcenter list with ref F #1804: vCenter datastore importation works with key refs F #1804: vCenter importer->datastore
OpenNebula
Description
OpenNebula is an open-source project delivering a simple but feature-rich and flexible solution to build and manage enterprise clouds and virtualized data centers.
Complete documentation: https://docs.opennebula.org
How to contribute: https://opennebula.org/community/contribute
Installation
Requirements
This machine will act as the OpenNebula server and therefore needs to have installed the following software:
- ruby >= 1.8.7
- sqlite3 >= 3.5.2
- xmlrpc-c >= 1.06
- openssl >= 0.9
- ssh
- sqlite3-ruby gem
Additionally, to build OpenNebula from source you need:
- Development versions of the sqlite3, xmlrpc-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)
- libxml2-dev
Ruby Libraries Requirements
A set of gem requirements are needed to make several components work. We
include a handy script to install them and the requirements. It is located at
share/install_gems/install_gems
and you should use it to install the
required gems. You have more information at:
https://docs.opennebula.org/5.4/integration/references/compile.html
If you want to install them manually here are the list of required rubygems:
-
OpenNebula and clients (plus cloud interfaces)
- sqlite3
- json
- sequel
- mysql
- net-ldap
- amazon-ec2
- rack
- sinatra
- thin
- uuidtools
- curb
- nokogiri
-
Sunstone server
- json
- rack
- sinatra
- thin
- sequel
- nokogiri
Optional Packages
These packages are not needed to run or build OpenNebula. They improve the performance of the user-land libraries and tools of OpenNebula, nor the core system. You will probably experiment a more responsive CLI.
First install rubygems and ruby development libraries
- ruby-dev
- rubygems
- rake
- make
Then install the following packages:
-
ruby xmlparser, some distributions include a binary package for this (libxml-parser-ruby1.8). If it is not available in your distribution install expat libraries with its development files and install xmlparser using gem:
$ sudo gem install xmlparser --no-ri --no-rdoc
Note the extra parameters to gem install. Some versions of xmlparser have problems building the documentation and we can use it without documentation installed.
-
ruby ox, fast xml parsing library:
$ sudo gem install ox --no-ri --no-rdoc
Building
Compilation is done using scons command:
$ scons [OPTION=VALUE]
The argument expression [OPTIONAL] is used to set non-default values for:
OPTION VALUE
sqlite_db path-to-sqlite-install
sqlite no if you don't want to build sqlite support
mysql yes if you want to build mysql support
xmlrpc path-to-xmlrpc-install
parsers yes if you want to rebuild flex/bison files
new_xmlpc yes if you have an xmlrpc-c version >= 1.31
sunstone yes if you want to build sunstone minified files
systemd yes if you want to build systemd support
Installation
OpenNebula can be installed in two modes: system-wide, or in self-contained directory. In either case, you do not need to run OpenNebula as root. These options can be specified when running the install script:
$ ./install.sh install_options
where install_options can be one or more of:
OPTION VALUE
-u user that will run OpenNebula, defaults to user executing
install.sh
-g group of the user that will run OpenNebula, defaults to user
executing install.sh
-k keep current configuration files, useful when upgrading
-d target installation directory. If defined, it will specified
the path for the self-contained install. If not defined, the
installation will be performed system wide
-c only install client utilities: OpenNebula cli, occi and ec2
client files
-r remove Opennebula, only useful if -d was not specified,
otherwise rm -rf $ONE_LOCATION would do the job
-p do not install OpenNebula Sunstone non-minified files
-h prints installer help
Deployment
You can find the documentation about OpenNebula architecture, installation, configuration and references to configuration files in this documentation chapter:
https://docs.opennebula.org/5.4/deployment/index.html
The reference about the main configuration file is located here:
https://docs.opennebula.org/5.4/deployment/references/oned_conf.html
Contact
OpenNebula web page: https://opennebula.org
Development and issue tracking: https://github.com/OpenNebula/one/issues
Support: https://opennebula.org/support
License
Copyright 2002-2018, OpenNebula Project, OpenNebula Systems (formerly C12G Labs)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.