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.
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.
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.
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 184.108.40.206 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))
iface eth0 inet static
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
Download and Install Devstack as follows.
$sudo apt-get install git -y
$git clone git://github.com/openstack-dev/devstack.git
Start the instaltion
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
Tomorrow I ll write the how to install and configure the Multi Node OpenStack.