OPENSTACK INSTALLATION:-

OPENSTACK INSTALLATION:-


First of all, it is necessary to know about the OpenStack :-

OPENSTACK :- OpenStack is a collection of open source software modules that provides a framework to create and manage both public cloud as well as private cloud infrastructure. An organization can use OpenStack to deploy and manage cloud-based infrastructure that supports an array of uses cases, including web hosting, big data projects, software as a service delivery, or deploying high volumes of containers.

Now, we have to download these files for installing OpenStack on Oracle Virtual Box:-

https://drive.google.com/file/d/185RVR3EWjez1rsL4Q9A6o-uGlDu00WC6/view?usp=sharing

https://drive.google.com/drive/folders/1U7w4vLEJSJn8h7J_4a3_0qK4IUtEzz2I?usp=sharing

Now, it's time to start with the practical session:-

Step 1- After installing the Oracle VM VirtualBox, open the Oracle Virtual Box and then create a new Virtual Machine and give any name to the machine you like.

No alt text provided for this image


Step 2 - Provide atleast 6-8 GB RAM for the virtual machine and then click on next.

No alt text provided for this image

Step 3 - Now, select the size of virtual hard disk in the range 60 to 100 GB and then click on create.

No alt text provided for this image

Step 4 - Go to the settings of the virtual machine and then do all those things similarly as shown in the screenshots. Provide atleast two CPUs for the virtual machine.

No alt text provided for this image


No alt text provided for this image


No alt text provided for this image


No alt text provided for this image

Step 5- Start the virtual machine and then select install Redhat 7.5 by using up and down arrow and then hit Enter. And then follow these screenshots-

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Step 6 - Now click on Begin installation and then set and confirm the password for the virtual machine.

No alt text provided for this image

Step 7 - And then wait for the installation to be complete. After that Click on Reboot.

No alt text provided for this image

Step 8 - Now, we have to login with the root user and the root password and then we have to mount cdrom to dvd folder for configuring yum and after that we have to create a dvd repository.We have to do all the things as same as shown in the screenshot.

No alt text provided for this image

* free -m is a command which can give us valuable information on available RAM in virtual machine.

* mkdir command allows the user to create directories.

* mount command mounts a storage device, making it accessible and attaching it to an existing directory structure.

* cd command is used to change the current directory.

* ls is used to list information about files and directories within the file system.

* vi command is used to create a new file.

Step 9 - After creating the dvd repository we have to write some text and after writing press escape and type :wq and then hit the Enter tab for saving the file.

No alt text provided for this image

Step 10 - Use yum command to install net-tools. The net-tools package contains the basic networking tools including ifconfig, netstat, route and others.

No alt text provided for this image

* yum repolist shows a list of all enabled repositories.

Step 11 - Now, use ifconfig command to assign the IP address to an interface.

No alt text provided for this image

Step 12 - Use IP address, host name and the password of the virtual machine to connect with the WinSCP which is used to transfer the files between the local and the remote computer.

No alt text provided for this image

Step 13 - Now it's time to mount all the three iso files to the three different folders and then by using cd command change the current directory and use ls for getting information about the files.

No alt text provided for this image

Step 14 - Create a new folder and then copy all the files to the folder using cp -rfv command.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Step 15 - Here we have to again configure yum but this time to the software folder. Use the vi command and write the text in the file and again press escape then type :wq and hit Enter.

No alt text provided for this image
No alt text provided for this image

Step 16 - Use yum command for installing createrepo and python-setuptools.

No alt text provided for this image

* cat command is used to read data from the file and then gives their content as output.

No alt text provided for this image

Step 17 - Use cd command for moving towards the software folder and then run the command - createrepo -v .

No alt text provided for this image

Step 18 - Here we have to stop and disable the NetworkManager using the command shown in the screenshot and then use yum command to install openstack-packstack.

No alt text provided for this image

* Packstack is a utility that uses Puppet modules to deploy various parts of OpenStack on multiple pre-installed servers over SSH automatically. Currently only CentOS , Red Hat Enterprise Linux (RHEL) and compatible derivatives of both are supported.

Step 19 - Packstack provides by default an answer file template that deploys an all in one environment. Run the command given below-

No alt text provided for this image

Step 20 - Run free -m command to know about the free RAM available. Then use the command - echo 3 > /proc/sys/vm/drop_caches. This command is used to clear all the cache from the virtual machine.

No alt text provided for this image

Step 21 - Run the command given below for the final installation of OpenStack.

No alt text provided for this image

After running the above command you will able to see something like that-

No alt text provided for this image

Now, it's time to keep calm because it will take approximately 40-60 minutes for the complete installation.

Step 22 - After the completion of the installation. Type the IP address of your virtual machine on the host system and then you will be able to see the dashboard of the OpenStack as shown in the image.

No alt text provided for this image

FINALLY ALL DONE!!

THANKS for giving your time in reading the article.

Santosh Kumar

Senior Technical Support

4 年

Nicely explained. one suggestion is, static ip step is missing .... In my case I m using mobile network every time when I restart host machine my dns change...(when u find any solution, reply)

NIRBHAY MAITRA

Full-stack Developer at Mobius by Gaian with expertise in React.js, Node.js and MongoDB

4 年

is it deployed on aws cloud?

回复
Akash Tiwari

Devops Engineer@Powerplay

4 年

Nicely explained!!

要查看或添加评论,请登录

Megha Varshney的更多文章

  • Multi Node Kubernetes Cluster Using Ansible..

    Multi Node Kubernetes Cluster Using Ansible..

    What is a Kubernetes Cluster? A Kubernetes Cluster is a set of nodes that run containerized applications. Kubernetes…

    4 条评论
  • How to Configure Web Server Inside the Docker Container by Retrieving Container's IP Dynamically Using Ansible Playbook?

    How to Configure Web Server Inside the Docker Container by Retrieving Container's IP Dynamically Using Ansible Playbook?

    Task Description ??:- ??Create an Ansible playbook that will retrieve new Container IP and update the inventory. So…

  • GUI Applications On The Top Of DOCKER

    GUI Applications On The Top Of DOCKER

    What is Docker? Docker is an open source project that makes it easy to create containers and container-based apps. With…

  • Integration of WordPress with Amazon RDS:-

    Integration of WordPress with Amazon RDS:-

    What is AWS ? Amazon Web Services (AWS) is a secure cloud services platform, offering compute power, database storage…

  • What is Jenkins and How Netflix uses it?

    What is Jenkins and How Netflix uses it?

    Hello guys, In this blog I’m going to explain the automation using Jenkins and a case study on Netflix. But before…

  • OpenShift and It's UseCases

    OpenShift and It's UseCases

    What is OpenShift ? OpenShift is a cloud development Platform as a Service (PaaS) developed by Red Hat. It’s an open…

  • Simple Queue Service by AWS

    Simple Queue Service by AWS

    What is SQS? SQS stands for Simple Queue Service. SQS is a managed message queue service offered by Amazon Web Services…

  • Neural Networks

    Neural Networks

    Neural Networks A Neural Network is a processing device, either an algorithm whose design is inspired by the design and…

  • Azure Kubernetes Service

    Azure Kubernetes Service

    What is Azure Kubernetes Service? AKS stands for Azure Kubernetes Service provided by Azure Cloud. It is an open-source…

  • KUBERNETES USE CASES - AIRBNB And PINTEREST

    KUBERNETES USE CASES - AIRBNB And PINTEREST

    What is Kubernetes? KUBERNETES is a container management system developed in the Google platform. Kubernetes is the…

    2 条评论

社区洞察

其他会员也浏览了