Jump to: navigation, search

Obsolete:InstallInstructions/Nova

Revision as of 00:56, 16 April 2012 by Peter (talk)

Installation

Before you install, you need to make some choices on your setup. The key questions you need to answer are:

  • Do you want to install from source or from packages (one of the releases or proposed releases)?

If you want to install for development, or to try out the latest bleeding edge of one of the projects, consider installing that code from source. If you want to "see how it works" or run a proof of concept, install the release from packages.

  • How many physical hosts are you using to set up the environment?

In a development environment, many people are putting everything they can into an All-In-One environment. If you're setting up a proof of concept, you may want to install the components on multiple systems.

  • What kind of network configuration do you want to use?

OpenStack Compute supports two modes of Networking for the virtual machines - Flat networking and VLAN networking. VLAN based networking requires that you have a VLAN capable managed switch that you can use to setup VLANs for your systems. Flat Networking uses linux ethernet bridging (br100) to connect multiple compute hosts together when you have the --flat_network_bridge flag set in your nova.conf.

  • What hypervisor do you want to use?

Nova supports many of the leading hypervisors, including KVM (and several others using libvirt), XenServer/XCP and ESXi.

Development

installing from source
Deployment Type Distribution
Single Server Ubuntu 10.10 or later
Single Server Ubuntu 10.04 or later
Workstation Ubuntu 10.04 or later [[[NovaVirtually
All All
Single Server XCP 1.1.0 stable

Production

installing from packages
Deployment Type Distribution
Multiple Servers Ubuntu 10.04 or later
Multiple Servers CentOS
Multiple Servers Fedora
Multiple Servers RHEL6

Installation from Ubuntu packages

After enabling the chosen PPA install the following packages (on the same machine or on separate servers):

  • rabbitmq-server nova-api nova-objectstore nova-compute nova-scheduler nova-network

For example, if you want to install everything on the same machine for test purposes:


$ sudo apt-get install rabbitmq-server
$ sudo apt-get install nova-api nova-objectstore nova-compute nova-scheduler nova-network


Running

  Launch an instance 

CentOS Details

Nova is not packaged for CentOS yet. Nova is written in Python 2.6 and CentOS 5 comes with Python 2.4 so you need to resolve dependencies by following the instructions in the CentOS Guide.

RHEL6 Details

RHEL6 port of OpenStack is maintained by Grid Dynamics at the moment.

Feel free to contact us:

  • business request: cloudservices@griddynamics.com
  • technical request: openstack@griddynamics.com

Ubuntu Details

Choose your source

We provide lots of different options for Ubuntu users:

  • Last release: the last OpenStack release of Nova (2011.2)
  • Last milestone: the last published Nova milestone build (2011.3~d1)
  • Proposed milestone: in the days preceding a milestone release, these packages are the ones to test !
  • Trunk: for the developers or those living on the bleeding edge, the latest commit of Nova available as package...
Ubuntu Last release Last milestone Proposed milestone
11.04 universe ppa:nova-core/milestone ppa:nova-core/proposed-milestone
10.10 ppa:nova-core/release ppa:nova-core/milestone ppa:nova-core/proposed-milestone
10.04 LTS ppa:nova-core/release ppa:nova-core/milestone ppa:nova-core/proposed-milestone

Enable the chosen PPA (if needed)

If you need to enable a PPA (i.e. if the package is not available in universe or main), please use the following instructions to enable it (replace "trunk" by the chosen PPA):


$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:nova-core/trunk
$ sudo apt-get update