You are on page 1of 6

Open Stack

Cloud Software
A brief documentation on the installation of Open Stack by
Cloud Team (SICSR) MSc. (13-15)

Symbiosis Institute of
Computer Studies and
Research
Model Colony, Pune

Table of Contents
I.

Abstract .................................................................................................................. 2

II.

Purpose of the Project ........................................................................................... 2

III.

What is Open Stack? .............................................................................................. 2

IV.

How is Open Stack used in cloud environment?.................................................. 2

V.

Requirements ........................................................................................................ 2

VI.

How we intended to do it at start? ........................................................................ 3

VII. What were the limitations faced with MaaS? ........................................................ 3


VIII. What we intended to do on limitation to creating

the cluster of the components? ............................................................................. 3


IX.

What are the steps of installation for Trove? ........................................................ 3

X.

Limitations faced during and after installation .................................................... 4

XI.

Launching an instance .......................................................................................... 4

XII. Conclusion ............................................................................................................. 4


XIII. What we achieved at the end of the project?......................................................... 4
XIV. A Graphical Representation of the workload

carried out by our team ......................................................................................... 5

Abstract
To implement Infrastructure as a Service on our provided system in order to launch a particular
instance onto it. For achieving this we used Open Stack cloud software.

Purpose of the Project


The purpose of the project is to use Open Stack cloud software to deploy required instances on the
cloud. But the main aim of the project was to understand the working of the software as to how
the images are loaded into the software and how new instances or applications can be deployed
into the cloud.

What is Open Stack?


Open Stack allows users to deploy virtual machines and other instances which handle different
tasks for managing cloud environment. It makes horizontal scaling easy which means it can easily
execute tasks that can benefit user by running concurrently. It provides Infrastructure as a Service
(IaaS) solution. Most importantly Open Stack is an open source software which means that anyone
who wishes to make changes within the code is allowed to do so.

How is Open Stack used in cloud environment?


Cloud is all about providing computing for end users in a remote environment where the actual
software runs as a service on reliable and scalable servers rather than on each end users computer.
Open Stack is considered Infrastructure as a Service (IaaS). Providing infrastructure means that
Open Stack makes it easy for users to quickly add new instance upon which cloud components can
run. Typically, the infrastructure then runs a platform upon which a developer can create software
applications which are delivered to the end users.

Requirements

Minimum 4 GB of RAM. But above 4 GB is recommended.


A minimum of 50 GB hard disk space for installing all the components.
A proper bandwidth of internet for streaming all the updates and downloading the components.
64 bit of operating system.

OPEN STACK - SEPTEMBER 2014

How we intended to do it at start?


At first we installed Devstack in order to get a brief idea of what were the components of Open
Stack. Later on we carried out the installation of Red Stack in order to integrate Trove with
devstack. Trove will integrate the database to all the components of Open Stack.
Later on we tried to build a cluster of all the components of Open Stack. For that we
installed UBUNTU server 14.04 in one of the machine. We tried to connect the other machines by
making those nodes of the server. For that we used MaaS (Metal as a Service). The reason that we
tried to use MAAS is that it makes it easy to set up the hardware on which to deploy any service.
By using a simple web interface we can add, commission, update and recycle the servers. As the
need changes we can respond rapidly by adding new nodes and dynamically re-deploying them
between services. The next step we concentrated on deploying the Open Stack by using JUJU.
JUJU basically scales the infrastructure needed to deploy Open Stack using MaaS.

What were the limitations faced with MaaS?


Lack of continuous bandwidth resulted in the network downtime which caused the failure of the
operating system images to be downloaded on the nodes that we created. As a result of this there
was the failure of PXE booting the systems.

What we intended to do on limitation to creating the


cluster of the components?
We intended to install all the Open Stack components in our machine in order to launch our desired
instances into the cloud using trove-integration using the RedStack.sh script. Trove is the database
as a service open source project for Open Stack. Trove is to provide scalable and reliable cloud
database as a service provisioning functionality for relational and non-relational database engines
and to improve its full featured and extensible open source framework.

What are the steps of installation for Trove?


Step 1: The first thing that is prerequisite for installation of Open Stack is having a stable version of
UBUNTU which can be either 12.04 or 14.04. In our project we have used UBUNTU-14.04.
Step 2: Secondly we need to update UBUNTU for installation of the latest packages by installing using
the following syntax $apt-get update.
Step 3: Next we have to clone in the Git repository for streaming trove-integration script from the
repository using the syntax $ apt-get install git-core y and $git clone
https://github.com/openstack/trove-integration.git

OPEN STACK - SEPTEMBER 2014

Step 4: Next we have to go into the scripts directory using the following syntax $ cd trove-i
ntegration/scripts/
Step 5: Installing all the dependencies and install trove via devstack. The syntax for installing the dev
stack is $./redstack install
Step 6: Next we have to initialize trove to add the image to trove using the following syntax
$./redstack kick-start mysql
Step 7: Starting the open stack services by using the $./redstack start

Limitations faced during and after installation


There were limitations too that we faced while installing the Trove through RedStack. The first
limitation that we faced was trying to install 64 bit MySQL plugin through Trove while the Linux
distro was 32 bit. Issue with the console on launch of an instance. SSH of Ubuntu and Fedora
images were not possible.

Launching an instance
We were able to launch the Cirros instance which is up and running. SSH of Cirros instance was
successful.

Conclusion
The main concern was with the installation of Open Stack cloud components which is successfully
installed, up and running. At the end of the project we have been able to understand the functioning
of Open Stack properly which was the primary goal of the project.

What we achieved at the end of the project?


There were many optimistic evaluations by the cloud team at the end of the project
We were able to get the images of Fedora and Ubuntu along with Cirros up and running.
We were able to deploy the database instance on MySQL running under the Ubuntu instance.
We got a vivid idea of how to create a cluster using MaaS and JUJU.
We were able to differentiate the functioning of each and every components that we have used
in our project.
We got the idea of how Infrastructure as a Service is deployed using Open Stack.

OPEN STACK - SEPTEMBER 2014

A Graphical Representation of the workload carried


out by our team
Amount of time taken

1st Quarter (Installation of DevStack and RedStack

2nd Quarter (Configuring Clusters)

3rd Quarter (Installing RedStack)

4th Quarter (Making the project ready for demonstration)

OPEN STACK - SEPTEMBER 2014