Jump to: navigation, search

Difference between revisions of "Obsolete:InstallInstructions/Nova"

(Added a link to the unit test documenttaion)
m (Fifieldt moved page InstallInstructions/Nova to Obsolete:InstallInstructions/Nova: Had outdated (essex) information only)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
 
 
= Installation =
 
= Installation =
  
Line 16: Line 16:
  
 
OpenStack Compute supports two modes of Networking for the virtual machines - [[UnderstandingFlatNetworking|Flat networking]] and [[VlanNetworkSetup|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.
 
OpenStack Compute supports two modes of Networking for the virtual machines - [[UnderstandingFlatNetworking|Flat networking]] and [[VlanNetworkSetup|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|XenServer/XCP]] and ESXi.
  
 
=== Development ===
 
=== Development ===
Line 21: Line 25:
 
  ''installing from source''
 
  ''installing from source''
  
{| border="1" cellpadding="2" cellspacing="0"
+
{| border="0" cellpadding="2" cellspacing="0"
|width="10%" |Deployment Type
+
|width="6%" |Deployment Type
 
|width="15%" |Distribution
 
|width="15%" |Distribution
 
|-
 
|-
 
| Single Server
 
| Single Server
| Ubuntu 10.10 or later
+
| Ubuntu 11.10 or later
 +
|-
 +
| All
 +
|  All
 
|-
 
|-
 
| Single Server
 
| Single Server
| Ubuntu 10.04 or later
+
| [[XenServer]] with Ubuntu 11.10
 
|-
 
|-
| Workstation
+
| Single Server
| Ubuntu 10.04 or later
+
| XCP 1.1.0 stable
| [[[NovaVirtually
 
|-
 
| All
 
|  All
 
 
|}
 
|}
 +
 
=== Production ===
 
=== Production ===
  
 
  ''installing from packages''
 
  ''installing from packages''
  
{| border="1" cellpadding="2" cellspacing="0"
+
{| border="0" cellpadding="2" cellspacing="0"
 
|width="10%" |Deployment Type
 
|width="10%" |Deployment Type
 
|width="15%" |Distribution
 
|width="15%" |Distribution
 
|-
 
|-
 
| Multiple Servers
 
| Multiple Servers
| Ubuntu 10.04 or later
+
| Ubuntu 12.04
 
|-
 
|-
 
| Multiple Servers
 
| Multiple Servers
Line 57: Line 61:
 
| Multiple Servers
 
| Multiple Servers
 
| RHEL6
 
| RHEL6
 +
|-
 +
| Multiple Servers
 +
| Debian 7.0
 +
|-
 +
| Multiple Servers
 +
| ubuntu 12.04
 
|}
 
|}
 
= 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:
 
 
 
<pre><nowiki>
 
$ sudo apt-get install rabbitmq-server
 
$ sudo apt-get install nova-api nova-objectstore nova-compute nova-scheduler nova-network
 
</nowiki></pre>
 
 
  
 
= Running =
 
= Running =
Line 80: Line 75:
 
== CentOS Details ==
 
== 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 [[NovaInstall/CentOSNotes | CentOS Guide]].
+
Refer to http://pbrady.fedorapeople.org/openstack-el6/ and look at the README.
  
 
== RHEL6 Details ==
 
== RHEL6 Details ==
  
RHEL6 port of [[OpenStack]] is maintained by [http://cloud.griddynamics.com Grid Dynamics] at the moment.
+
The Fedora project provides [[OpenStack]] packages in Fedora 16 and later. Fedora also provides packages for RHEL6 via the EPEL (Extra Packages for Enterprise Linux) 6 repository. If you would like to install [[OpenStack]] on RHEL6, see this page for more information on enabling the use of EPEL: http://fedoraproject.org/wiki/EPEL.
 
 
* [[NovaInstall/RHEL6Notes-Bexar|Bexar]]
 
* [[NovaInstall/RHEL6Notes-Cactus|Cactus]]
 
* [[NovaInstall/RHEL6Notes-Diablo-2|Diablo-2]]
 
* [[NovaInstall/RHEL6Notes-Diablo-3|Diablo-3]]
 
* [http://yum.griddynamics.net/yum/master/openstack/ trunk auto-builds]
 
 
 
Feel free to contact us:
 
* business request: cloudservices@griddynamics.com
 
* technical request: openstack@griddynamics.com
 
  
 
== Ubuntu Details ==
 
== Ubuntu Details ==
  
=== Choose your source ===
+
Ubuntu 12.04 contains Essex packages. http://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolin
 
 
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...
 
 
 
{| border="1" cellpadding="2" cellspacing="0"
 
|<#eeeeee>| Ubuntu
 
|<#eeeeee>| Last release
 
|<#eeeeee>| Last milestone
 
|<#eeeeee>| 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):
 
 
 
 
 
<pre><nowiki>
 
$ sudo apt-get install python-software-properties
 
$ sudo add-apt-repository ppa:nova-core/trunk
 
$ sudo apt-get update
 
</nowiki></pre>
 
 
 
  
 
----
 
----
 
[[Category:HowTo]] [[Category:Nova]]
 
[[Category:HowTo]] [[Category:Nova]]

Latest revision as of 18:33, 25 July 2013

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 11.10 or later
All All
Single Server XenServer with Ubuntu 11.10
Single Server XCP 1.1.0 stable

Production

installing from packages
Deployment Type Distribution
Multiple Servers Ubuntu 12.04
Multiple Servers CentOS
Multiple Servers Fedora
Multiple Servers RHEL6
Multiple Servers Debian 7.0
Multiple Servers ubuntu 12.04

Running

  Launch an instance 

CentOS Details

Refer to http://pbrady.fedorapeople.org/openstack-el6/ and look at the README.

RHEL6 Details

The Fedora project provides OpenStack packages in Fedora 16 and later. Fedora also provides packages for RHEL6 via the EPEL (Extra Packages for Enterprise Linux) 6 repository. If you would like to install OpenStack on RHEL6, see this page for more information on enabling the use of EPEL: http://fedoraproject.org/wiki/EPEL.

Ubuntu Details

Ubuntu 12.04 contains Essex packages. http://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolin