Turn on your cloud install openstack HAVANA introduction

Overview

OpenStack is a cloud computing project to provide an infrastructure as a service (IaaS). It is free open source software released under the terms of the Apache License. You can install it using devstack, which is great if you are just starting and simply want to install, get a look and feel of it. However, if you wish to be a cloud ninja finding what is openstack all about, installing and configuring it manually would be a good bet. This guide not only helps you install openstack but to explain how various components hooked together build your cloud.

Once installed most of the things like creating/terminating instances, adding keypairs, managing security groups etc can be done using the web interface, but since I am a command line junkie just as you are, I am gonna use command line to create and destroy most of the things in this cloud. This will help find whats all happening behind the scenes and troubleshoot any issues faster.

Note: This guide can be used to install openstack on VMWare workstation or Virtual Box

Openstack consists of the following components. The latest stable release is named Havana.

Keystone
Neutron(Earlier Quantum)
Glance
Cinder
Nova
Horizon
Heat
Ceilometer
Swift

I am going to install each one separately and will go in depth pulling some neat command line management tricks.

Turn on your cloud install openstack HAVANA introduction

We will use three machines for our cloud, one will act as controller, the second one is the compute and the third will act as a network node. The compute node is the one on which we will run all the instances (Nova), the network will run Neutron, the controller node will keep run all other components. As you start growing you may scale out and run different components across multiple physical machines.

All machines are running Ubuntu 12.04 LTS server.

 Turn on your cloud install openstack HAVANA introduction

Before we start installing various components the following has to be performed on all the machines.

Configure networking on the hosts

On Controller Node

Edit the interfaces file

Append the following to it

On Network Node
Edit the interfaces file

Append the following to it

On Compute Node
Edit the interfaces file

Append the following to it

Add havana repo

Install ntp on the machines.

We will start installing keystone next which is one of the key components of openstack (you know now why they named it key-stone).

Stay tuned!!!