Openshift Installation on Centos-7 (Master and Node) Part 1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
a little goodie to you today I'm going to talk about installation of openshift so the version of OpenShift I will be installing is called open shift origin so this is the version that is made available for the developers and anybody down to try it out so open shift or so this is like the official definition is an open source content application platform you know from reddit it is based on docker containers and kubernetes so basically open shift is a platform as a service or where you can deploy your applications inside container of the most popular container out there now is docker so the application is deployed inside docker and or deployed on one of the node so I'll I'll be doing this installation I'll be installing one master and also one node oh so are we using two virtual machines so if you have a physical machine you can use those both on washing machines is good enough for the demonstration so I recommend that you install a fresh installation of into a seven on both machines or minima installation locks into a seven or make sure you if the machine is the proper IP addresses and DNS names and also you know talking about the requirements there's a model coming from the River fishery page so this is the official site or pursuits and some of the recommendation is for you to have eight gig of ram to watch a cpu that for the master and maybe that'd be at the giggle ugh add big space and also on the notes you know you have docker one watch I show to you a stick around 16 gig of a big space so that is that a circus to requirement so both here we'll be using Center seven north rate observer for the installation so this is tradition is based on unstable to be using the or the solution as based on a stable and I am the or the get URL so and you can also search for open shift OpenShift origin so she's booboo openshift origin on get up so it brings you to this page open shipped origin remember that under the one we are going to be using is a openshift taxable so there are different methods of missiles exploding openshift good I think all these are single based installation needs oh it's straightforward and this is what I'll be demonstrating in this or video so we fear not familiar with decibel or you don't necessarily have to be familiar with a civil but it's going to help if you actually at least know one or two things about syllable - you don't need to know impossible to do this installation so um so like I said I have two virtual machines so the virtual machines are actually my open stack so I am the master and keynote so and I have logged into with them so unlock them to the virtual machines is opposite of master da Genova local under the the other one is appreciate think okay lemme oh I need to set my host name properly because a lot is important for this because the installation is going to make use of the phone do swing you know food may be generating from certificates of HTTPS certificates so I have to give you the proper name to open v that does the Roscoe so you have to make sure you set up your all links and also configure your DNS so let me go figure my DNS let me get my IP address is 1.10 here so one is to the want to see it 1.10 and also puts the dns name for the master so i 1.5 so semi 50 see 23rd so slim so let me put my master then I'll copy these two over to my Moscow so that is for the hostname so some other commented I have is to install some of these packages the April little release oh that is the repository or docker unstable and get so unlawful network manager so this these packages are you know expected to be installed so network manager suspected to be enabled and started so let's do that installation is to the police to her possible and get that is on the master so the master can also serve as we note fool and that is panel I am installing or local - all saluted DD the master can also serve as one of the notes although or in a production environment you want your master just to be a separate machine and just one big nose but you can also have must also to participate in you know being a node so here you so waiting for the installation so like I said I'll be doing this installation based on OpenShift estable or this is the URL so under I can go there so this is it I have to clone this repository or I have to clone this repository and the the particular how that we are interested in is in playbooks playbooks or py whole you have to come to payo and come to config dot e mo so this is what we are going to be using this is this file actually this is the program we will be referring to so let's clone this repository are you wait for the installation to complete then you have to call the repository you so on uploading the repository something we have to also do is after talk about is beginning venturi file so the inventory file is actually our way muscle like I think like muscle the the walk is going to be so we have to create an inventor file so if you don't know what a new ventricle is that is an unstable time so I'm going through the entry file after all so oh just one thing went retractable so inventor file is the file where you know askable will refer to you know when it's running so so this is if you want to learn about photonic retro colleges you know all this is where it isn't you can get one formation here so we'll be creating an inventory file or the first stanza refer to you know OS ev3 that is like open shift or the addition that is version 3 so the children of this master connotes letters or damming and also we are going to define some variables so part of the variables will be the app a civil SSH user so the SSH user is a the user that you know that you want to run the installation app so and I think that's one a little issue also include when you are installing your oops and toys make sure you have a user that a user week with that may write so make sure you create a user with administrative right so you can do that during the installation or you can also do it after the installation actually so let's make sure you values us Oh at this rating right then this is not necessary anymore so then acid will become absolute become you know toxic these or dismisses of you know becoming the roots become it be happening so the installation is done so before I actually do a conclusion I would like to reboot the virtual machine so rebooting this virtual machines um I want to reset my Ossining because on the domain is going to change so just give me um one or two seconds to do that so both um talking about the inventor file so an inventor file is like the most important thing that you have to do and you have to be very careful because I suppose consume refer to this file and all the installation in a way you know with you know will be automatic and all the other references are going to be to that event referral so that is why it has to be properly created so we tame for the machines to reboot and login with into yogurt it wouldn't be me you know this logging so like I said after we do my clinicals determining my string to the low value car Sushil in Apple stock maybe this is one of the entry might have come in contact with there's a way to make it paneling but oh let me just do it so this is the proper opening is very important are you hugging proper awesome and the IP address set up so now creating so by default when you install a table there is a there is an inventor class so what we don't we are now going to be using this so let's let me copy this file so let me just copy to back up here is everything here so now we have to start afresh so creating the the inventor Charlotte SL is one of the most important thing about this installation so the first step let me just complete so that this will be in faster so with the first type is o is ev3 or clone children and the bit children CR the mass the masters and the node but we have only one master and only one node would if this P refers to us masters are not so and if I proceed let me actually show you there's a so under D when you come to open shift so when you come on the installation and configuration and commander installing if you go on the advanced installation so the advanced dissolution is what we are doing right now so you see that it says it is dont using a stable playbooks so um so the this is the inventory file that are been referring to and so all the T the variables that I will be talking about you know the definitions are here so in case maybe there's something is not clear to you you can call me and look at all these of our variables and so that you understand the definition ok so so this is the first part so the second part I'm going to copy is the variables also yeah that's all place ev3 : bus so one night we have to define the variables so the first variable to be defined this askable ssh user with this is equals dollar so the lies my the host neighbors or the user name and this user name you know has you know can become routes so fancy ability to become routes so I'm staying true to the next is a deployment type to the deployment IDs or kind of deployment so it is very using the original version so all the another parameter that can be is enterprise so if you if you if you have the subscription for enterprise in solution we can put Enterprise here what if not oh you can do origin the origin free so the next so this is also very important especially oh you know when you're completing this deletion for creating Authenticator authentication so this is important so this is OpenShift says OpenShift master identity providers so what that means is that the providers we provided by using these HTTP HT password off to log in true or challenge so basically what this means is you know for authenticating to opening we are using the power the httpd password or provider so that this works this means so you are going to see the importance of this at the end of the installation so then the second part is containerized the personalize is true so that means so it's going to use all you know containers to deploy some of the packages that will be installed then the openshift release to the release the version we are doing is 1.5 the next openshift image tag so so so important so what's on 1.5 the 0 in s this OpenShift public hostname so this is the post name or let me have to change this to the bios slow maril of slave so to copy my offload and come here so this is the host name of my own master and OpenShift master default subdomain so I have to put we claim of a master window yes so after doing that then have to do so the another scandal here its master so this is weird you know defining the master so right now we have only one master who just put the host name of the master here and the notes the node so this would be like I said I want the master to also be part of the of the open-loop so the second one will be all the the other node that I have so you notice them using a token ship to master all dot the rascals come full core does like the handbook I think this the mini show you this and example here so this is a very good example of the matrix are you know for setting up a single master and multiple nodes so this is basically wood or we just get a single master absolute basically so in a way to note in the sense that it must is also a node to the one master taught to note even though the master of a part of the node so I hope you get that so R so that is that so whoa something else you can also put if you want to to label the nodes so let's say I want to put the bill funding nodes so concretely those so you logo can it's all videos are you know things that you can that you can use you know to basically quickly refer to the node so here cafes or let's say oh let's say this request I will for the other one I can say hey the case is so it's probably that is all that is that so if you want to refer to this document here so you can come to this URL under I'll put it on that e in the description so so that is that about creating the inventory file so like I said inventory flurries are one of the most important thing that you have to do so and that is what we have done here so another very important thing that we also have to do is actually setting up SSH keys or password so we have to set up SSH keys you know that I suppose we will use you know / xfh to ssh to both of these nodes so we have to create the ssh keys so and we have to create it on there for the user dollars so or this is use a dollar here so Oh both I have an SSH key that I used to login to my virtual machine so I'm going to copy those with that / work or for the sake of people maybe or I hope you know the creative SH keys but if not like any commander of the uses of the SSH key chain and if you generate key you know for for the product particularly sir and you make sure that the key you know or is available on both machines so that is because unstable is going to rely on that key you know to login to oh you both will be machines so but like I said I have an SSH key that I used to login oh so I'm going to copy copies over to mine okay got to the machine so thank Allah stop soon I'm also going to copy to the 1.8 so by journalist so I'll copy hit from time copy so here so this is a shift key so let me change the Commission and that so mostly I need it on the master but this is a shift key should be able to login to also denote the note our diet we are using so that is one 10 years you'll be able to do so let me clean the let me call the repository copy so including the repository so like I said me the file that we we need to refer to it in worship decibel playbooks of yahoo or figs of yemen so this is the oh this is the opal or this is your point shift-click book that we are going to use any command that we are going to run so you see now I'm running out to run this command and running it at the last user to a lot to route anymore so and they also run this command is you have to use a stable unstable playbook - then - I - I to specify the on ventricle and also we have to specify the playbook so this is the playbook we want to run a tax rate and laterally also certifies the private key so the private key is the key that is needed to be able to log in to both of this machine so our xsh and the last option I like to put this value V value V for bubbles so so that we can get information about the installation laxity is going so or - - private key specify the key on - three variables and this is the our playbook that we are running it is the inventor file and this is the single command that you want to run so let's do it so this is totally shot it's gonna take think about 20 minutes so at some point I may have to end the video and you know to say compared to that in video me to learn so all right now is trying to log aim into the you know create the ssh keys you so you can say what what it will happen there was you know eight huts login into SSH keys and it was asking you know to you know get the fingerprint of those machines so the SSH key of thing is very important if you don't know how to do it you can comment and now maybe take down to split up do it oh I hope you you should not do it Center pffh keys so the installation is going on and you see it's installing a lot of things she's going to do a lot of configurations on both the master and he and they note and it's going to take a couple of minutes so um what I would do is maybe Oh it will stop the video and make a second part we you know I will do the you know the setup for the other configurations that we need to do so but for now if you have done everything up to this stage you just got to wait for the installation to complete you we are not going to do anything anymore until we in social complete so I will stop the video and I'll make a difficult video so let me know your thoughts let me know if something is not very clear to you or so that second explain thank you for watching take care bye
Info
Channel: dolastack devops
Views: 28,100
Rating: 4.7959185 out of 5
Keywords: redhat, docker, cloud, paas, openshift, kubernetes
Id: wWSRpaosc-M
Channel Id: undefined
Length: 31min 52sec (1912 seconds)
Published: Sun May 14 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.