Setting up own Private Cloud using OpenStack
This article speaks of setting up your own OpenStack Juno Cloud by using the devstack Script. A Step By Step Instruction of the same is mentioned in the post below. If any problem faced during installation, please post your comments. We will try to troubleshoot the problem.
Setting up a Single Node OpenStack Environment with Neutron Networking
Here we are going to deploy OpenStack on a single node, i.e all OpenStack components Nova, Glance, Keystone, Neutron and Horizon will be running in the single VM.
Prerequisite:
- Oracle VirtualBox with Ubuntu-Server (14.04 64bit) with minimum VM disk space 30GB allocated.
- Click on
, select Network Adapter and select Bridge Network as shown in fig belowSetting -> Network Network Adapter Selection
- Power on the VM.
- sudo nano /etc/network/interfaces and configure as shown below and save the file.
Static IP Configuration - Restart Networking Service
- sudo ifdown eth0
- sudo ifup eth0
- Static IP-Configuration may vary in different router. Therefore, set IP address according to the router gateway. Some routers are having gateway address 192.168.0.1 then in this case IP address will be 192.168.0.15 and change other parameters accordingly.
- Verify Network Configuration using the ifconfig command.
- Before OpenStack installation process Ubuntu-Server needs to be updated.
- sudo apt-get update -y
- sudo apt-get upgrade -y
- sudo apt-get
-upgrade -ydist - sudo apt-get install git -y
- Restart VM.
OpenStack Installation :
clone -b stable/git https://github.com/openstack-dev/devstack.gitjuno devstackcd create localrc file - sudo nano
and paste the details as shown in fig.localrc
with Swift and Neutron Enabledlocalrc - Now run the. /
stack sh file. This file contains the script to install OpenStack services on to the VM. This step will take a minimum of 1-2 hrs depends on the internet speed, so be patient while this step is taking place.. - After successful installation the following message will appear on the screen as shown in fig below.
Installation Successful - A login page will appear on the screen and type the credential which is displayed on your terminal.
Horizon- Login Dashboard - If you want to configure an OpenStack service from the command line interface, then first type the following command source
admin adminopenrc
Is static network configuration is necessary for bridge network adapter ?
ReplyDeleteIts better if you use static, otherwise due to change of IP address you won't be able to access the system.
DeleteIt happens when assigned through DHCP. If you keep it as DHCP, make sure you keep the track of change in the IP address.
Guys feel free to ask us if you have any doubts.We are here to solve your problems.
ReplyDelete