OpenStack Cloud Platform Installation

Today I am going to write about the OpenStack Implementation on a Desktop.

I saw many earlier blogs and post on openstack implementation but I didn’t find any comprehensive details about how can I implement openstack on my own.Off course there some official documentation on openstack Getting Started Page.But still it is not clearly mentioned how can I start learning on a desktop.

So I started my own implementation on my Desktop.Here is my Desktop Configuration.

I have i7 Processor ( 4 Cores and 8 Threads),16GB of RAM,Windows 7 OS and I have VMware’s Workstation installed on it Off course you don’t need such a high configuration to install openstack,

But if you want to implement the Multi Node openstack configuration then probably having a such a configuration will help.

I ll try to make it as simple as possible and as detailed as possible so a new learner can implement it.

First I ll try to create the devstack implementation which is a simple process of implementing and learning different aspect of openstack.

Here is the Complete Architecture of the Single Node OpenStack implementation on a Desktop.

Desktop-Arch

1.1 Create a Virtual Machine on your Desktop.

Create a new VM on VMware Workstation with 1 vCPU and 2 GB RAM,I assume you know how to create a VM on Workstation.Make sure while creating the VM you enable the “Virtualiza Intel VT-x or AMD-V/RVI” option for the processor.While creating the VM don’t select the OS,So that you can install it after VM creation.

CreateVM

1.2 .Make sure you have the network connection so that you can connect to internet.Connect the network adapter to “bridged” so that you can use your existing Router network and use internet.In my case my route network is 192.168.1.0.

network

1.3 .Download the Minimal Ubuntu OS from here https://help.ubuntu.com/community/Installation/MinimalCD,Download 64 bit Ubuntu 12.04 “Precise Pangolin” Minimal CD.Now install this on the newly created VM it ll be download and install all the required minimum packages needed for Ubuntu 64 12.4 Linux OS.

2.VM Network and Devstack Install Local Configuration.

Set the Network Configuration edit the file  /etc/network/interfaces as following. Make sure you set the dns-nameservers 8.8.8.8 or you may face problem during devstack installation.Particularly your devstack installation will hang at the following message.

———————————–

Requirement already satisfied (use –upgrade to upgrade): prettytable in /usr/lib/python2.7/dist-packages (from -r python_keystoneclient.egg-info/requires.txt

Downloading/unpacking httplib2>=0.7 (from -r python_keystoneclient.egg-info/requires.txt (line 1))

————————————-

auto eth0
iface eth0 inet static
address 192.168.1.110
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8

auto eth1
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
down ifconfig $IFACE down

Create a localrc file in your home directory and edit it as follows

localrc

Download and Install Devstack as follows.

$sudo apt-get install git -y
$git clone git://github.com/openstack-dev/devstack.git

Start the instaltion

$cd devstack
$./stack.sh

This ll install and configure complete devstack.

Now you can access the devstack console from a web browser with

http://192.168.1.110/ (my devstack IP address is 192.168.1.110) you can access this from your host desktop. Login with admin/password

devstack-login

Tomorrow I ll write the how to install  and configure the Multi Node OpenStack.

Advertisements

3 thoughts on “OpenStack Cloud Platform Installation

  1. Francis Mohanty says:

    I have a question But after installation it can be accessed through the web browser in the same machine or through internet via any machine….and what is its bench marking feature

    Like

  2. panchaleswar says:

    Hi Francis,
    You can access from the web browser from the same machine or outside if the IP is pingable. But in this VM there will not be any browser as there is minimal linux installed.So only text mode and commands.About bench marking ! what you mean by bench marking feature ? Can you give more clarity on it?

    Like

    • Francis says:

      Thanks for the reply. Its not exactly bench marking, but what I want to mean is “What makes it unique from other peer products” or is it first of its kind.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s