1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00
Tino Vazquez de86512791 Squashed commit of the following:
commit 0823e4c8025f5e2861bb6141170e94081a9a74a7
Author: semedi <sergio.semedi@gmail.com>
Date:   Mon Dec 18 12:01:57 2017 +0100

    F #1538: vcenter networks generate name method

commit a0071dafff8621fd017a6e4367f7147c77a29127
Author: semedi <sergio.semedi@gmail.com>
Date:   Wed Dec 13 12:35:30 2017 +0100

    F #1538: delete ccr_ref from net, changed template

commit 4f6632049970a1148768dcef90ab3cd710492555
Author: semedi <sergio.semedi@gmail.com>
Date:   Wed Dec 13 11:21:01 2017 +0100

    F #1538: standard port groups are UNIQUE

commit 5a8f04da2b6481e0ad52e54f7edb791f8e3811d8
Author: semedi <sergio.semedi@gmail.com>
Date:   Tue Dec 12 12:04:23 2017 +0100

    F #1538: to_one_template restructure

commit deb65599df584f3d59216b10c7ee91a98c4ccc3d
Author: semedi <sergio.semedi@gmail.com>
Date:   Mon Dec 11 14:22:52 2017 +0100

    F #1538: Importer now add the vnet to selected clusters

commit c61ceb170a63dcc124a44b240ae59ef630d74d5e
Author: semedi <sergio.semedi@gmail.com>
Date:   Mon Dec 11 11:58:30 2017 +0100

    F #1538: onevcenter import multicluster support

commit bb4f500b4942e184ec20db5befea368cf40da028
Author: semedi <sergio.semedi@gmail.com>
Date:   Mon Dec 11 09:06:22 2017 +0100

    F #1538: new method to convert to template

commit b1d16f9ae9ee5d493910ade6833b373b025e305b
Author: semedi <sergio.semedi@gmail.com>
Date:   Tue Dec 5 09:55:38 2017 +0100

    F #1538: get_location method && restructure

commit 7a9c753c2631775d1473401ee1de93309682fc01
Author: semedi <sergio.semedi@gmail.com>
Date:   Tue Dec 5 09:26:49 2017 +0100

    F #1538: storing clusters data

commit ccb0a7bccafd4094cb456b64485f0fbb2fb4c159
Author: semedi <sergio.semedi@gmail.com>
Date:   Mon Dec 4 12:45:49 2017 +0100

    F #1538: importing vcenter networks rework
2017-12-18 13:05:54 +01:00
2017-12-18 13:05:54 +01:00
2017-12-01 17:33:13 +01:00
2009-01-19 18:37:57 +00:00
2016-05-04 12:33:23 +02:00
2017-11-27 07:20:10 +01:00
2017-11-02 10:08:41 +01:00

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

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-2017, 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.

Description
The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
Readme Apache-2.0 148 MiB
Languages
JavaScript 39.9%
C++ 22.2%
Ruby 21.3%
Shell 4.2%
Handlebars 3.7%
Other 8.6%