Openstack Ocata Installation (Simple and Straight forward)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello good day today my demonstration is about installation of openstack specifically i'll be installing openstack ocata uh this is the latest version of openstack uh this is march 2017 so this is at this time this is the latest version i'll be doing the all-in-one installation that means i'll be installing every comp all the components in one machine or i'll make another video where i will demonstrate how to do the multi-node installation where you install the components separately on different machines i'll be doing the installation based on the backstack utility or backstack utility is a utility from rdo that make use of puppets to do installation of openstack or what do i require i require maybe a virtual machine or a physical host in this demonstration i will actually be using a physical host but you can use a virtual machine or i would recommend at least four gig of ram on this space maybe at least 20 gig displays cpu at least maybe two cpu to call i recommend a fresh installation you know of centos s7 or red dot or i recommend the fresh minima installation that's the minima installation of centos so uh let's go to the terminal this is my terminal um on the system i'm running on sent to s7.3 as you can see uh so this is what i'll be using oh so let's go to the page i'll be following the instruction of the on the pack stack audio park stock installation page are starting from step 0 of record site so the purpose site um is a red at enterprise linux 7 you know or sent to a seven scientific layoffs btc um this is the 64x 8664 is the only supported architecture so uh like you see also the you say the machine should have at least four gig of ram preferably this gig so on the adwords you have a virtualization extension so virtualization extension or if you don't know what that means so if i go here and i do less cpu or you see virtualization vtx so that is uh you need a virtual this virtualization extension to be home um so that is required you know for the for the nervous the compute for you to be able to launch instance uh so the first step it says uh we need to disable the firewall d so copy that paste disable firewall d i will stop it stop firewall d okay hold on i think i my system is responding slowly okay spark so uh disable network manager this is very important actually the network manager disabling of network manager because at this point of the networking of openstack from pakistan does not work with network manager or stop network manager and ensure the network service is running enable network and start network so these are very important steps i will encourage you not to omit them so so uh now to installation of the repositories so uh the first one is for red dots but since we are not using red dots we are using centos so being doing this or yum install sent to us release openstack okata so that will install and after install that we have to update do an update so it's going to update the system and the repositories so after doing that the next step is actually to install the utility itself the backstack installer so that's the install the utility that actually we used to do all this installation so copy or paste let's wait for the installation to complete so oh so the next step here actually it says step three to run park stack all the one but we are not going to be doing this because i want to do some modification oh so we we are going to create what is called an answer file so if you look here uh there's something called answer file so we are going to generate the answer file and make some modification we are going to spend most of the time in this demonstration in the answer file so uh that's what we are going to do next well let's wait for the backstack utility to complete so don't do this so one other thing that i will also be showing you is about the networking so oh there's another pga so you see something like if you're planning to do if you're planning on something fancier already document on advanced networking before proceeding so this is very important especially if you want to be able to assess your instances you know from your old network from your office network all that is your wi-fi so you have to follow the instructions here it is important so it is com the installation of backstack is complete i'll clear my screen so i will go out as a root i don't want to be root so uh the user that i'll be using is called dollar so um one thing you have to note is that this user that you are going to be using if you are not using a root must have our administrative right that is so you see the member of the wheel please um at the pseudo right so player screen a bit so what we are going to run is back back backstack we are going to do chain and safar so far then equals so equals is the we just point that to uh the the name of the file that i want to use so this is a safar so press enter so wait for it to generate so it already generates the answer file and it is using the ssh key or stated here so we let me clear the screen to an ls so our answer file is generated as you can see let's edit the file say answer for our okay i spelled masarong so let me just so this is the file i spelled it wrong but that's fine so this is what the answer file looks like the answer file is actually is a relatively large file so you see it is actually about 13 uh sorry 1310 lines but we will not be dealing with all the lines actually we'll be dealing with some of them so the first option that we are going to deal with is the default password so this will be the password that will be used you know for any service you know that requires a password to be set so i gave it default password of password oh so let's so some some of the services are enabled some of the services are disabled so we are going to enable some services so if you look at some of the services you see something like y and n y for yes and for no so if you see for example here config neutron install you say yes that is you want it to but some will have no so we have to uh enable some services so i think this is one of the new services this has not been there before you say openstack event services panko yeah let me install that actually i don't know what that service does but let me install it so that i can learn what it does one service that i like to install that i use very frequently is the heat service so it is not enabled by default so i will enable it the each service is for orchestration so and it was very useful so i think that's all i want to enable there um so now gives specify yes to install nagios monitor oh i'm going to leave this i don't really use that so um so you see if we needed to install a multi-node environment we have to you know specify things like the controller host the compute host the network cost well since we are installing everything on this machine or we are going to leave all this as it is so that's fine uh so let's go ahead um oh let's go to another thing that we need to let me search actually so there's one service that usually comes enabled by default here it's called the demo service oh i would like to disable it because at times it's it's a source of confusion i don't need it so um one thing that i would like to enable is cloud watch so let's say config hit cloud watch install yeah i would like to enable that change to yes so another way another area that i would like to make some changes isn't in the neutron area that is the neutron that is for networking so uh i would like to make some changes here so one very important thing you have to pay attention is is the bridge so he said config this option config neutron l3 external bridge this brx br ex so that is the name of the bridge that will be created by default so i'll pay attention to that name and something else i would like to enable is the load balancer the load balancer as a service i would like to enable that i would like to enable firewall as a service so so the config the ml2 types vxlan and vlan so that is fine so one area that uh i would like to to point your attention to is the is this config yeah config neutron obs bridge mapping so est net colon vrx so br ex is the name of the bridge that i showed you before it is going to be ovs bridge so if you are not familiar with ob obvs obs is an acronym for open v switch upon v switch plugin so it is a very important part of openstack so uh so this mapping is essential so what est net represent is a external network and by understanding network we mean something like our wi-fi or you know our provider network so that is what is the net represent so so another config that is important is the mapping you know between the pre-ex to the mapping or to the interface that i want to use so on my system so this is an i have another terminal for i'm on the same or i am on the same system i just log open another terminal so i have couple of interfaces actually i have em 1 em 2 em 3 m4 so i would like to use um the interface that i would like to use for my openstack i mean for for this mapping i would like to use the em2 actually i would like to use the m2 so i will create the mapping that is vr ex column e and two so like you see here we have vx column this way this and the example is it is zero but my interface is that i want to use this am2 so i'm using er ex em2 so if you don't have multiple interfaces on your system that is fine you can use the same interface i have multiple interfaces on my system and i would like to use em2 for the neutral networking i would like to keep my em-1 for ssh so that is that it is very important um so the uh that is i think that is so that the point actually that point about the networking you know that is what was explained in this document advanced networking about so the the options that we have done you can actually do everything on the same line without editing the file but i think it's better to edit the file so you see the mapping diffuser code to the bridge mapping and the bridge to interface mapping or disabling the demo or service and the email to type so that is what is explaining this document uh so then that is what we have done so what else do we can we enable let's look at some of the services that are available uh oh okay another thing that i would like to do is my swift let's go to swift so swift is uh for object storage so i actually have uh so for example here come here um if you want to create a storage for your swift storage yeah so this option config swift storages i want to use a dedicated disk for my storage so i actually have or let me come roots on this terminal oh so this is important only if you have if you want to use a particular disk for you know for swift so i have a storage or dev sde that i will use for my swift so but before i use it i have to uh i have to so this is the terminal is out there as the so but before i use use it i have to format it i have to create a file system on it so for example or the the default for acetamia is ma est4 so i'll specify that storage here so dev sd that is the storage i want to use for my swift so i have to pretty fast system on it so i'm just going to say make a fast cfs est est4 on dev sd uh okay it's telling me this is the next entire device not just one partition yeah it's okay yes so you have to create the the partition on the storage before you do the installation or else there will be an error installation so that is fine so that is the storage that i want to use for swift so another thing that actually i think we should do is the password the admin password so let's search for it or so the admin password so that is the default password the voice for logging in into the cloud so if you don't create a password it is going to use some long password and you have to change it later but to avoid changing it i'm just going to use the admin password as password so this is the admin username this is the password so yeah i think um we are almost done so like i said you you have the the most important part of this installation is actually editing this file this answer file that is the biggest that is like the most difficult step once you edit it correctly the rest of the step installation is or just it is going to be very small but this file is long so it's a very long file and you might not be able to you know go over everything so but um yeah so you you have i think you fro by the time you do installations you know regularly frequently you'll be familiar with this file so i just want to make sure that i've enabled the service i want the mariadb glass singer oh teach so i think the the new service that i see here the new one was the panko the pranco service i have to find out that those uh the service i don't know i think um that's the one new service i see in this document i mean that defaults from the previous installations that i have done so yeah i think um that is that is all we have to do um i mean look actually there's one thing i would like to enable these repository specify yes to enable the apple repository so yeah i like to enable this ripple no actually i want to okay so so i think hold on let me one more thing one more thing that i like to do this is not recommended actually but i like to enable the debug mode the demo mode is if you encounter any problem you'll be able to you'll be able to um get a lot of information about your problem that's the debug mode so i like to run it in debug mode so what's it is actually not very necessary so that is it about the editing of this file that is the most important and the i think the maybe the hardest part of this installation so we have edited the file so the next what we have to do is uh just run the pack stack again but this time around we use the dash dash as a file and we'll specify the file that we created so and the installation is going to start yeah so let's do it so ask me for the password or i'll put my password and um the installation is going to start the installation so let me look at the time the time right now is 1854 or i mean the time is 1854 oh if you can see my time so um i i want to see how long it's going to take it's going to take a couple of minutes actually so but you if you want to do your installation you don't need to you know move away because at times there will be some there might be an error actually so that you you're going to see but it's going to you'll be able to tell from the install from the information you know what's going on for example you see it says preparing is preparing other services or it's doing some testing and or basically no starting is you know it's testing um some of what he has done so it on the back end it is used in puppet so puppets is the if you are not familiar with puppets um prepared let me go to the better works website okay money first let me show you an example of what puppet manifest looks like i have worked with puppets before it's a very good tool i'm just opening okay let me go back this is taking a long time i just want to show a basic example of what puppet manifests look like so this is an example of puppet manifest actually if you can see so this is is creating a faster file you know insurance file and show no you can check it out it's very nice thing no so that is what this utility uses at the back end so i'm going to stop this recording here i'm going to make the second part where after the installation we're going to log in and do some administrative tasks you know like creating our network creating our router launching instances and they're basically familiarizing with the new openstack okata version and let's see what's what are the improvements or what has changed so far so thank you for watching bye see you in the next part
Info
Channel: dolastack devops
Views: 4,517
Rating: 4.8095236 out of 5
Keywords: Openstack Installtion, Packstack, Openstack Basics, Openstack Networking, Openstack, cloud, cloud computing, openstack cloud
Id: w6ZpmSLvKcM
Channel Id: undefined
Length: 26min 21sec (1581 seconds)
Published: Sat Mar 25 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.