You are on page 1of 5

Setting up Meghdoot Openstack Cloud

System Requirements :
System should have minimum 8 GB RAM and 50 GB HDD.
Before starting the installation, make sure that the IP address is assigned properly. Make entry in
/etc/network/interfaces (as static IP address).
Open /etc/network/interfaces file
vi /etc/network/interfaces
Add the following lines
auto <interface name... Eg. eth0>
iface <interface name > inet static
address <IP address>
netmask 255.255.255.0
gateway <gateway IP>
The sample edited file would look like the following:
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.184.48.124
netmask 255.255.255.0
gateway 10.184.48.1

1

d/networking restart Step 1: Open the terminal. Click Yes to continue.sh” Step 3 : A dialog box opens. If you are not sure what are the values that has to be given for each field. Step 4 : The user is asked to choose between two node installation/single node installation.Save and close the file. Change to root user using sudo -i.). Keystone token : admin Admin tenant name : admin Service tenant name : service Horizon username : admin Horizon password : admin Keystone admin mail id : <mail id> Glance admin password : glance Glance admin mail id : <mail id> Nova admin password : nova Nova admin mail id : <mail id> Neutron admin password : neutron Neutron admin mail id : <mail id> Neutron n/w name : phynet1 VLAN start : 20 2 . Choose Single node installation. Run /etc/init. Click Yes Step 7: A Form is displayed to enter component details. Choose Physical Machine Step 6 : A dialog box opens asking whether to initialize database. Step 5 : The user is asked to choose between Physical machine installation (Cloud installed on physical machine)/Virtual machine installation(Cloud installed on VM. Step 2: Type the command “bash /usr/bin/meghdoot-quickstart/openstack. enter the following default values.

Click Instances. Under the Project Tab. Password is : admin) Note : Do not press Ctrl + C in the terminal where the script is executed. You will be required to Give “y” twice. Step 10 : Firefox opens and the openstack dashboard login screen is displayed. Step 16 : In the details. Click OK. A network will be created and displayed in the list. Step 17 : Click Instance Boot Source list and choose 'Boot from image' Step 18 : Click Image name list and choose 'cirros'. Step 15. Step 8 : The installation will enable the Openstack component services one by one and it will take 3 – 4 minutes to complete. Step 9 : Ossec will prompt for updation and also updating the rules associated. Step 11 : After logging in the openstack dashboard .VLAN end : 30 Cinder Admin password : cinder Cinder admin mail id : <mail id> Check the values and Click OK. Go to the Projects TAB.0.10. network address (Eg 10. Give the instance name(eg. net1) and Click Next. 3 . Click Networks. Step 14 : Click Create.(default Username : admin . Login using the horizon credentials.0/24) and Click Next. Step 12 : Give Network Name(Eg. Step 9 : A information dialog is displayed. Instance1). Step 13 : Give Subnet Name (Eg. Subnet1) . In the right side screen Click Launch Instance. In the right side screen Click Create Network.

To launch an instance. Step 11 : In the details. Give the instance name(eg.qcow2 in this machine. Instance1). In the right side screen Click Launch Instance. Step 10 : Under the Project Tab. Click Images. In the right side screen Click Create Image. Click Instances.Step 19 : Click launch. 4 . description Step 3 : Click Image Source and choose 'Image File' Step 4 : Click Browse and choose the boss image file and Click Open. Make sure you have the boss_cloudimg. To upload an existing image in the cloud and launch an instance. Step 1 : In the project Tab. Step 2 : Give the image name. A instance will be launched and displayed in the instances list. Step 5 : Click Format and Choose 'QCOW2' format Step 6 : Give the Architecture input value as 'x86_86' Step 7 : Give the Minimum Disk input value as 10 Step 8 : Give the Minimum RAM input value as 2048 Step 9 : Click create image.

sh sh neutron. Step 14: Click launch. To start all the openstack components after Machine restart Open the terminal.sh sh glance. Change to root user using sudo -i.Step 12: Click Instance Boot Source list and choose 'Boot from image' Step 13: Click Image name list and choose the image currently uploaded. ifconfig eth0 0 sh keystone.sh ifconfig <interface> 0 Eg. Go to /opt/openstack folder cd /opt/openstack Run the following scripts using command sh network.sh sh nova.sh sh cinder.sh All the components will be up and running and you can open the browser and give the url http://<IP>:8010 5 .