Visit the Mongo DB for Administrators course recordings page
WEBVTT--> Okay, cool. Say that again, sorry. --> Okay, that's fine, no problem. --> Yes, activities. --> Who brought the Mongo divina? --> Let's see, try again. --> It failed to connect after we, after that thing in Mongo. --> It's you, minus D, refused, it failed, right? --> And why is it failing? --> So, just do a control C. --> Tail, space, manners, F. --> Actually, no, no, no. --> So do apt install LNAV. --> So LNAV. --> AAPT install LNAV. --> LNAV. --> AAPT, space install. --> No, no, no. --> So apt APT, space, yeah, space, no, no, no, install, and then space L for Lima N-A-V. --> Yeah, V. V, V for Victor, and then enter. And then L-N-N-A-V, and then link to your Mongo.org. So L-N-A-V-Space, --> vah forward slash vah for slash log then mongo db then mongo db dot log uh for slash log so it's var log not var mongo uh no no no so far --> forward slash and then log forward slash and then mongo yeah and then mongo something i think it's mongo. --> or something yeah please take it up so i think up arrow go --> up there's nothing red which is interesting keep going up up up 29 that has in --> yesterday keep going up 1600 hours 17 there's around 4 right when you're --> on this okay I don't see any errors okay that's fine you can do control C --> do a status again let's see if it can give us so it --> It says their date that 1945, or 719, sorry, environment variable, MongoDB config override. --> Can you, does it go to the right? --> Because I want to see what it says, Mongo variable something. --> Process management is able to force Mongo config override Norfolk is equal to 1. --> to one. That's the main issue. Okay, do a control C. Let me try and take over. --> Let me take over your machine, but I'll tell you what I'll be doing. Okay, is it interactive? --> So what you did was you changed the path, correct? I will change my screen just now. Just one second. --> Okay, Faith. What's up? Seven point? Yes. --> Yes. It's just the reading part, but now you're going to do the sharding. --> So it's just an introduction to sharding. What you're going to do is from number three going down. --> Yeah. In set for sales, what error are you getting? --> Sorry, say that again? --> Mm-hmm. --> And you've got the answer in front of you. --> Just go up a bit. Just go up a bit to your screen. Just bring up the top part of your --> No, no, no. Not that. --> Go on the right and bring the screen up. --> Go up again. Keep going up. --> You did not authenticate. --> Yeah, you can try and go up. --> You need to go up the screen. --> Remember, it will only show you what you ran in the DB, --> not when you ran on. --> Just go down a bit. Just go down a bit. --> No, that's fine. That's very fine. --> Authentication field. --> Your password. --> Your password. --> when you when you changed it what did you change it to go on day go on exercise day one --> exercise day one day no not number one day one so go down the third one from the last one --> exercise day one yes go to the very last part of it keep going keep going um just go up a bit --> go up a bit go up a bit is it exercise day --> and go up a bit. --> Go to number five. --> I think it was number five. --> Wait was the very last part of it. --> Somewhere the last part, I don't remember which number, --> but I remember there was the very last part --> when we were saying to change the password, --> this is what you run. --> Go on security and monitoring? --> No, no, no, no. --> There is one that I showed you guys at the end of. --> later --> when you say that again --> go down --> go down yeah go down --> the way it says --> troubleshooting if you run the last one --> did you not run the last one --> yes so change your password --> to that on your command line --> yes or where it says --> minus p right --> put that password --> so you see it says --> a Mongo SH minus you admin minus P --> change that secure admin one two three to the to the one that's on the thing just copy --> the new secure password one two three that were yeah that wedding yeah without the --> courts try it let's your life is solved my friend all right cool um yeah did you change to --> sales the use sales do you sell so so when you get errors sometimes the the answer is --> the error in itself. For example, it's just, you just needed to authenticate. It was actually --> telling you that it needs authentication for you to be an inset because you've got authentication --> and able. Yeah. Thank you. I want to. All right, cool. Let's go back to Colorello. --> Okay, I'm trying to look for where you put that slash DB slash something. --> The data. --> Is this not weird? --> Which location did you create the DB? --> The data slash DB? --> Do you remember? --> Where is your... --> No, no, no. --> So where is the directory that you created? --> That's the one that... --> In the root folder or... --> I don't seem to get it. --> Oh, there it does. --> Okay. --> DB is got the right permissions. --> New state configuration replicatives. --> Replicate is enabled, old state, confere pre-start, accepted. --> See that it's not failing at any point. --> It doesn't show the error that it's failing. --> Let's do a proof. --> Yeah, that's what I want to try and do. --> And yeah, it's interesting. --> Yeah, continue with it. --> Let me try it on my machine and see. --> Probably there's a missing step. --> seven i think six you can skip it it's got i think seven six has the programming languages --> of which it's not really something that um yeah you can just take over let me just uh look at --> these steps yes seven sharding yeah mm-hmm okay hold on let me go to your machine --> Hold on. --> I'm on your machine. --> Yeah, it will definitely won't connect. --> Go back to the instructions. --> So you created the folders, but did you run starting of the config servers? --> Because you still need to do this part to start those config servers on the specific port. --> Then you can try and log into it. --> What I see you just created, it's just the directors that you created so far. --> Yeah. --> Enter. --> Yeah. --> So you see, it has started. --> Now you can do that Mongo S-H port something, something, yes. --> Then now you're connected to one of the replicas, the config servers. --> And then you can now initiate the replica set now. --> Yeah. --> All right, cool. --> Is that, is it faith? --> What did you break? --> Okay, please make your, what do you call this, your terminal bigger? --> Okay, just go up a bit. --> No, no, no, so you're just putting your screen up a bit. --> It doesn't go up. --> I want to see, so Mongo server that, did you create the folder? --> Then you didn't. --> Just go back to your, just minimize, make it, make your terminal smaller and then go back to --> thing --> so shard --> that --> go up a bit --> you're on number --> you're doing shards now --> did you do this and it's --> it's all good --> this is --> yes --> yes --> and you did number three --> that's where you are now --> okay create the directors --> first so just copy that --> and then --> just paste that --> enter cool now go back and then copy the command to create the to start the --> config servers so the next one is creation of the config servers then now you go --> to the next one I think you're going to log into one of the the one that's --> got port 27019 and then you initiate the replicas replica set no problem --> Sorry guys, I'll be with you just now. --> Are you now good faith? --> Is it now waking out? --> Alright, cool, no problem. --> No, you don't really need to be root or anything. --> Just do Mongo S-H. --> Just log in, so no replica set to get been received. --> Wait, do history. --> So you've done 22, 23, 24 and 33. --> and 33, okay, that's fine. --> Get into 22. --> Primary day. --> There is your replica set there. --> You've initiated in this one. --> In 22. --> Okay. --> Now go back to your, to the GitHub. --> So you did that, you added 22, right? --> Just copy the RIS. --> It might be, what do you call this? --> an issue with how it's been written, actually, you might be right. --> Just copy the RAS ad, don't copy that, just the next line, yeah, yeah. --> Go back and try it, do an add, yeah, yeah, and then do an RS dot status, and then in brackets. --> You need to add the brackets and the thing, brackets and, no, no, you don't need to add that. --> status and then brackets and then semicolon let's go up a bit at the screen a bit yeah so yeah --> you're right then then there's a step that needs to be fixed go up a bit i'll show you something --> don't go too far um yeah you so you see there it says primary where it says members and then --> primary go down so just close to the bottom of the screen yeah it's a primary there right --> you see it says local host 27022 right that's where you initiated the replica set right so --> day it's primary now go down a bit again 23 is secondary that go down 24 is secondary and then --> 33, I think, it's secondary. --> So now your cluster is, your cluster is good. --> So you're right, there needs to be some, --> we need to remove the part where you log into 20. --> Is it, it doesn't, no, you logged into 22. --> No, into 24. --> Yeah, you need to remove that part. --> I need to remove that part because you need, let me, let me just, --> you need to add. --> So the moment you log into this one, the very first one, right, --> you're going to initiate the cluster from the replica, --> cassette from day, right? --> All you need to do is just need to add --> this to this cluster that you initiated. --> That's what needs to happen, yeah. --> So this part needs to go off, this one. --> It needs to go off. --> I'll fix that. --> Yeah. --> Same thing. --> Okay, wait, let's see. --> Go back to your terminal. --> Let's see. --> 27 or 10. --> I could not find matching --> host preference --> just go up your screen a bit --> let's just confirm something --> go up again keep going up --> we want to see 21 is secondary --> 20 secondary --> 19 could not find a member to sink --> from okay that's fine --> okay go down --> go down go down --> just hold on you exited there --> and then you did the mongo s --> it's on port 2019 and then 2010 okay cool --> go down I think your biggest mistake is you're using mongo s h not mongo s --> keep going down exit okay but you're now mongo s --> go back to the instructions just go up so --> you configured the router and then fire mongo --> Shard replica that, Mongo S router, and then you get into that, and then you add the shards. --> That's weird, okay, let me take over a bit because it's supposed to auto, you're supposed to be able to add the shards from there. --> I will say fail to satisfy you could not find host read preferences mode primary two. --> for set shard one replica set okay let's go to the setup of the shard one replica set --> one shat one shat two shot three the primary should be twenty seven or two right --> and two two who screen am i on oh oh sorry okay --> Okay, I'm now in a screen, I'm not, wait, I just need to, yeah, so when you run this nine, yeah, wait, hold on, hold on, hold on, let me just, okay, no, so it's fine, Mongo S, H is fine, now, I mean, Mongo S and a shard, and we've got 27, 22 running. --> correct okay let me test the shards and see what's happening with the shards here and then when --> why is the shard not connecting uh-huh your shards were not up ma'am that's why it couldn't --> find a primary right 22 being the primary that's fine uh why would you say it fail it will --> fail okay just hold on I'll come to you just hold on a bit so now we've got a running --> Mungo S, but this gives us, okay, I think 2019 is up and failed. --> So I want to check. --> So we've got 2010, okay. --> So Mongo S with our replica sets 19, 20, and 21, which is our config server. --> Config replica set, right? --> Should be the same one with the config replica set and there's 1920, --> Okay, that's fine. --> Now, where is that command? --> And it should use port 2010. --> Okay, that's fine. --> Now, let's kill this one. --> Let's kill this Mongo S and rerun it again. --> And that we normal have a Mongo S --> and now we can rerun Mongo S. --> Let's go back. --> So we've got a running instance of Mongo S. --> Into that, into that, which is fine. --> And add one. --> Come on. --> So your shots are not up as yet. --> Does it make sense? --> I'll come to you, Colorfellow, just now. --> Let me just make sure that the stage is working fine. --> A member of an existing is already, --> a member of an existing one, so it should be good. --> be good we don't need to edit and then this one we don't need to edit also so I need to --> fix this and remove because it's a replica set so we should be good to go and also this is --> shard two replica set wait is it supposed to be shard two replicaset in 23 23 all of them are --> replica set 1 so there's a typo there okay cool and four okay cool and then that should be good so this needs to oh there --> please note this needs to be one and one but i'll fix that and then let's take our sharding status so --> our sharding status, right? --> Shard replica one set, right, which is okay. --> Where is it? --> We added there, and then our status is here. --> So cluster ID, the shards, we've got shard replica set one. --> So we've got locals 22, 23, 24 and 33, okay. --> active mongo s's i'm not sure i think it's the version and then auto split enabled then you've got --> the balancer but it's not running so it's not enabled which is fine then shared data distribution --> you've got uh shared name one shot one replica set and then you've got often documents none --> on document 6 --> on size 594 --> and all that stuff --> and then the databases --> ID config, primary config --> partitioned is got true --> and then shut keys one --> unique force --> balancing true --> and then chunk metadata --> or sitting in shared one replica set --> so which should be good --> where is called a fellow --> I'm going to change the tab --> faith you can continue --> you can go to your terminal --> let's go to your terminal let's see --> that's call a fellow yeah --> okay you can do that --> okay cool --> add the first one let's see --> okay the first one should be added --> I can see you've edited it already --> but just to run it just to be sure --> okay that's fine --> do an up arrow --> change the port to 23 --> and then change, yeah, just change the port to 23, then enter, then change the port to 24, then enter. --> And then you can check the status now. --> I think it's S-H, not R-R-S. --> It's a shad. --> Yeah, boom, there we are. --> So the error there, just go back to your GitHub, to your instructions, yeah. --> The error there is this needs to change to one, and this needs to change to one. --> so I'm going to I'm going to fix that now it was this part that I need to fix and --> and removing this part so I'll do that now on the on the repo quickly --> Austin are you sorted all right cool let's take our lunch from 1230 today I've got a --> meeting from 1 o'clock to 130 so if you can please take lunch from 1230 to 130 --> click a 1 at the shards that's fine okay I think you should be good to go --> going to be interesting. --> This is that colophila. --> The balancer, okay. --> Let's go back to your instructions later. --> Okay, let me just confirm that command. --> Yes. --> Mungo S. --> Exit is? --> Yes, exit. --> And then Mungo SH, --> port 2701010. --> Zero. --> Mongo S. --> Yes. --> You use Mongo S. --> Okay, then copy and then check that. --> Mongo S, yes. --> Remember, Mongo S is the query, right? --> And it is the one that distributes the queries according to the shards, the different shards. --> It's the router. --> If that makes sense. --> So you are currently in a shard and you can't take the status of something that's running in a shard. --> that's running in a shot you need to be in what you call this in um in mongo s the router --> that's where the balancer is what i probably need to add is that after you take the monitoring --> of the watch because after you do mongo stats change to the router which is mongo s and then --> you run the balancer yeah just take that mongo stat and then change the port to 2710 that mongo --> start command and then let's change it to 2710 let's see what it brings no no I'm saying --> the command and run it on the terminal yeah so exit there exit and then go up again --> because it's mongo stat not mongo s h moggo stat yeah no stat and then port change it to --> 2710 so that's your that's your mongo s right um just go back to the instructions --> I want to see something. --> So it says use MongoStat to monitor, query, routing, and performance. --> So that point needs to change. --> That's where it sort of confused everyone. --> Yeah. --> That button needs to change. --> Please copy that. --> I want to see if there's any difference. --> If you just do it direct or you put the host there. --> And then control C and then paste that. --> and then change it to 2010 --> 2010-0-0-0-0-0-0-0-0-0-0-0 so it's running on one of the shards --> yeah that's why it's it's running it will run anyway because it's one of the shards --> it's one of the replicas and then enter it will still run --> but the difference is that yeah just --> control c yes so you see here it says --> the replica set it's trying to run on the replica set it doesn't say replica set which means this --> is actually on the router on the mongo s if that makes sense so if it's let's say uh let me take --> over your screen quickly and then if it's let's say we've got a 23 correct yeah so it will still tell --> you that it's part of the shad one replica set right that you are monitoring if it doesn't have --> any replica set here it means it's running on the router with mongo s make sense because if --> you see here right on the set replica right it's got this whenever it's a replica set it's got this --> column i don't know how you can this part right when it doesn't have then it's on the mongo s that's --> number one right number two it will keep going one the one zero one one zero one one on the what you call this --> on the router right but on on any replica set it keeps changing the command 13 16 15 and whatnot --> what the command numbers mean i i don't want to lie to you i'll tell you after lunch --> but that's how you can pick up that replica set now earlier on we created uh config server --> let's see if we can run this on the config server right so on the config server we used --> part 19 right for example is it this one no it's this one right let's see if we can monitor 19 --> and see what it gives us so you see it says config replica set so it's either it's a shared --> replica set or a config server replica set now the difference would be when it's a mongo s --> that you're monitoring it does not give you that it's a it's a config replica set or it's a --> shard one replica set because the mongo s is not a replica set we didn't create a replica set for --> it i know when you're hungry even colors change like you're probably seeing red right now --> yeah let's take lunch and then we continue at 1 30 cool all right no worry --> Why? --> Put. --> Yeah, it's not a putt. --> Watch a time with this. --> My cousin, sister's like, --> who were on number five? --> Basically, --> it's the sign of those --> it's a kind of flows off, --> it's the animal. --> Because of ego, --> they've also advocated this thing --> and take a step behind. --> Can we not take a step back and say, --> where you were --> a bit sensitive? --> At the time, --> because of the things that you validly --> going through. --> in life and then umud was she in there that rubbed you the wrong way and you overreacted i'm just saying --> can we take a moment to think also on the she raised is that she there's defamation like --> things that have been said towards her by her mom claiming that she she beats her up remember --> afternoon basil for you i'm all right thank you i don't think so yeah i think so i think so i think --> Is that okay? --> You're on your side? --> Awesome. --> Yeah. --> Yeah. --> Okay. --> SRE DevOps engineer, yes. --> Yes. --> On the 7th? --> Yes, the 7th of February. --> Yes, I did. --> But while you're actually speaking to me, I don't know if it's relevant or because then they can move me. --> So contract with the Zyberfox just says client. --> It doesn't really say which client. --> Is it because then, because they can move me to another client, if it needs B or? --> Yes, yes. --> I said, yeah. --> Okay. --> Yes. --> Is it four days or two days? --> If I'm at Zabafox or at Investech? --> I think it's two days. --> I would need to confirm that, but I think it's two days. --> No, no, no. --> At YvesTech, the other days are remote as far as I understand. --> No. --> If I understand well, it's a remote job with some days at Investtech office, not CyberFox. --> No wonder why I am even meeting, what's her name again? --> Is it Anastia or a natasha or something? --> Yeah, the lady, yes, meeting at InvestTech. --> So as far as I know, in CyberFox, I know, I know remote. --> And then two days, if I'm not mistaken, two or three days at the office which is investing. --> No. --> I will need to keep that contract. --> No. --> Okay. --> Just one. --> Let's see. --> He's hyperfax way you can direct. --> Where is there we are. --> No, this is the league declaration compliance. --> What is the contractation? --> Payroll. --> Sorry, it's on my laptop. --> To contract, there we are. --> Okay, so --> suited otherwise, renewal cancellation, --> key information. --> Do you want me to share my screen? --> Let's see. --> Yeah, you already know the stuff, so... --> Let me know when you can see my screen. --> Okay, cool. --> So the first part is the fixed term contract. --> I need to sign it by this day, renewal of cancellation. --> I choose to extend or cancel the contract. --> Okay, that's fine. --> This one is a fixed term 12 months. --> Fixed term nature is based on specific period requirement. --> Okay, that's fine. --> Key information place you at one of the clients --> for a stipulated contractual period. --> fine. Contract renewal may choose to extend. Okay. Placement and or movement to new client. --> It is possible. That's fine. I think we discussed that. Completion. When existing clients --> causes Koblenz says that movement to a new client, then, okay, this is just movement, right? --> Additional responsibilities. You could work overtime. Okay, that's fine. Over time needs to be --> approved. Any hours worked without approval. That's fine. --> client mandatory break period is 15 yes yes mandatory break period and between 15 to 13 I don't get paid in essence correct okay that's fine and then you'd be expected to work with cyber fox at this portfolio client based during the period as this is a mandatory period okay this is for the December part yeah probation three months from the date of fixed term contractual appointment --> okay that's fine may i transfer you to another location department affiliation that's fine --> compensation changes in your compensation compensation packet annual leave um that's fine --> when you intend to take an annual leave this and that responsibility --> in the view of your position and office you will be expected to perform all duties okay that's --> fine specifically recorded that you should not arrange uh in activity engage in activities that have --> or will have an adverse impact on the reputational image of the business company. --> Okay, that's fine. --> Engaging in conduct that could harm CyberFox, --> making public statements or representation, acting in a manner that creates that. --> Okay, that's fine. --> You may require, so activity that you may require to incur travel expenses --> with regards to CyberFox work and or their clients work, --> which you believe best as per the CyberFox. --> that that --> sub folks are committed to ensure --> integrity in all aspects. Okay, that's fine. --> The policies will be made available to you --> with this agreement --> and consequently are required to understand --> the scope and intend. --> Okay, that's fine. --> Polic is updated, modified on a periodic basis, --> consistent with the point D, --> which is committed to ensure --> integrity in all aspects. --> They are expected to comply with the policies, --> okay? --> Policies updated, modified only --> periodic base and new policies consistent with point d above okay specifically specifically recorded --> that the policies form part of the agreement okay that's fine conflict of interest which i understand --> not take up any independent individual assignments in any capacity whatsoever directly or --> indirectly without the express written you may not undertake individual i can't do any other --> work but this is related to anything IT related in my career okay okay all right cool --> it is agreed that you are not during your employment for a period of one year from --> session of your employment with that any circumstances of all the reasons for the --> session to not to solicit induce or encourage an employee to terminate their employment --> any customer or vendor to move his existing business with that, okay? --> Any existing Zyberfax employee, potential new employee, --> to become associated with or perform services of any type of paid party. --> In case of any conflict or doubt, please discuss the matter with your business unit head. --> You acknowledge that each of the restraints and undertaking --> and then close five, okay, that's fine, confidentiality and undertaking. --> The confidentiality information may be in respect in business, technical, commercial systems and know-how trade secrets. --> Yeah, that's fine. --> Shall not disclose to others or make direct or indirect use of confidential information. --> That's fine. --> Shall not ensure that all measures necessary are taken to secure, okay? --> Reproduce, transmit or store any confidential, okay, retrieval system. --> Employee shall only permit access to confidential. --> information okay the employee shall obtain undertakings from the employees professional advisors --> fair to that if the employee is uncertain whether any information is to be treated as --> confidential upon termination shall retain employer all documentation information and equipment --> okay that's fine news that he agrees to sign a separate data protection confidentiality --> okay that's fine the employee acknowledges and agrees that the employer shall by --> operational flow become one of the copyright that's fine --> Employer, employee hereby codes and signs to the employer, the copyright, okay, intellectual property. --> Termination of employees' employment to the employer. --> Employee shall return all the employer's property, okay, that's fine. --> Property ended to an employee custody during the period. --> You will be protected and careful by that, that's fine. --> Responsibility of all employers' property, yes, that's fine, understand that. --> and authorizes the employer to deduct from his salary any amounts owed employer for losses or damage that's okay non-compete in the course of your employment you'll be providing service client that that during which process you would be handling sensitive information including but not limited to key customers of that that's fine you acknowledge and recognize that confidential information available if leaked would cause imperable harm to Zabafox and its protection confirmed that for a period of six months --> after separation of your employment, --> you confirm that a period of six months --> after separation of your employment is about Fox, --> you will not accept any offer of employment --> from a customer and client. --> Now, doesn't it clash with restraint of trade? --> Yes, yeah, that's fine. --> Yeah, yeah, yeah. --> All right, code general, --> you want to have not provided us --> with any false declaration. --> not that you are required to form us if there are any agreements or are written which you have entered into which may relate to or affect your commitments your employment terms may be specific on that employment term supersede and replace any existing agreement --> you are not prevented by court or any administrative judicial order that's fine shall comply by all policies okay that's fine place of work depending on a particular project the employee may be expected to work at the employer's office or at --> one of the employer's client's premises. --> Okay. --> Yes. --> The employee is expected to report to the above address daily unless otherwise stated. --> You know what? --> I didn't read this part, but this was not the agreement. --> The employee, the client, yes. --> Wait, the employee is expected to report to the above address daily unless otherwise stated by the CyberFox HR department. --> Repeat your previous statement. --> Yes. --> Yes. --> Okay. --> Yes. --> Yes. --> Wait. --> This physical address that's written here is CyberFox. --> Not. --> Yes. --> Okay. --> But I then was told that I will be going to invest tech, which is the client. --> Oh, that's fine. --> Yeah. --> Invest tech, yes. --> So the very first initial agreement was two or three days at the office, which is the client, --> and the rest is remote. --> Because as far as what's his name, the Indian guy, I'm forgetting. --> Devon, right? --> He said to me, the client wants somebody that comes to the office, two days. --> three at most, but the other days are remote. --> So literally that's been thinking. --> If I had known that it's daily, it's either at the client or Zabber Fox, --> I wouldn't have taken this contract, not because of anything bad about going to the office --> or anything malicious, but I've preferred remote working because I'm more productive --> when I'm remote, right? --> So it was a situation where two days I can be in the office. --> no problem but I've got another two or three days to be able to concentrate on my --> work when it's quiet and all that client yes yes because because his question was are you --> comfortable going to the office two or three days right it's been quiet then I'm like no --> two or three days it's okay and the rest is remote hi yes yes I'm okay so the agreement --> basically was I work based on what the client wants, right? I get to invest tech and they say --> we're increasing from two days to five days, then no problem. My surprise is me reporting to --> Zabafox before. That's where my space is. That's all. But if client, yes, yes, if client says, --> I want you in the office five days, right, I'll go five days, right, with no problem at all. --> But as for the initial conversation that we had, it was a situation where it's remote, right, with a two days or three days based on what InvestEK wants, which is the client, but the rest of the days is remote. --> Initial conversation and everything, yeah. --> I think the alternative, which is address of the client, that I understand, it's invested. --> We spoke about two or three days, about that reporting to the Zyber Fox office, I don't think --> it's an issue, but that was never the initial chart, right? --> That was not the initial chart. --> And I think while I was going through, in my mind, I need to report to Invest tech number --> of days. --> The other days are remote as per the initial chart. --> Place of work didn't look deep into it. --> I actually looked at other things you on the stand of trade and whatnot. --> That's no problem. --> When Investex says that or when Zyberfox says, --> for me to come to Zyberfox for a few hours, that's not a problem. --> Look, I'm not saying I don't even want to step there. --> We're on the same page, yes. --> Yeah, yeah. --> I overlooked, honestly, I overlooked this part. --> But two or three days at the client, I know that. --> the rest of the days remotely and yes that's my current understanding and if investex --> says dude we want you for five days probably because there's a lot of work or because you know we --> we've got a whole lot of meetings you know and all that stuff no problem i'll make myself --> because there's also probably meetings that need to happen in person and it's on a thursday --> if the day was monday wednesday monday tuesday wednesday and at thursday there's a meeting i'll --> definitely go i got no problem yeah yeah but yes yes yes yes yes i need to discuss --> discussion because that was not the agreement that was not the conversation that we had from the --> web my my first very first preference would be 100% remote yeah and they're teaching in the office --> i don't mind so i've always wanted the flexibility of working from remote but with the option of --> getting into the office. It's just, I think, with the client, I understand, right? --> But with blah, I think, let me have that flexibility. With my employer, let me have my flexibility. --> Yes, yes, yes. Yes. Currently, 100% of my responsibilities is investigate. Unless they have to sit --> down with me and tell me, in time to say, we've got a new client where we feel your skill set --> would make a different can you please uh go to this client now hold on with investech or --> can you um assist with this project who will tell the invests that you're going to assist with --> this project and all that it's a discussion that needs to happen i'm i'm okay with --> yeah i'm not against it yeah they just needs to be that clarity that discussion --> yeah um 12 notice period um on standard confirmation three months contractual appointment --> fixed term contractual, general notice, fixed term contractual employment, --> terminable with 30 days written notice, that's fine. --> Choose to cancel existing contract, --> candidate during probation period within the contract. --> This can be due to a variety of reasons, --> included but not limited to poor performance and desired results. --> Please take additional note section of one C, C1 and C2, --> the contract as well as closes. --> And that's fine. --> 1C1, what does it say? --> 1C1. --> 1C1. --> Placement stipulated country are required to fulfill this placement as part of your fixed --> and contract. --> You do not fulfill this. --> You would take within, --> chose to leave within contractual or hold your label breach of contract. --> Okay, that's fine. --> to cancel or extend the existing contract, the decision will directly impact the current --> contract. Okay, that's fine. Understood. Let's see, I've got another meeting that I need to --> hop on into. Yeah, let me just, let's go through it very quickly. So termination of contract, --> that's fine. Um, um, um, damages care. Yeah. Yeah. Yeah. Um, um, damage is. Yeah. Um, --> to the employer after which such calculate an amount shall be due to make --> contract prematurely damages will be incurred the damages will be quantified accordingly and --> calculated on the basis wait contract is that it is a fixed-time contract and is bound to work --> for the duration of the contract the contractor acknowledges that if he terminates he or he --> terminates the contract prematurely what's prematurely okay the damages will be incurred --> right the damages would be quantified accordingly and calculated on the basis of the financial loss --> and reputational damage to the employer after which such calculated amount shall become --> due and payable by the contractor to the employer failing which the appropriate legal steps --> shall be taken to recover the same or legal costs shall be on for the contractor's account --> and calculated on an at 20 client basis now in what circumstance is it determined uh causing --> I mean, yes, cause it. --> Just hold on, hold on one second. --> Let me just say almost done. --> Okay, cool. --> You were saying? --> Yeah, or just desert no notice period or anything. --> Yeah. --> Okay. --> Okay. --> No, that's fine. --> Validity of contract, which will obviously be fixed term. --> Commencement that the fixed term employee or contractor failed on it. --> Should it be revealed at any time after commencement of employment that the fixed-term employee or contractor failed or neglected to inform the employer of any circumstances or information relating to, --> the fixed-term employee, personal circumstances, state of health, criminal record, credit record or addictions to drugs, or called substances in a way the employee's decision to employ or not to employ the fixed-term or at what then this employment contract shall be immediately be rendered null and voyage and shall be of no. --> force and effect okay that's fine um fixed term is responsible to ensure his work --> permit identity documented other legal documents are valid okay that's fine employee checks --> and declaration compliance attestation and mandatory must be carried out and validated --> by that if this is not uh validated sorry must be carried out and validated by --> zabafox so this is employee checks and declaration and compliance attestations okay and must be --> carried out and validated by Zabber Fox or client apply and during your employment contractual --> period. If this is not accepted, verified or validated at any time during your employment, --> then your employment stress must be affected and may lead to your employment contract being --> terminated. In relation to work payments upon signing of the employment contract, the --> fixed-time employee needs to provide HR with these already updated change of employer --> valid your payment within two months of the employment contract being signed. Okay, that's fine. --> That's fine, no problem. --> An acceptance of separation notice, --> you immediately give up the company before you are relieved. --> Separation notice, you immediately give up to the company before you relieved. --> All correspondence, specifications, formula, books, documents, cost of data, blah, blah, blah, --> okay, that's fine. --> To an offer to be used as a renegotiation tool. --> Other companies, you know, is it to be used as a renegotiation tool, --> and counter offer that, no client. --> If this okay, it will be noted back to. --> senior management for further action please confirm that the above terms okay that's fine --> no problem I think I get that I'm then down to fixed during my employment into --> collect organized process and store my personal information use this personal --> information for screening appointments training and development share my --> personal information with the third party such as our suppliers that should --> be relevant personal information so understand accept that it's my --> responsibility to keep this information up to date by notifying that okay authorizing --> and consent, it's executive directors, blah, blah, blah. --> Okay, that's fine, no problem. --> So I think it's just a part of confirming the remote part or the reporting to --> Ziberfolk's office part. --> Yeah, I would, I would, even if it's the other partner, I would want Devon to be there, --> please, in the middle, even if you have, yeah. --> You are the one that I discussed the issue. --> So I would before you. --> Yes, invest in five days, that's good. --> If it says three days, that's good. --> If it stays three days, that's good. --> But as far as the conversation, it was remote for the other days that I'm not in the office at the same. --> Yeah. --> Yes. --> Coming to the Firefox office, it's not a conversation that I had, it's something that we can need that would need to talk about. --> Yeah. --> No, that should be good. --> Yeah, it's for now. --> Yes, thank you. --> Okay. --> All right, cool. --> No problem. --> All right. --> Cheers, bye. --> How's it, guys? --> I'm back. --> Sorry, it took longer than expected. --> Okay. --> Where are we? --> Who is having issues? --> Who is winning? --> I think we're shouting number seven. --> Okay, cool. --> So you're now going to number eight. --> You can go to number eight. --> Yeah. --> So when we, for example, let's say for the next classes, right? --> if I do the theory part and then I say okay next would be number six number seven --> number eight right I'm giving you the go ahead if you do it fast and you're not having any --> problems no problem you don't really have to wait for others right you can continue to the --> next one so now you're going to do eight and number nine and then you can do exercise --> day two there's no reason to keep holding you waiting for the others and yet your --> things are going on sputely, probably you manage to troubleshoot and whatnot and life is moving --> good. No problem. Colophila, are you good? You're not sure. Okay. No problem. Yeah, you know what? --> Yes. Yes. So now the idea behind it is you need to be in that. So if you go into Mongo S, --> right and then change to use that database that's where you're going to do your sharding so --> you're not in mongo s as far as i can see your mongo s no you're not in mongo s i'll tell you why --> you're not in mongo s i'll show you something so you're not in mongo s i'll tell you --> why i say you're not in mongo s now get that mongo s h port 270101 --> whatever okay let me change my screen now yeah cool so now get into that one that's got --> enter do you see something here at the end it tells you mongo s that's what --> tells you in mongo s yeah in the outer now change that to um whatever database it is i think --> it were i don't i don't remember the name sorry use my database --> And then you cannot do the sharding. --> Okay, that's fine. --> Faith, my faith. --> Faith, faith is the substance of what, what, and sin. --> Are you winning or you are busy? --> Okay, that's fine. --> No problem. --> Yes. --> Yeah, yeah. --> Yeah. --> It's, your answer is your face. --> You're looking at your answer. --> So, just to, because, what you call this, let me just share your screen, because I know that the rest are going to come with that also. --> Now, remember, I did say that, can you see the screen? Your screen. --> I did say that sometimes now, all of a sudden, I'm not sure when it started. --> sometimes you can't create a shard key without indexing right you need to create an index --> of the same field and then you can use it as a shard key so what you need to do is exit mongo s --> get into the database that's got that hash i'm not sure if you try and index it from there --> if it will work so wait wait before do that i think it's db dot um the collection name --> The collection name is books. --> .create index, I think the I is capital letter, I think, index. --> And then open bracket, and then underscore ID, underscore ID, and then the two dots, full column, and then hash, --> in brackets, in quotes, sorry, I should be in calls. --> Yeah, I might be missing something, I think, --> but yeah, let's just run it like that, --> and then close the bracket. --> I might be missing something. --> Index, I expected token index ID, that, --> okay, hold on, I'll tell you now. --> Next, I did that, yeah, try it now. --> So you've, now you can try with S-H dot something something. --> There you are. --> So you needed to create the index first. --> Yeah, yeah. --> So Colorfellow and Faith, this command is going to be important for you. --> This one. --> Well, I hope I can copy it out. --> Okay. --> So it gives you that you need to use the create, --> when you're creating a shard of the, --> hashed, ID number, ID. --> It's going to ask you to create an index. --> That's creating an index. --> Yes. --> Am I on Austin. --> First, we see, control that. --> Mongo D, applica set, --> that. --> Go down, screen, press enter. --> I want to see what's at the bottom. --> Okay, go up a bit. --> So do, my issue that I'm picking up is you want to create another replica set with --> ports that are being used. --> When 719 is being used already. --> You remember to create those folders. --> So you see what I was saying earlier on that, there's some times where you need to go and probably figure out something based on something that you've done before. --> that you've done before right so before you even run those commands to set up a replica set --> go and create those folders after you create those folders after you create those folders --> check the posts that are being used on the previous replica set right and then come and --> create the replica set with different um port numbers you can actually 270 right you can leave it like --> that you can even use 40 1442 at the end yeah yes what error are you getting let's --> start from there to your screen yes and here open your terminal --> uh wait i want to see something here this is your history but you got this error --> this one right um um 17 18 19 19 17 --> 19 are being used already so you can't use them right that's number one number two remember --> when you're creating a replica set on the on this one where you're creating the sharding --> you needed to create this folders first that error is one so you need to create --> data R S1 data R S2 data R3 first right as folders using minus P something something --> and forgetting the other command and then --> after that please use different numbers because these numbers are used already --> this port numbers are used already so you just you can just say even 41 4243 so --> 270 leave it as is and then you do there are 41 42 43 then it will start then --> you can continue the next one here yeah but also remember when when you --> when you need to do this you need to log into this one the very first one --> and then you add them there. --> The same concept that we used on the sharding is the same concept with this. --> It's just that this one doesn't have all the steps trying to get you to think about the previous steps that you did. --> That makes sense. --> Yeah. --> Where is it? Is it, Colophila? --> Okay. --> Go back to your terminal. --> Go back to your terminal. --> So where is the issue? --> Where is your issue? --> Let's start from back. --> Okay. --> Your only issue there is you didn't add the relevant port for the Mongo S. --> So Mongo SH. --> Mongo SH. --> Oh, sorry. --> Oh 10. --> Yes. --> Yeah. --> Dash dash port, sorry. --> But no, no, no, exit that. --> Mongo SH dash dash port. --> Port in space and then 2017. --> again. --> Then you can enable your shards from. --> Yeah, there is a part where it's going to fail to do the sharding because of creating of an index. --> So you enable the sharding, right? --> Yes. --> Now do the, what do you call the next step. --> Wait, it is DB Shard Collection, ID, hash, yes. --> Oh, not this guys. --> Let me just close my windows. --> Uh huh. --> Pace that. --> Uh huh. --> Okay, so your indexing is right. --> I'm back, guys. --> Yes. --> Okay, let's see. --> 27010. --> Let me take over a screen quickly. --> Just want to check something. --> I'm going to check something quickly. --> I'm going to share your screen. --> The Mongo S is not running. --> I don't see Mongo S here. --> So your Mongo S is not so just go back to your GitHub repo, the instruction. --> So what you need to sort out, just hold on, hold on, I'll show you. --> Yeah, so what you need to run is this one. --> And then we should have running one. --> running one and then it's that minus ntlp your mongo s is now running which means you can now mongo s h into that cool yeah --> Okay, I've shared it. Let's go uplitzer. --> Hold on, hold on, hold on, hold on, hold on, wait, hold on, okay. --> And start to Mungg B instant is this, that of three replicas set. --> Mongo D, that, that. --> Okay, so it's called my replica set. --> Now, me being me, this is what I'll do. --> I'll come here and do this. --> Is it a replica set for a shud or for, --> Oh, for the config server. --> Are you sure? --> Is it a config server or a shard? --> So you can create a config server, but you've got a config server already. --> So rather create this as shards, right? --> And when you create them as a replica set of a shard, not a config server, right? --> you can always come to this and then come here what does your db path again it was it's the --> db path and then data and then r s1 right and you want to change this to 41 and you want to --> server my replica set and we were calling it my replica set yes i'm not sure i understand this yes yes --> but you've got you've created these directories right already yeah so then it's a method of just --> changing some stuff created after creating the directories so the logic behind it right is --> you're still going to create a shard server right um the replica set of a shad --> right because --> replication and durability --> and then you've got this --> and then you've verified this --> what you call this --> what you did the what but now --> remember you created --> a database --> right you enabled sharding --> and whatnot on the specific --> database now you need to create --> a replica set --> what replica set are you going to create --> they're going to create a replica set --> for a shard --> because you've got the config server --> already, right? --> If that makes sense. --> If I run one, --> I've run one already. --> Where is the screen again? --> That's why I said some of the --> things need you to think back --> logically, right? --> That's where the... --> But you're not changing the whole thing, though. --> I didn't change the whole thing, right? --> I changed the name, right, back to this one, and I just added the log path and changed the port number. --> So we can always do this. --> Now, the logic thinking would be, right, what do you call this? --> Am I creating a shard or am I creating a server? --> Right? --> If you fork it, does it work? --> It doesn't work, right? --> Then you come there, control Z, and then now you need to fork it. --> you need to give it the log path and then the dash dash fork right uh wait i think i'd not changed um --> i'd not change the port also right 42 yes yes for the two let's try it again --> let's see if it works it won't work so you need that dash dash fork you see you need it --> and then here you can come change it to three and then you come change it here to three and then enter it creates that now you now need to make the first one 2041 the primary for this replica set you log into that primary you initiate the cluster from there the replica set cluster from there the same way the same way that you did it on --> the sharding um what you call this the sharding exercise is more or less the same steps now the --> the idea behind this was adding the elements like your fork and whatnot that's where you would --> need to think through because remember when it comes into the real world not everything is --> serpent stone right you would find that you need to set up three replicas right three different --> replicas. Now when you need to define three different replicas, one you need to decide the --> config server, right, the replica for the config server. And now you need to decide, am I doing the --> shard or am I doing a config server? Now you've done the config server and then you now need to do --> the shard server, right? The replica for the shards. That's when you now take the step to actually --> do the Shad server. The difference if you noticed it is that this part here, right? It's either you're --> telling it to be a Shad server or to be a config server. Makes sense? No, no, yeah, right? The explaining --> is good. The implementation is what's going to be interesting. The explanation, you did it right. --> So firstly, you need to create the folders. --> After you create folders, which is your path, right, where your DB path, right, where your replica set is going to be writing to, right? --> The second thing is they gave you a very short command, right, which is this one. --> But this won't work, right? --> What would work is one, you need to tell it, what is it? --> Is it a config server or it is a shard server, right? --> Config server, you already have it. --> So in essence, you are now creating a shard server, right? --> A replica set for shard server. --> Now, that's where this command now kicks in, right, in full, because it's already there. --> You already have it, right? --> Instead of you having to worry in your mind and whatnot, that one will fail. --> All you need to do is come and copy this command, right? --> one of it and then change the name of the replica set because remember it's --> returned my replica set if i'm not mistaken right change that name change the port because --> already this one is in use even the ones that are there they are already in use so you change --> that you change that and then you change the path to where you want your shard to be --> writing to and then you run that command then you'll be able to create what's that the command --> gonna use the bathroom quickly one second do you see or --> issue Austin. The name is actually the name is actually you don't need to go in --> can manage to pick it up. Hold on Austin. Are you there? Yes. So, so what if you --> look at this right? If you look at this error, it already says you're rejecting --> initiate with a set in one line, right? Initiated name is my replica set which is this --> one you're initiating with this name right but command line set name is my --> replica set this on it's on you just told you that you just need to change --> this name because you're initiating with this name but command line used --> this name yeah right cool where are you logged into are you in the --> replica are you in the set it is direct so it says RAS --> Slave okay is not a function. --> Go into Mongo S and try it in Mongo S. --> Either try it wireless in the secondary or you can try it wireless in the Mongo S. --> No, no, no, still you're not. --> You need to be Mongo S, not use the database. --> You're tired, you're tired, you need to do Mongo S and try it from Mongo S. --> You need to log into a secondary and then, --> try it from the secondary. It's either you look into the secondary or you look into mongo s. --> No problem. Okay cool. Try it on a secondary one. --> They are not really but you're close. So if we go back to to what we learned right on --> the slides. Let me let me hear my slides quick. I need you to be something. --> Do you remember this part? --> Can you see my screen? --> Do you remember this part? --> So, instructions there, right, make you create a replica set, --> and then ask you to check for a master-slave replication. --> It's asking you to check for something that's not a, if that makes sense. --> So you are making, so there is master-slave replication, --> and then there's a replica set replication, right? --> right master slave has deprecated right it's not they anymore right in the midst of you --> creating um what you call this a replica set right which is a new feature right it's asking you to --> check master slave so yeah very right it shouldn't work so in essence it's it's it's trying to --> sort of test you to see are you realizing that you created a replica set --> right which is replica --> a replica set --> replication and not --> a master slave that we are saying --> is now deprecated and we now --> use replica --> what you call this --> replica sets instead of master slave --> that one command is something that's --> confirming a what you call --> a master slave replication --> which is not deprecated it's a feature that's --> deprecated now the --> migration part right there's some way --> say migration. This is in the case that you've got an old version that still has master --> slave, right? And you now want to migrate to a new version and you've upgraded to the new --> version and you now want to migrate from that master slave to replica set. So that was just to test --> you to pick up that you were creating a replica set, not a master slave. A replica. Yeah, so it's --> not supposed to work. Everyone else got it? Yeah? --> No, but now you need to, so you need to understand that replicas are the ones that are there now, right? --> Master and Slave, they've removed that feature. --> It's on the old version. --> The new version has got a replica set. --> So you wanting to have master slave in the new version, it won't end well. --> It won't work out well. --> It won't even work. --> And you see that even on the instruction, it actually continues and tells you, --> the master slave replication, this and that and that. --> Testing you that, --> initializing the master's slave. --> Yes. --> But then you can then continue and do the, --> what you call this, --> using the right concern for durability. --> The only other issue is it's not much of a big chunk, --> right, of data that you're writing in it. --> So you won't really see --> the difference in terms of --> if it is to acknowledge on --> 10 other machines or it is to --> acknowledge on three other machines or two other --> machines, if that makes sense, right? --> You won't see the difference. It's a very small chunk --> of data such that all of them --> will be quick anyway, right? --> They're probably all less than 2 milliseconds, --> right? But --> if it was a big chunk --> of data that needed acknowledgement --> on different other slaves, --> right, or not different other slaves, --> different other secondary nodes, --> right because remember you've got a primary node and then you've got secondary nodes our replica set only have two two two secondary nodes right so if you are to write on the primary right the acknowledgement from the two secondary nodes is going to be quick on the basis that one the chunk of data that's being written is very small the query in itself is very small so you might not see or notice the difference in terms of the time it takes to get the acknowledgement or --> on 2 or just on the primer because then the difference is very very very minimal it --> might be some point something millisecond of which when it shows you the time it will probably just --> show you that it took one millisecond and that's it whether it took 0.20 milliseconds or 0.80 --> milliseconds you won't be able to see that so right uh concern might not you might not be able to --> get the, what do you call this, the result that you really want to see. --> But you can try it. --> Which master enslave? --> Confirming that this won't work, the new version. --> The master slave replication. --> Yes, you just confirm that. So you don't really need to worry about it. --> As I said, they put that for you to think that, okay, I'm doing master slave --> replication, but before that you are creating a replica set, right? --> not master type of thing, right? --> So it's, that whole block is just going to confuse you. --> Leave it alone because it won't work. --> But you can start from these right concern levels if you want to try them out. --> You might not pick up the difference because the difference of the time is very, very minimal. --> Like it's very, yeah, it's less than a microse millisecond even. --> So you might be the difference. --> So you can do it. --> It's up to you, but you might not really see. --> that much of a difference. --> I would say going to do backup and restore --> because you might --> which is number nine --> and then you might need to --> then incorporate everything --> in your mind and then going to do --> exercise day two. --> So you can go and do up your backup --> and restore. Very, very simple. --> I don't think it should be a problem --> and then --> after that you do exercise two. --> Exercise day. --> Yes. --> Oh. --> No problem. --> Who is lost? --> Ha? --> The caller, are you lost? --> Wait, are you lost? --> Let's see. --> Wait, let's see. --> I'm going to go on your screen and I'm going to share it. --> Let's see where you are. --> Okay, cool. --> Let's see. --> Okay. --> Who wants to share? --> Who wants to share it? --> Okay, who wants to say? --> Then we can help. --> Okay, cool. --> Okay, one second. --> Number eight, on which part is it failing? --> Yes. --> Mm-hmm. --> It's very easy, exit that. --> And then do pseudo-space, net stat, so N-E-T-A-T-A-T-M-S-M-M-T-L-P, N-T-L-P, net stat. --> Okay, hold on. --> Ah, you guys are tired. --> Yeah. --> Okay, cool. --> Do you want to run a pseudo or do you want to run, --> do you want to stay as pseudo or? --> Okay. --> So, these are the replicas that are running. --> No, it's not missing. --> It's not missing. --> Now, let me explain. --> it's not missing now when we did sharding right when we did sharding earlier on we created --> directories which is fine and then we used a 192021 right and then we went and created the replica set --> right 22 23 24 33 the sorry the shards server so that was the --> conflict that of the Shad server now 17 by default Mongo uses 270717 that's the default --> when it comes to MongoDB no wonder why it's there that's number one number two --> 19 we used port 19 when we're creating the config server that's why you are seeing --> 17 and 19 there now as we now go to explain the --> one right when you get to this part of creating this is where a what's his name --> Austin then said now if you run this on its own right it won't run that's number --> one and because of two things right the ports already used that's number one right --> 17 is already used 19 is already used that's number one number two there's --> missing parameters on the command right now this is way he then said okay you --> instead of having to run this command because it will fail you then come --> onto this one right copy the first one --> copy this first one right because it's a complete one and it --> has worked before this is what config server the difference is just this part anyway but um --> where it says config server and this is shard server right so you come you copy that right --> and then uh what you then need to go and do is uh which one i matter i think it's this one you've got --> so many terminals open um this one this one okay that's the one that we're using now because that --> other command is failing right you go and copy this command that's worked before it's a it's a --> trick that i usually use right and then you change um this part to 40 or 41 you change this part --> to the directory that you created right that you last --> created i think it was db was it db path or db data uh let's see uh db partner uh db part then something --> so it's um so i want this part right you created this direction is correct just this direction --> okay okay so we okay so jesus --> Okay, that's fine. Let's see what it will give us. That's fine. Right. And then you need to change it to the name of the replica set. So in this case, it was my replica set. I think. I'm not mistaken. It's case sensitive. But anyway, let's see. Error child dash dash fork, which means this. --> is not there, right? And then data RRS1. And then I think you do that this, data RRS2. Now, this step that I'm doing, --> I'm doing. We did it, right? We did the same very step here. This is the step that we're --> doing now on number seven. Remember number eight. So the idea behind number eight is it will give --> you very small scenarios, right, that you're going to need to use the logic from number seven, --> right? So we created this, we've done this step, right? So I'm going to be doing this for each step, --> I'll go back and reference on number seven, right? --> So, firstly, we create the folders, right? --> After we create the folders, we go and run this successful, --> because the folders are there now, right? --> And then we go to the next one, which is going to change to 41 here, right? --> and then R is 2 right and then we go to the next one which are going to change here to 3 and then our port is going to be 42 now we've created our nodes but we haven't told any of them which one is the primary one right now we want to go to step number --> So we've done this port, we've done this part, right? --> We've created the folders, we've created, so we're doing shards, right? --> Created the ports, we've run this command, right, to actually start each shard instance, right? --> Now, we want to tell which one is the primary, right? --> We come here and then we log into the one that's the first one that we created, which is using port. --> 40 right 40 there and then come here it's logged in now we go back we want to um what's called this --> initiated right so you either initiate it this way right we want to initiate our replica set --> and make sure that we've got a primary so it's either you do it this way or you do it this way --> both will still work um where you just come here members and whatnot now --> When it comes to here, right, what you should remember to do is remember the name of the replica set, right? --> And I think the name of the replica set was everything in small letters, right? --> You see this part. --> Everything is in small letters. --> So you now need to make sure that it's what exactly you put there. --> If you put it the same way as replica set, right, the same way with the case. --> caps and whatnot, then it's okay, it will work out. --> Or else it will give you an error, right? --> Oh, yes, the post, thank you, thank you. --> And then we had changed the ports to 40, 41, and then 42, right? --> We have created our cluster, right? --> and then S-H dot status hey oh sorry I'm not Mongo s sorry your Mongo --> is on port 10 right correct cool R S dot status and then oh sorry it's a shard that we're --> creating sorry I need to see the shards it's h status --> which is connected to mongo s might not work when why is it --> I don't know why it failed earlier on. --> But anyway, so now you've got a primary, right, which is on your 40. --> You've got a secondary, which is on 41, and you should have another secondary that's sitting on 42. --> Now you've got your replica set, which is in shards. --> Are you with me now? --> Now it's like you've got three servers that are completely the same. --> What database do you have experience with, I want to use it as an example? --> Any other database, that's not MongoDB, any other flavor of database. --> Oracle, right? --> Oracle still does the master enslave, right? --> Or wow, replication, if I'm not mistaken. --> How do you do real-time replication? --> So usually there'll be one. --> So there'll be one. --> So usually, right, with any database, there's one server that's there that's responsible --> for everything that comes in --> so your application writes to it --> you know and everything right --> and it can still be the read --> but as a way to --> sort of have it as a backup plan --> right --> you have another --> separate server where --> the first server just --> writes to it so it just --> everything is just copied over into --> server number B --> right so it's not the same setup --> but in this instance it's three nodes --> one is the primary --> it's going to receive all the writing so whenever you do an insert you delete or anything it goes --> into the primary right it happens all those operations happen in the primary the secondary are --> just there to replicate and to replicate is meaning to have the same copy of data on them as the --> primary those are the secondary ones that's what we have current let me try and figure out okay --> let me let me try something let me try and explain --> it's a bit different. --> I'm going to share my screen in a bit. --> I'm going to share a blank PowerPoint. --> Let me know you can see my screen. --> Now, let me try and demonstrate this --> in a different way, right? --> So, the command, right? --> So we first created directories, right? --> we all understand that part right and now we want to create a replica of shards right so a replica of shards --> would the very first one that had port 41 right is the first one that we that we created and then --> we created the one that had 41 so this one it's 40 41 and then 42 right the difference there --> in these three are just the port numbers right --> because you all you want to connect to them and they all can't have the same port right now we then --> logged into 41 right when we logged sorry into 40 right the very first one when you logged into 40 --> we made 40 the primary the main um what you call this the main shad or the main node which is your --> primary node and then these ones became the second so the purpose of these two now --> now is all they do is they just make sure that they've got the same copy of data that's here. --> So if there is data that's up until here, this one has to make sure that it's also here. --> This one has to make sure that it's also here. --> The same data as is, right? --> And when it comes to replicas, what usually then will happen is this here by default, right? --> The primary is where everything is being written. --> and this is where everything is where everything where the read is happening by default right but what you can then do is instead of you actually having what you call this this read happen here you can actually direct your read to happen from these ones here right so here you are just left with the writing here it's just the reading --> that's happening so it lessens the overload on this and then uh you have the read load onto this one --> does it make sense right so that's that this is what we currently created now what will happen is --> when you do an insert for any data it will come and sit here right it will it will come here first --> right after it comes here as um what you call this as um as um as um as a as a as a --> a right right before it sends back an acknowledgement to the client right if we put our right content --> right content will say let this one confirm that it has returned the data let this one confirmed --> that it has returned the data and then it will then return the response to the client now the client --> could be one it could be your mongo s h that remember you do mongo sh and then you log in and then you --> can be able to run your queries right it could be that because remember you get the response there --> right that's one layer of it right and then if it's an application code that's being written by --> someone else right let me do this this is your mongo sh right so if it's you and you're just --> running your queries you get your response on this layer which is mongo s when it's somebody that's --> writing code but doesn't have access their application is here right their code is here now --> in between is where comes the drivers that are going to translate data the response from here --> it goes through there it translates it to what is understood by this one still together --> no so this is what we currently just create --> right so anything that you're going to do an insert or a delete it's going to get into this number one right the 40 and then it will replicate onto 41 and then it will replicate on to 42 now let's look at the very first one that we created um what you call this let me do this is got that now on number seven right --> the very first thing that we did was we created a config server right a config server which is a replica set right --> so you've got your config server config server config server that's number one so first we created the --> folders and then we created the config servers right which is a replica replica set just means --> a copy of the same server that's it that's what is --> code a replica set. You'll see that when you get --> to Docker and Kubernetes --> replica sets, you're going to be talking about --> them a lot. It just means the same --> copy of a software, --> right? But being in the same --> host, that's a replica, --> right? And then, after --> that, we then created --> a, what do you call this? --> Let me use --> blue, right? We created --> shards. --> Right? Replicar set --> of --> shards which means there is four copies of the same thing right and be mindful that --> currently we are creating it on local host right so everything is in one place this could actually --> be one server this could actually be another physical server or virtual machine this is different --> virtual machine this being another machine this being another machine this being another machine --> that is when you want to when you're not using local host one machine but you're using many machines --> when you've got the money like photocom right now what we then happen what we then did after that --> was we then started mongo s right mongo s which comes here right mongo s is that singular right --> and what is actually happening is that --> what color can I use now --> what happens is when you interact --> when you want to interact with the shard --> you send data to MongoS --> right --> MongoS goes and checks there to say --> what is configured --> in the way in terms of the shad --> after it confirms that --> right it then goes --> to the respective shard that it's been directed by the config server. --> The purpose of this config server is just to maintain the configuration and the settings and the metadata. --> Which explain which shard is containing what. --> So let's say our shards are distributed, our data in chunks such that this is A to E, right, in terms of names. --> and then you've got f to something something right and then you've got t uh wait not t p to t right um on this --> one and then u to z right u to z so which means when this goes there it will be told all the --> information that you want is in shard number four that's where information about z is then it comes --> and then goes there and then picks up whatever it needs to pick up pick up and then retain --> the response from the and then obviously to then go either to you or to the application or whatever --> do we understand this part yeah but that's that's at the end of the day that's the idea you need --> to leave a training when it's understanding a bit right and when you start reading this it --> shouldn't be new it shouldn't be new new right um so the concept behind this now right --> So you've got all these as shrugs, right, and this as config servers. --> Now, we want to have higher availability. --> We want to be able to have what you call this performance, very good performance, right? --> Now, we've got our data center sitting somewhere, right? --> And we are going to be using 10 servers, right? --> We need to have 10 servers that we are going to. --> to configure our MongoDB. Now we need to spread our data, right, our performance across all --> those 10 servers. Now these are physical servers now, right? Let's take it to say physical servers, --> right? And these physical servers, we are going to have what you call a MongoDB cluster, --> which will be comprised of replica sets, right? Now the replica sets part of it, what we need --> first is we need a config server. So it might not be three. We can even take --> two, right? We can even take two and remain with eight. The two, we make that a config server, --> right? The config server, right? And then the seven that's remaining, right? No, it's eight that's --> remaining, right? But the seven, that's what I want to call this, that are day. We now make them --> into shards, so which means it's going to be a copy of data, a copy of data, sorry, it's going to be, --> what you call this, some data in there, some range, some data in there, some range, some data in there, some range, some data in there, some range, some data in there, some range. --> Which could actually be physical servers, right? --> And then we take the one server and then we configure our MongoS in there. --> Because when we configure our MongoS, we pointed to these servers. --> Now, where is it where we did the pointing of those servers, right? --> if we go to number --> where are you --> come come come come --> come if you go --> to number --> now if you come to number --> seven right --> and we go --> here right --> so this is our two --> okay it went --> up too much --> we done our two --> config servers right --> one and two --> and then after that we went and created our shards where we're going to distribute our data right --> and these shards are part of a replica set which means the our what you call this our oh i deleted this --> right our um our shards right our shards that have got a data the the data the the ranges of data --> right are all sitting in what you call a cluster right or a replica set which means still has the ranges --> still has the ranges still has the ranges still at the ranges but you still find that you still have --> the same data copied over but what will happen is when our mongo s right goes to the --> config server it's told that the information that you want right is sitting --> in range A to D, right? --> To then come and find range A to D in shard number one, for example, if that's making sense. --> Are we still together here? --> People are tired. --> Are we together? --> So we are lost. --> But you just need to understand is, --> you create --> what you call a cluster. A cluster is a number --> of servers that --> are working for the same purpose, right? --> Because trust you mean --> cluster you're going to know about it --> here, you're going to talk about it in Docker, --> you're going to talk about it in Kubernetes and all --> that stuff. Modern --> technologies are dealing a whole lot --> in clusters. And then in those clusters --> you can have what you call shards, which is --> going to distribute your --> thing in chunks, your data in chunks. --> right and primary node receives everything and then replicates onto the other nodes which are the --> secondary ones there is higher availability same copy is available on the next node and all that stuff --> do you want um what you call this half a day again when you're whilst you're fresh we can redo this --> yes sorry you saying primary and yes yes yes so very good now that's a master slave right type of --> situation because you can't automatically fail over let's say the primary goes down what --> happens can it automatically fail over you have to intervene manually and create and --> and make one slave the primary, the master, let's say the master, rather, right? --> Now, same scenario where you've got the four servers, one master and three slaves. --> Now, when it comes to replication, it's the same setup. --> The only difference is that when the primary goes down, which is your master, --> automatically it can switch into one. --> slave right in the essence of oracle you don't need to intervene manually it happens automatically --> right but they'll all have the same type of data as you're saying there is one main one in --> three backups one primary in three backups automatically master slave type of situation but when it --> comes to replica sets we are saying um there is that fail over part that happens right automatic fail --> of a part that happens right when it's a replica set right number one number two um what --> you call this with them what you call this with the master slave right the very first scenario of --> oracle the slave um only pulls from the master it's never vice versa right now if one goes --> down right then you have to manually intervene and reconfigured --> make one, if the primary goes down, then you have to intervene automatically. --> When it comes to replica set, automatically one kicks in, and then everyone else just runs --> to start pulling from that, what you call this, from that specific primary, automatically so. --> But it's the same scenario, trust you mean, the same scenario, just a few differences in --> terms of one, the automatic failover, for example, two and probably some features that are a bit --> different right but it's the same scenario with just added technology to it right and you now don't --> call it master slave type of thing you now call it replica set because of that fail over and it makes --> sure that the data across the nodes right across the three backups is exactly the same at all times --> when you have that right concern right it goes it waits for acknowledgement --> of the other three, the other three backups to say, it's fine, I've written this data. --> The second one says, it's fine, I've written this data. --> The third one says, it's fine, I've written this data. --> And then it brings back to the primary, primary then sends a response, of which, when it --> comes to the Oracle original setup that you spoke about, right? --> You might not get, you don't get that acknowledgement that everything is fine so you can --> continue everything. --> No, no. --> Primary will keep reading and writing. --> if these ones are left behind they are left behind and that's it yeah but that's the very same --> concept just that with some added features no it's okay no problem just that with some added --> features so the added feature is the automatic failover right that's number one another added --> feature is the acknowledgement right when a delete or when a right or a delete or a delete a --> an update or a write right comes through that query comes through it goes on to the primary --> right which is this one right so we've got in the oracle space this is the primary this is a slave --> backup backup slave backup or this is the backup backup backup right so in the replica set side of --> things this one goes down right this one or this one or this one or this one can kick him --> automatically and become the primary right so life continues right if this one --> becomes the primary this one just connects to this one and starts having the --> what you got this synchronizing right now that's the automatic fail-over part now --> when it comes to having the same type of data across right a request comes in which is a --> the query that's going to insert into a document or delete right then what will happen is it will --> come it will do its initial writing here now it goes there it does its writing and then this one --> confirms to primary that i am good i've got all the data it goes on to the next one i'm good --> i've got all the data then it comes there acknowledges that i've got all the data to the primary --> and then primary gives a response back to the client whether it's somebody that's just running --> direct on the DB or it's an application okay cool um so the last part would obviously be --> exercise day two you guys can take it at your own time the one thing that I need you guys --> to confirm you did was is this right um let's --> Let's see. --> Let's see. --> No, I don't want this. --> Can someone share their screen? --> I want you to go into the account. --> The desktop account, not the virtual machine, but something that shows you your machine and my machine, if that makes sense. --> Probably Austin, can you share your screen? --> No, get out of the, yeah, good desktop. --> desktop go to go down so you see where it says use desktop after course just go down please --> enable that right and then enable to give you access I'm not sure of the period I think --> it's a month or two months access to this virtual machine and you still have access to --> the GitHub report right to do it whatever at whatever time right and then what I'm --> going to do is I'm going to share --> my email. If you decide you want to have another half day, I've shared my email, get in touch, --> and then you see where we can find a gap and then we can still redo the replica sets and what's --> not. If it's a bit of more explaining or a bit of more exercise that will get you to understand. --> I can also try and add more chunk of data in the database so that you can be able to see when --> you create ranges, how then you then see the ranges and whatnot. --> It's a bit more advanced, more than this course, --> but it could actually help you in terms of how you can go about it. --> Yeah? --> Because now I can see people are fried. --> They did well. --> But look at where. --> when it was time to leave everybody, like, ah, we're living, we're living. --> Some were doing it. --> I know E2 was doing it. --> I know, I think, a lady called Winnie. --> I'm not mistaken. --> She was also doing the work. --> Some were on and off. --> I'm assuming probably there was a whole lot of work and whatnot. --> So for the others, I'm not sure. --> But E2 and Winnie, they were doing well. --> They got to understand it and all that. --> I'm assuming they got to understand it. --> Yeah. --> Okay, that's fine. --> No problem. --> You also have access to that kit hub, whether in the virtual machine or not. --> Let me just share it quickly. --> Yeah, so I think go try, understand how replication works, right? --> In general, from the way, from the first, in general, how does it work, right? --> And because replication is not only in MongoDB, it's going to come in Docker and Kubernetes also. --> So understand how replication works, right? --> separately and then go and understand how the sharding and the config server work together right --> and in terms of creating replica sets and whatnot go understand that and go as deep as sort of --> finding out an architecture of what you call this a mongo db cluster that's got replica sets --> of shards and whatnot it would help you a lot cool is coolies but yeah you have access to the --> virtual machine, you've got access to the GitHub repo. I give you guys my email. If anything, --> you can just email me. Then you can see how we can work together. It's, it's, uh, it's, uh, --> well, can least stop the recording? Cool. Yeah, but yes, happy to do that. No, not a problem. --> The shodding when it comes to real life, interpreting it in real life is where the problem comes --> in, I think. --> You know, so yes, if you have a project that you're probably working on or whatever and you've got questions, happy to help. --> I don't have a problem. --> Yes. --> All right. --> Cool. --> No problem at all. --> If anything, as I said, email me. --> Yeah. --> If I don't respond to an email in an hour, I am probably traveling, but I won't be traveling up until, I think it's in June. --> Yeah, in June. --> That's when I'll be traveling. --> but as of now I'm around --> so I have no problem --> all right cool guys --> if there's no other questions --> thank you for listening --> unfortunately I had to fry your brains --> but yeah --> a glass of wine --> would probably do --> a glass of beer --> relax --> and then you'll be good to go for tomorrow --> no --> no problem at all --> Yes, guys. --> Yes, guys. --> Oh. --> Hmm. --> My phone and photo, Bab. --> I'm a pleasure. --> I'm sorry. --> Okay. --> So, --> today, --> I don't know --> when I talk to, --> you. --> No, --> you know, --> okay, all right, --> okay, --> or not. --> No, --> don't get to --> say anything, --> so she, Ike, --> see, --> you know. --> Mm. --> Mm. --> Mm. --> Mm-hmm. --> Bob, yeah, Bob. --> Yeah, but I do you go to dozee, I'm going to do so. --> I'm going to be able to say, hello, ma'am. --> Oh, then me like, I'm going to be able to say, okay. --> Oh, you know, okay. --> Ah, you've got to do. --> Oh, okay. --> Yeah, I, actually. --> So, you know, what's such as you, remember, you, --> what I'm going to come here. --> Yeah, and you like, --> I'm like, thank you, so I'm not. --> They're like our finances, so that you know what we're going to say, --> so that they're going to say, so they're not going to do. --> But then, okay, so you know, okay, --> so you don't know what you're going to say, --> and that you're going to say, --> along the way, you're not saying that. --> You know, what's the way. --> Because, --> my friends, um, --> my, me, me, me, me, --> I think. --> Charleston, we're too. --> I don't know. --> So, you know, --> people who --> don't know --> so, --> you know, --> people, --> so man, --> so, --> man, --> you know, --> you know, --> you know, --> oh, --> um, --> yeah, --> okay. --> You know, --> mother, --> you, --> who, --> um, --> oh, um, --> so, --> you, --> Catholician? --> I want to say I'm a handsome. --> Why? --> Handsome. --> I'm not. --> You know, --> what you're going to do? --> Why are you? --> What do you want to say, --> handsome? --> Oh, okay. --> Yeah. --> Yeah. --> Yeah. --> Yeah. --> Yeah. --> I'm about that. --> I'm not. --> I'm not. --> Yeah. --> What's the question? --> How do you think? --> How it's what? --> I don't know what's what's on the three days? --> Yeah. --> Oh, you know, how do you say? --> I, but I, people, I'm sorry, --> you know, why hensam? --> Yeah, yeah, I, garrose. --> Yeah. --> Pardon, I'm jell the face. --> You know, why hensam? --> Chukes, now, you, --> don't. --> And, do. --> But, you know, I'm not. --> You know, I'm not going to say, --> you know. --> Yeah, you know. --> Yeah, but you know, --> you know, what, --> you know, what? --> Yeah. --> Yeah. --> I don't know what I'm going to say that. --> I'm going to say, come. --> I'm going to say, I have come. --> I'm going to tell you. --> That's why I go three years. --> That's why go three years. --> I got two. --> I got cold. --> One hundred, I'm going to go cold. --> No, you know. --> No, you're going to do. --> Yeah. --> Yeah, and I'm going to get it. --> Yeah, and I'm going to do. --> You're right. --> Hundreds over hundreds. --> Yeah. --> Mm. --> Mm. --> Mm. --> say that people who do you want to do that people who find out of the six-point --> choree, you know, that one of the money, --> and when they would get, you. --> You know, what you do, what do you do, what do you say? --> You know, what, what do you do? --> No, and then, I mean, it's in future, so when you're going to say, --> so when you're going to see. --> Oh. --> Mm-hmm. --> Mm-hmm. --> Mm-hmm. --> Okay. --> Mm-hmm. --> Okay. --> Mm. --> Mm. --> Mm. --> Mm. --> Mm-hmm. --> Yeah, I have a banana nine, seven. --> You're a iPad? --> Mm, no, Yipata. --> Ah. --> So, you know what you're going to do? --> So, you know, --> what you're going to? --> No. --> What do you? --> What do you, --> but what do you, --> you know, --> so you can't do? --> I don't know. --> I don't know. --> I don't know. --> Yeah, I, --> you know, --> it's a man, --> you know, --> that one of, --> you know, --> but it's, --> we may say, --> So, you know. --> I'm sorry. --> You know, --> you know, --> if you're --> something, --> like a family --> or, --> you know, --> you know, --> or you, --> you're, --> um, --> yeah, --> I, --> that's, --> I'm, --> I'm, --> I'm, --> I'm, --> this, --> do you, --> yeah. --> Why do you, --> do you know, --> what do you, --> what, --> um, --> I don't know. --> I've got an advice about, regarding your relationship. --> How do you have advice? --> No, no. --> Yeah, I'm actually. --> I'm not going to give advice. --> So, I've got, I've got advice. --> You know, family based on, you know, --> the family base, you know, --> you, you can't know what you, --> don't know what you, I don't know. --> I, I go. --> I want, I, I want to. --> My sister's, I'm. --> Yeah, I can call, me. --> You have a problem when you're going to say a call, --> you have to keep your phone. --> Yeah. --> Why don't you keep you for it? --> I don't know. --> I don't know. --> I don't know. --> I mean, you know, --> I don't know what I'm going to do you know, --> but I'm going to say, --> you know, --> who's a very, --> exactly if you've been --> who's one of the family. --> I don't know. --> The local people, --> because my family paste, --> you have, --> you know, --> unless, --> less, I'm gonna do Misholed. --> Mm. --> Mm. --> I don't know. --> I don't know. --> I don't know. --> I don't know. --> I don't know. --> I thought. --> I love you. --> I love you. --> Good night. --> I said, I love you. --> Good night. --> You don't know. --> Abbaugh you, --> you know. --> You know, --> that's okay. --> Aye. --> Good, good, okay. --> Good, good, --> nice. --> Yeah, I'm, --> did you. --> Okay, do you? --> How many people? --> My name? --> Oh, Nail. --> How do you? --> No, I'll have you. --> No, I'll have you. --> You're not. --> Good night. --> I love you. --> Yeah, by art. --> Sometimes, not like, every day. --> Oh, okay. --> So, I'm actually some time. --> Okay. --> So you know what's, sex. --> Cable sex. --> Yes. --> I don't know if you can't get a peopon. --> I don't know how many, --> you know, --> they're going to spend, --> you know, --> what you know --> yeah. --> Yeah, --> yeah, --> so, --> you know, --> that's not, --> you know, --> that's, --> yeah, --> yeah, --> yeah. --> Oh, --> yeah, --> yeah, --> he, --> he's, --> he'll, --> he'll, --> say, man, --> can you know, --> man, --> It's a good. --> It's a good. --> You want to see it. --> You want to see it. --> You got to make a paste. --> In three years, you know, --> when you get, --> you know, --> you're going to go to --> love you. --> Say, I love you. --> I love you. --> No, keep it phone. --> Keep it phone. --> Keep it phone. --> So, --> I'm out of one who you can't --> John. --> Ma'am. --> Man, I mean, --> I want to say, --> you know, --> it's simple, --> let me have to keep you phone. --> I don't know. --> I don't know what I'm a few people. --> So, my father, --> I don't know. --> You know, --> you know, --> it's not, --> you know, --> it's not, --> man, --> you know, --> it's not, --> you, --> so it's, --> so it's, --> so it's, --> so it's, --> no, --> no, --> yeah, --> it's, --> it's fixed, --> Tabe, --> Cob, --> Cip phone, Tabo, --> Cip phone, --> Cip phone, --> Kip-4? --> I don't know. --> So, you know, --> so you know, --> you know what? --> You know, --> do you know what? --> So, --> you like, we have bars. --> I don't want --> to say, --> you know, --> okay, --> keep the phone. --> Okay, --> keep the phone, --> you know. --> You know, --> you know, --> you know, --> you, --> you know? --> Yeah, --> you. --> Yeah. --> Yeah. --> Yeah. --> Yeah. --> Where's it? --> Where's the people? --> I don't know. --> At least when you got a service, --> if you're the location, --> you know, --> keep you found. --> Mm. --> Mm. --> What do you do? --> No, --> I'm not, --> you know, --> I'm a man, --> and I'm a man, --> you know, --> you can't. --> Mm. --> Mm. --> Mm. --> Like, so you're, --> like, --> so you, --> so you don't, --> so you two, --> most, --> you know, --> no order. --> He didn't know, --> I don't know. --> I don't know. --> So this, --> you know, --> so this, --> you know, --> you know. --> I love you in. --> I love you in. --> It's not --> you, --> it's not, --> it's not like it. --> It's not --> a, --> ah, --> ah, ah, --> ah, --> I, --> don't, --> don't, --> don't, --> you know. --> So, --> so you know, --> so much, --> you know, --> WANS. --> You do not. --> You do not. --> Decisions. --> You don't want to do you. --> I don't know. --> Okay. --> Okay. --> You know, you know what you're going to say. --> Oh, she said. --> Oh, she said. --> You may fern. --> This, you know? --> No. --> Okay. --> So, you know. --> Okay. --> So, you know, --> something. --> Oh. --> Oh. --> Mabastic eye. --> Yama, --> Pombastick eye. --> I don't know. --> Ay, you chahill. --> So, how do you? --> You know what you said? --> Oh, and how do you say? --> You know, we say? --> You know, I'm going to do. --> Oh, I'm... --> Oh, you know what? --> Hmm. --> I... --> So, no, no, no. --> So, we don't know. --> Okay. --> Because you have a baby, --> you know, --> you know, --> especially, --> you're going to be, --> huh, --> I'm, --> John. --> I'm John Nile. --> So we must have to say, you, kid. --> Mm. --> Mm. --> Mm. --> Mm. --> God, you know, --> so, --> you know what's here. --> So, --> that you know what I do. --> So, --> you know, --> so, --> you know, --> what's going to --> do you. --> Come on. --> What's up? --> I'm going to say, --> yeah. --> You want, --> you, --> you know, --> you know, --> that says, I love you. --> I love you. --> So, my mother's --> so when my mother's --> people, --> you know, --> you know, --> it's good. --> It's good. --> My back --> because you can't --> see it's about --> . --> Yeah, --> I won't --> say, --> okay, I went --> to get to --> so, --> you know, --> it's all, --> yes, --> and I'm sorry, --> because --> I've been --> interested in jent, --> you know, --> anything, --> you know, --> I'm a good. --> I can't go. --> So, you know, --> so my phone, --> the number, --> you know, --> my number. --> I don't know. --> You know, --> you know, --> you know, --> that you, --> oh, you, --> don't know. --> I can't, --> you know, --> so you can't --> be a back. --> Oh, --> you know, --> I'm not here, --> you were. --> It's, you may, --> you may, --> pay, too, so, --> You know. --> Oh, what do you? --> Yes. --> I don't know. --> I don't know. --> Yeah. --> I'm not going to come outside. --> You know, do you? --> Do you? --> Thank you. --> Thank you. --> I'm going to do. --> How do you? --> Why do you? --> Why? --> Why? --> Why? --> No. --> No. --> Okay. --> Okay. --> So, then we've done --> done. --> Sex. --> Is it. --> I don't know that they say. --> I don't know what I would say, --> you know, --> I said, --> oh, --> so that's, --> hey, --> he, he, --> he, he, --> yeah, --> yeah, --> you know, --> you know, --> I'm going to be --> a little, --> so, --> um, --> yeah, --> yeah, --> you know, --> that's, --> you know, --> that's, --> you know, --> he'd say, --> I'm, --> so, you know, --> I don't know what's up. --> We have to watch out. --> I'm sorry. --> I love you. --> Come outside. --> I miss you. --> I'm sorry. --> I'm sorry. --> I'm sorry. --> I'm pregnant. --> I'm not. --> I'm going to do. --> I'm thinking. --> I'm talking. --> I'm thinking. --> I'm going to. --> I'm going to do. --> I do. --> I do. --> Yeah. --> I'm a morning. --> Yeah? --> I know. --> I'm not. --> I'm not. --> I'm not. --> I don't know. --> I don't know that. --> But, do you know what? --> Yeah. --> Yeah. --> Yeah. --> Yeah. --> You know what, you know, --> that's, you know what, --> you know, --> there's, --> yeah, --> no one, --> yeah. --> Yeah. --> So, you know what, --> you know, --> probably, --> yeah, --> I'm going to, --> you know, --> that one, --> you know, --> so, --> so, --> so did you, --> do you, --> do it, so, --> Just, indeed. --> So, why just is that you --> this is a little bit more? --> Yeah, la, la, la. --> I don't understand that, --> no. --> No, man. --> Putta a head, --> please. --> As you, --> why he'd say, --> why, --> why? --> I, --> Pran, Boney, no. --> Okay, --> so. --> So, --> sex. --> This is this. --> I don't know. --> I don't know. --> I said, --> I don't know. --> Oh, --> I said, --> hey, --> he, --> ha, hey, --> yeah, --> you know. --> Yeah, --> you know, --> you know, --> that's the --> office. --> Um, --> or maybe, --> yeah, --> so, --> you know, --> that's, --> you know, --> that's, --> you know, --> that's, --> you know, --> I don't know. --> Because you know what's up, --> we have to chat. --> Oh, right. --> I'm so excited. --> I like you. --> Come outside. --> I miss you. --> I'm not. --> I'm pregnant. --> I'm pregnant. --> I'm pregnant. --> I don't know. --> I'm pregnant. --> I'm pregnant. --> I'm pregnant. --> I'm a man. --> I said, I don't know. --> I think that's a lot. --> You know? --> After morning? --> Yeah? --> I don't know. --> I'm not. --> I'm not. --> I'm sorry. --> Mm-hmm. --> No, no one. --> But, do you know what? --> But do you? --> No, two. --> Yeah, no, two. --> Yeah. --> Yeah. --> You know, you know, --> you know what, you know, --> and you know what, --> ah, --> yeah, --> no more. --> Yeah, --> that's, --> you know what, --> you know, --> but, --> uh, --> one, --> uh, --> one of, --> uh, --> you know, --> so, --> so, --> do you know, --> so, --> so, --> Yeah, it's a good. --> So, what's that? --> I do you say that? --> I put down again. --> It was a little. --> Yeah, la la la la. --> This bogged pezo. --> What's up, right? --> I said, I love you. --> I love you. --> So she goes to say, I go ta-da. --> Malf. --> Oh, milk paste. --> Oh, oh, my piece. --> Oh, my piece. --> Oh, you'll say, do you? --> Oh, man. --> Oh, man. --> Yeah? --> Okay. --> I understand, --> you know, --> you know, --> love. --> You know, --> what? --> You know, --> you know? --> Oh, --> you know. --> So, --> my sister, --> that's, --> um, --> that, --> um, --> many, --> something, --> you know, --> that, --> so you know, --> so, --> so you know, --> so, --> I don't know, man, you say, you know what you may have seized. --> No need in a week. --> Yes. --> Yeah, no one says that you're going to take up. --> Okay. --> Okay. --> That's about. --> After everything in Gwanda, you know, --> it's first I'm in a way. --> I'm going to do. --> I'm not going to say. --> You know, I'm not going to say. --> I miss it. --> I miss you. --> I don't know. --> I don't know. --> You know, you know, --> you know. --> You know, --> you saw? --> It's all. --> I don't know, --> cause. --> Ah, --> Nick. --> See, --> and at the same kill. --> Come, baby, --> I miss you. --> Mm. --> Ah, why, why? --> It's a Sunday. --> I don't know. --> I'm a better. --> I'm a bit better, --> you, --> you know, --> go. --> Oh, --> I, --> Pah, --> you know, --> I don't know. --> I don't know. --> I don't know. --> I'm not sure. --> I'm not. --> I'm not, --> you know. --> I'm not, --> you know. --> You know, --> do you, --> do you, --> sex? --> Don't know. --> You know, --> there's a man, --> chance, --> okay. --> Okay. --> Ma'amette, --> Pest out. --> Oh, --> that's so nice. --> Tabo. --> Mm. --> Mm. --> Tabo. --> You said, --> Hey, you know, you say it's a lot, how you know what's it. --> Mana, so here, my camera, but I don't know what? --> You can't have a man be a co-oombed, you know, --> you know what? --> What, you know? --> What, you know? --> I'll tell you, okay, you. --> I'll take it, you. --> It's quite, you. --> You know. --> You've got, you. --> You've got, no. --> Plastic, you know, no. --> If you have my plastic, I'll do this. --> Let's do you. --> Imagine, you know, you know, --> you don't know what? --> I don't. --> I, you know, --> how you know what? --> I'm right. --> I'm right. --> I'm right. --> Yeah, but for one's own, man. --> I don't know. --> I don't know. --> We, too. --> You can't have one. --> You can't have one. --> Yeah, --> no one person, --> so, --> okay, we are. --> So, okay, we are. --> We are. --> money, you spend on a year. --> We don't spend as if you do Muslims, but they don't go. --> You can do? --> You come down? --> Sometimes, I don't know. --> Sometimes, I don't see. --> It's going to be so good. --> Man, ma'am, Musam. --> Hey? --> Chowong, man. --> You're small? --> She's small? --> I'm joining next. --> Okay, man, she's tomorrow. --> Yeah, the next time. --> Tab. --> Where is tap? --> Tab. --> I don't know. --> Okay. --> So, you know what? --> So, you know, --> you know, --> you know, --> you know what --> you're going to --> make, --> they want to --> and then, --> you know, --> you know, --> so. --> So, --> you know, --> what do you --> want to do you --> want to do? --> I'm not. --> You know, --> and shop. --> No, --> no, --> no, --> you know, --> Okay, it's fine to say this. --> Okay, it's fine. --> It's, so you know. --> No, you know. --> Oh, you know? --> Oh, okay. --> So, you're going to come back? --> That's kiss, right? --> Marrani's time we'll pay six, --> I'm about. --> Ah, so. --> Oh, you? --> You know, what? --> I'm late, --> this? --> Chariard Pohy's. --> This, --> you know, --> Pamela of Fulung, --> one 20. --> Eight years. --> E. --> Ha, ha. --> I don't know how to Pamela --> I'm gonna do you know what I'm gonna do you. --> Pamela! --> Pamela! --> So you're gonna do it, first? --> Okay. --> So, I'm gonna do it, --> you're gonna, --> you're gonna, --> you know, --> Ma'i. --> You know, --> Pamela, ma'amela, --> ma'am. --> Yeah, --> there, --> oh, --> blah, --> second, --> I don't know. --> I am. --> I am. --> I am. --> I am. --> I am. --> I am. --> I am. --> Okay. --> I do you. --> Okay. --> Okay. --> Okay. --> What you? --> Don't know. --> I'm not. --> You know? --> Man, man. --> Don't you. --> Why? --> Why don't you? --> Why? --> No. --> No. --> No. --> P. --> We have people who know what you do that. --> I say, I'm not going to work. --> I don't know. --> I can't. --> I'm going to go. --> Okay. --> Okay. --> Okay. --> Okay. --> I'll be here. --> Okay. --> Let me, get this. --> Let me. --> No, what are you? --> No, what are you? --> You're, ma'amage? --> What's all, ma'am. --> So, you say, --> that you'll say, you'll do you get a child. --> Okay. --> Take us home. --> Hey, now, Mrs. --> Welcome to CMC, we another. --> CMC, we are now there to go. --> And we have to be on country. --> You guys to the kids have been forced from --> and move out of the city because they can't afford. --> That you can't afford it. --> People who go there, you know, clientele there. --> Hot dose or who let you do crazy things in the --> backseat of an A class, we're saying. --> Smoke, Ghana. --> It's triggered, man. --> Well, all that I don't know. --> Yes, man. --> Yeah, it spins at Matral's shop. --> Yes, but mind you. --> I imagine, I've been to my children. --> Yeah. --> Good morning, Ted, morning when I see. --> Yeah. --> It's not right. --> Oh, it's not right. --> Yeah. --> And then it's barely six weeks. --> But after six weeks, my cravings are so pale. --> So, yeah. --> So they understand that dad won't be himself. --> I'm not as about understand that. --> So how long have you been sober for now? --> Too long, bro. --> Yeah? --> Too long. --> Because I think the last time, the last time we was on the show, --> by the way, you must check out the episode. --> One of the funniest episodes ever. --> It was four years. --> years ago. --> There's a good. --> Yeah, yeah, it's wrong. --> Crenjew. --> Yeah. --> That means, I mean, --> you're not doing, you're not doing weed. --> You were not doing... --> There was many things I didn't do after they are cring jo. --> Yeah, --> there's a good one who's right. --> Yeah, my poohs are in front of the wrong people. --> Ah, but I went to papa. --> So, me, it's time. --> But for you, say, that's all. --> It's a puppy. --> Munda one's his first papa, so. --> Amher? --> Amher? --> that one. No, cringe-off. Illusions of cringe-off. --> What's it about you? --> Who meant... --> Who is it? --> When? --> In your bathroom? --> Yeah. --> Did you party out to your house? --> Made of balls in the art. --> Oh! --> Yeah. --> A man's a teady. --> I don't know who bus combe, but I read for three. --> That's what? --> Why? --> You? --> No. --> No. --> No. --> Okay, don't get your wash. --> So what did you want to, what made you want to vape? --> What made me want to revoke? --> I'm trying to quit smoking, cigarettes. --> Did it help? --> Yeah, yeah, I'm going to quit the cigarette. --> Yes, yes. --> I need to quit quitting, dog. --> Oh, you're a quitter, bro. --> No, go to you, I want a better life for myself, --> everyone. --> Yeah, I'm going to get in bedding, --> fuck, I'm a best stone-wash. --> I'm not playing the kind. --> He's stone-wash here. --> He in the stone wash. --> You in the stone wash. --> Oh, I'm nother in the stone wash. --> You in the stone wash. --> Oh, no. --> I'm sorry. --> Why you catch your feet? --> Don't you're saying, no. --> You know he's been having me for this bench. --> He's been. --> He's been. --> Oh, gee. --> Oh, gee. --> Yeah, man. --> Get him back. --> Every piece. --> I'm fine. --> You know. --> It's done. --> It looks like. --> It looks like. --> So, look. --> Look, like the Easter Island, one of them. --> Nah, he showed me that. --> Come on, man. --> I'm not African. --> I'm not African. --> No, no. --> We have been able to write? --> I'm going to show you guys. --> We can't hear about. --> Yeah, yeah, yeah. --> Yeah, yeah. --> Show goes to do you. --> You say butter. --> Yeah, you can a pot, --> law. --> Who chabunegov. --> Oh, you know, --> he said, no, --> I'm going to free in Spanish. --> Anyway, good. --> I mean, we are --> Cato's here, Nairwos, yeah, Tudels, yeah. --> Simpew is here. --> And our friend for the show is not another than Trevor. --> You got to check Daniels too. --> You know your stories are fucking crazy. --> Yeah, I'm checking. --> You know? --> Which one is this way? --> No, check ten years. --> I put my body on the line via the comedian, --> uh, Sisi, --> Thailand. --> Yeah. --> I think Navuang or something I had to check --> Gucci. --> Oh, yeah, yeah, I know the ladies that you find out. --> that they're not ladies. --> I had to check. --> Yeah. --> How do you check? --> For meat and two veg. --> You know, --> it's like, hey, hey, nice to see you. --> High five. --> It's very important. --> High five. --> We cheat. --> No way this is a female hand. --> Yeah. --> So, would you high five? --> Yeah. --> You're a man. --> Yeah. --> Adam's up. --> Why do I'm by her and shave? --> I don't know how, is that true? --> I've never heard of that. --> I can't remove the items up. --> I've never heard of that. --> It's plastic surgery. --> Must be. --> Yeah, yeah. --> They can change a lot of even like down there, yeah. --> Those approaches. --> The lady knows, because she's got a BBL. --> Can they shave? --> Can they shave this? --> My husband? --> BBL. --> I have a group in a refied. --> No. --> Oh, you are. --> Oh, you are. --> You are still in a car. --> You are still to say. --> right bblr. --> It's not bbr vibes, man. --> It's just a normal... --> These groups are massim. --> The godlady, you've got a great future behind this. --> First. --> No, they're not trocate. --> Five. --> Throw it. --> You know, so sad. --> Yeah, BBL was like... --> You know, like... --> But so, let's see, Trevor came with a nigerenda. --> First, I'm making great jury in the toilet. --> You and your vest. --> Now it's going to stay. --> Ah, Robster's soul. --> we're in chicken. No, who's my God? Okay. I'm sorry guys. I'm sorry. It's in Kulumama. Yeah. --> Yeah, yeah, yeah, yeah. Yeah. My spirit is not in a great place right now. Yeah. --> Yeah. Yeah. Yeah. Okay. --> Why, Leina? --> It's in a quarry --> What? --> Songs, I don't know. Oh, shit. I know. --> Oh, it's spectacular. --> It's in now. --> It's he. --> He doesn't rate them as podcasters. --> I don't know what. --> I don't want to be in there, you know, why was ganga? --> What's nice? --> I was paying. --> What's to know? --> I was paying? --> I'm a cheetah shop. --> Great. --> It's a guy and a half. --> They've been once in a while. --> My brothers keep out. --> I've heard. --> So you're saying you're in Thailand, so when you wake up, do you go high-five? --> Is that the first thing you did? --> No. --> First thing I did, what did I do? --> Oh, that's how. --> Oh, I reached for my clothes, nah? --> Yeah. --> I found them. --> and that was there and phone couldn't use it. --> Yeah, yeah, no, but you skipped all the juicy parts because you're getting dressed now. --> Anyway, let's start the show guys. --> Yeah, that's pure for you. --> Yeah, it's pure for you. --> Let's start the show, man. --> So I don't know if you guys heard, but nine S S S --> A-N-DF soldiers were killed in DRC. --> The South African National Defense Force has lost nine soldiers in combat against M-23 rebels --> in the Democratic Republic of Congo and dozens injured. --> The South African Department of Defense in the statement on Saturday said the casualties --> came from two days of fierce fighting amid an M-23 push to take GOMA. --> The South African contingent and its counterparts were able to halt the advancement of the --> rebel group towards GOMA, the provincial capital of the Eastern DRC, the M-23 hostile --> forces that launched a full-scale attack on our troops with the intention of taking over --> goma but when unable to advance due to their road resistance put up by gallant fighters --> says department of defense head of communication what's your thought of that peduka no man the guys --> must come back look i know that soldiers sign up and get training to go and one day be --> combat right for whatever reasons they're there they say it's a peacekeeping mission but we all know --> the volatility of the situation there with everybody fighting for minerals and whatever but the problem --> is the guys are under equipped they don't have and they're fighting an enemy the m23 or rebels --> are more equipped they've better weapons air support they've got drones we don't have all those --> things so for me it looks like and sounds like a suicide mission especially if the lines are blurred --> as to expect what are they fighting for um but i get being one with other nations in solidarity to --> keep rebels away or whatever uh they term it but they must get proper support the guys don't --> fucking have support so it's a suicide mission and those are like fathers and brothers of someone --> you know bro i didn't even know there were troops there bro so what are they to do do you know --> peacekeeping remember there's the the war there and violence and rebels and they are all sorts of --> interest that are trying to get --> some minerals out of the country --> so that's what's causing all of that so we're --> part of the UN peacekeeping mission --> it's not just us Malawi's there --> other countries as well African --> countries are there what do you take --> German? Yeah no right --> we've got no business there --> we've got absolutely no real for real --> the level of our soldiers --> died with apartheid --> I'm sorry to say --> if you remember --> died but I mean I could know --> How could I'm like that? --> Now, so after METRIK, all the kids, the white kids, used to go for something called conscription. --> Oh, wow. --> Yeah. --> Oh, yes, yes, yes, yes. --> Straight after matric, you have to go into the army. --> You do a year or two in the army, then you go to varsity, you know? --> And what I've noticed now with our nation, if you ask children in the UK, what do you want to be when you grow up? --> you will hear police officer you will hear firemen right yeah yeah they grow up wanting to be these --> things milk the degree guy they aspire to be these things mailman not even as a joker in zanzi with a kid --> saying for no no seven's a fight department it's a job you fall back on --> that's true so it's not a vocation it's a calling this thing you know they've got certain --> things like servant protects that's with the cocks i've never been in the army but i'm sure there are --> things that you swear to because you're wearing your country on your sleeve on your uniform you're --> representing an idea if our idea is a complete society where everybody's equal you are fighting for --> that just cause i get ube in an army and you're like i'm if umair and you're like --> Pledge of allegiance. Yeah, what is our army called? We fighting against, --> N-23, M-23. --> Yeah, yeah. --> Yeah. --> Yeah. --> Yeah. --> But no one of us, you know, I have fun of a fight. --> Ah, ha, ha, ha, ha, I'm a pain. --> No, my pain, no. --> The other countries, do they lose anyone? --> I think you're surviving the army, bro. --> You reckon? --> I think you would. --> I don't have it in me to kill someone, man. --> I don't think I'd be able to survive them. --> You do, man. --> It was just a red-hanger saying. --> Well, I don't go to varsity first and foremost. --> To kill someone. --> To tell them. --> Their intentions to harm those that you love and those that are dear to you. --> That's why then as a soldier, sometimes when you, you know, you sign up to me in the military, --> you hope it's for one day to defend the honor of your country, especially when it's under attack. --> Especially if you say it, if you say it, --> If it's a country that actually, you actually believe in, a country that has given you, your family, your kids, opportunities, a livelihood that has taken good care of you. --> A country will love, anybody will take a bullet for their country. --> That's why I would conscription when they will say back in a party that there's a terrorist group, A and C, PAC, all these people are fighting for freedom, and then they brainwashed the kids. --> And they're like, hey, this South Africa works for us. --> We live nice. --> We live fresh. --> We've always had opportunity. --> We are well taken care of. --> we've got services now that's an idea that you're willing to die for as a normal citizen of any country --> and willing to kill for and willing to kill for because they were brainwashed to believe that and the --> country was working for them so i think everybody pause pause you say imagine now it's a white --> person from the previous regime yeah saying what's in this country the apartheid regime --> yeah this country has treated me well it's given these are the words you use --> This country has treated me well, has given me opportunities, has treated my kids well. --> Now there's somebody who's trying to turn this country around to be a democratic country. --> That freedom fighter wants to take away the privileges me and my kids have. --> So it's okay for me to kill him. --> Hold on, hold on, hold on, hold on. --> No, no, no, no, no. --> It's exactly what he said. --> But you're missing one thing. --> That person, that kid was brainwashed to not see a freedom fighter, a terrorist. --> Mandela and all of them were terrorists --> according to the government --> and that's what they taught the kids --> that there's terrorism groups --> who want to change --> you see what you have --> that fresh piece of meat --> that bacon eggs --> you have in the morning --> they want to take that away --> and that's part of the brainwash --> now I'm not saying --> that these guys were terrorists --> we all know they weren't --> they were fighting for equality --> but they were brainwashed --> and was not much of a boxer --> but they boxed them as a terrorist --> they put him in a terrorist --> boxed --> I'm taking it from there --> from the mind --> of a brainwashed person but obviously in the ideal world say it's not brainwashed say the south --> africa is really that great and you knew that there was a war coming a lot of people would actually --> join the army just to defend our country because we want a country for our kids and their kids --> technically kill so you are saying you are saying that there are reasons valid reasons to --> take another person's life because of the things that they'd um --> are almost taken away from you. --> The threat they post. Yes. --> So it's okay. --> If I find a man in my yard or in my house with my --> fair married, wife, child, --> and he's got a knife or a gun, --> or there's three, four of them. --> And I know what happens with four guys. --> And I know what happens when four guys. --> Come on, I like things. --> I'm all killed. --> The typical African guy is more trained. --> guys more trained than our guy in the military --> way more trained conscription number one way more trained than our police --> officers right because of the country we live in and those guys are willing to kill --> enter their farm or enter their yard with a gun and you'll see god now because they're willing --> to kill for their families i agree with i'm willing to donate permission to --> a license a but with our uh with our our laws --> I have to use in life. --> Because if I use my license gun, --> Ah, by I charge, Ivokata, --> when my ballistics, when it comes back, --> when my last gun came back, --> all screwed up and I couldn't... --> Here the gun? --> And you used, and they... --> He didn't know, he had a gun, --> he used, they took it in. --> My cut, clean. --> Okay, why name Chatsa Ziraz? --> No! --> No! --> Yeah, my life just flashed in front of my eyes. --> I could see all my head, like a corner, and trevaco. --> That was just... --> That was just hypothetical. --> I don't have a spare gun that lives in my pool pump. --> There's a lot of him. --> Man, anybody's been following up in the Britain's story, man? --> What are they doing for a girl, bro? --> Oh, man, my brother. --> Yeah. --> Yeah. --> Yeah. --> we've had it like twice right oh dude yeah uh once once well once she had a child remember yes --> yes so there was a lot of drum over the weekend when actress at tv personality brendan nollie --> forgot about the abuse she says the mother still in the clip on her this comes up after nollie --> and her mother got into a fight over the weekend which uh she recorded on camera and she had on --> instagram brenda says in the video clip that because of her social standing her mother's --> used to physically abusing her before threatening to expose her in the media --> According to reports, some of her fans have donated to her a current amount of over 100,000 --> hands. Additionally, Ferguson's film has shown the support of Brenda Lange's donation of 50,000 --> men. How much have you deposited? How much did you say? --> Ah, y'all, y'alliang Chai, I mean a khaa. --> Please donate to my captain. --> The account number is on the bottom of the screen. --> He's not paying me for it. --> I can't be telling me. --> I'm a liner about do my... --> ...such as Steve Zee. --> What's super crazy about this one is that it. --> And this is all for you guys. --> You can create images and it's pretty quick. --> You got artists as the equivalent of Claude Artifacts or JadD Canvas --> where you can code...