Komentáře •

  • @hnasr
    @hnasr Před 4 lety +10

    * What is Failover? 1:47
    * ARP - Address Resolution Protocol 3:00
    * VIP & VRRP 5:40
    * High-availability Example 12:12

  • @_SoundByte_
    @_SoundByte_ Před 3 lety +7

    Can’t sleep without watching one of the backend video of yours

  • @psstream889
    @psstream889 Před rokem +1

    CZcams is going to make good and quality engineers

  • @mohammedhewedy8231
    @mohammedhewedy8231 Před 4 lety +4

    Your channel is awesome, you are hitting very important topics for the developer to understand how the parts underneath them are working, and most of the time you find developers just ignore it.
    I Like your channel and your choice of topics ALOT

    • @hnasr
      @hnasr Před 4 lety

      Thank you Mohamed! Appreciate your kind words bro 🙏

  • @ice194
    @ice194 Před 3 lety

    Thanks for the explanation! It’s really good. Subbed!

  • @ryandeckard1479
    @ryandeckard1479 Před 3 lety

    Thank you so much for all the work you put into your videos, these examples are extremely helpful and well-made. I subscribed and hope to learn a lot from you!

    • @hnasr
      @hnasr Před 3 lety +1

      Appreciate it thanks Ryan! I hope you enjoy the content

  • @jamiekim5430
    @jamiekim5430 Před 3 lety

    So succinct and easy to understand!

  • @wh264
    @wh264 Před 3 lety

    love the examples, subscribed.

  • @mr.daniish
    @mr.daniish Před 4 lety +4

    Excellent videos Hussein, you are an excellent and fun techie! Quick question, do you have a DraaS video as well, if not please do so.

  • @joechen9498
    @joechen9498 Před rokem

    Great example. I love it. Thank you for the video. i subscribed.

  • @himanshupatel4264
    @himanshupatel4264 Před 2 lety

    Great video man.. haven’t seen some content in while

  • @snowman7480
    @snowman7480 Před 2 lety

    This is what we call passionate. Good luck buddy ;)

  • @ial9809
    @ial9809 Před rokem

    glad i found ur channel gotta learn a lot from u

  • @sureshk763
    @sureshk763 Před 4 lety +6

    Thanks for taking your time to share your knowledge with us....

    • @hnasr
      @hnasr Před 4 lety +2

      Suresh K Thanks Suresh!!! I am so happy I could share my knowledge . It gives me great pleasure.. let me know what should i talk about next

    • @sureshk763
      @sureshk763 Před 4 lety

      @@hnasr thanks for the reply,
      Could you create a video for Cloud servers connectivity with Storage devices

  • @truthadjustr
    @truthadjustr Před rokem

    Can you describe a little bit what is happening in the background between a primary and secondary to ensure that their file systems are in sync. Does it need running services within the node for the fail-over to be successful? If I can ssh into an Ubuntu machine, how can I tell that it is being configured for fail-over?

  • @ArpanDasS
    @ArpanDasS Před 3 lety

    Dope content! 🔥

  • @AnkitSingh9787
    @AnkitSingh9787 Před 2 lety

    great explanation

  • @sagartyagi2450
    @sagartyagi2450 Před 3 lety

    Just curious to know, can we have the fail over at any level?? Like even after having it at the top of load balancer, we can add one more fail over at the backend server levels right?

  • @anvitasingh5
    @anvitasingh5 Před 3 lety

    who can dislike this lovely video !!! 13 people are legit crazy.

  • @stutteringcris468
    @stutteringcris468 Před rokem

    i learned a litte, here.
    you're funny as hell!

  • @yahyaensa
    @yahyaensa Před 3 lety +3

    Thank you Hussein for you GREAT VIDEO, i'm in love with your channel !
    Quick question, what happen when the 2 haproxy are not in the same LAN (ARP requests won't work right) ? What if we want to do High-Availibility but accross multiple geolocation ?

    • @hnasr
      @hnasr Před 3 lety +3

      DNS load balancing combined with this technique is one idea

  • @pramodpatil3925
    @pramodpatil3925 Před 3 lety

    Superb !

  • @soufianta8374
    @soufianta8374 Před 3 lety

    Hi. Stupid question maybe: from which ip does the browser send a packet in case of multiple IP interfaces (1 physical and x-virtual)? I know that every trafic can only travel through the physical one but how does it actually work? I’m trying to understand how I can go on internet, communicate with local machines, remote machines from the intranet (through vpn) etc. with only 1 physical interface !!! Thanks

  • @dawahtv7942
    @dawahtv7942 Před 4 lety

    hello please give me some advice to solve my problem sir. i have load balancer TPlink TL-ER6200 and i setup a fail-over i have two ISP sometimes my 1 ISP goes wrong no internet but modem is active just no internet. the load balancer not outomatic switch the backup isp in the back up wan. they switch only the backup wan when main wan not connected in ISP 1

  • @vivekdey1827
    @vivekdey1827 Před 3 lety

    Hello Sir, is it what the heartbeat protocol does?? Thanks.

  • @d.s.5157
    @d.s.5157 Před 2 lety

    Hi how would this still work if laptop was at another site and the 2 servers were in two separate locations ?

  • @jamesking890
    @jamesking890 Před 2 lety

    i like this guy. great stuff

  • @tanumoymajumdar874
    @tanumoymajumdar874 Před 11 měsíci

    Wonderful explanation. Just one doubt. We are still with one single database instance so single point failure. How can we achieve high available system with single instance of database ?

  • @AmitKumar-qg5mu
    @AmitKumar-qg5mu Před 4 lety

    Nicely explained

    • @hnasr
      @hnasr Před 4 lety

      Thanks Amit! 😊

  • @douglasmakey
    @douglasmakey Před 4 lety +1

    Hi bro thanks for taking your time to share your knowledge with us, I have a question, I know each computer has a local ARP table to store each know mac addresses, the first time when the machine ask "who has the ip *.100", it will add the response to this table 10.0.0.100 == AAA, so how is the machine know that the first machine with mac AAA has failed, and it need to ask again "who has the ip *.100" ?
    Sorry for my English, thanks

    • @hnasr
      @hnasr Před 4 lety +5

      Douglas Mendez good question!! When the client asks who has the ip address 10.0.0.100 it will be received by all machines and machine AAA will respond. So the client will know update its ARP table that 10.0.0.100 is AAA.
      When AAA dies BBB takes over (because BBB knows that AAA died since it didn’t receive heartbeat 💓) BBB now sends a broadcast to all clients to flush their ARP table so that 10.0.0.100 is now BBB. Its a reverse operation

  • @sunshineheavens6473
    @sunshineheavens6473 Před 2 lety

    How to actually set up a failover IP? before it can be used with keepalived or other setup. Thanks in advance.

  • @adityasethi9794
    @adityasethi9794 Před rokem

    if communication b/w master n backup has an issue. backup thinks master is down but its not really down. in this case both will reply yes for the ARP. how does in work now?

  • @ammarel-shabrawy6275
    @ammarel-shabrawy6275 Před 3 měsíci

    Could explain example using Message queue example instead of HTTP server ?

  • @hassanawodi5888
    @hassanawodi5888 Před 4 lety

    Thanks for this. What other software will you recommend for high availability on Linux?

    • @hnasr
      @hnasr Před 4 lety

      Definitely keepalived for high availability mixed with either nginx or haproxy for layer 7 load balancer and layer 4 load balancing ..

    • @hassanawodi5888
      @hassanawodi5888 Před 4 lety

      @@hnasr thanks. Will give it a go.

  • @edufree565
    @edufree565 Před 4 lety

    Nice video, thanks for the simple explanation. I have a question, slightly off-topic but pls excuse me. I want to know what happens in real prod scenarios, say both of the front end servers(or app or db) go down, how is the third one introduced? I assume the newly introduced server will need some configuration before it can handle requests. How is that handled automatically?

    • @hnasr
      @hnasr Před 4 lety +2

      edufree good question, I don’t have a straight answer unfortunately. The originations I worked for always used Passive Active model just two servers and when the main server goes down the new server takes over (fail over) clients will have to close and reopen.
      The probability where both servers go down at the same time is low in enterprise environment. And if it does you will basically go offline. Here it depends on your SLA. Do you want to cater for that case? You have just add another server to the cluster to fail over to.
      In high active environment such as google, twitter this is done through containers and orchestrating layer (kubernetes) if something fails another container is always available..
      Databases are tricky to scale as containers people are still figuring this out.. essentially making the DBMS stateless and decoupled from storage.
      Hope that helps or did u have something else in mind?

    • @edufree565
      @edufree565 Před 4 lety

      @@hnasr Thanks for the reply, yeah I guess containers provide more bandwidth for failures in HA environments

  • @siddharthdeshpande4086

    Does Application running on Microsoft Cluster works on same ARP/ VIP concept? For example we need to deploy IIS/Web server as HA using Microsoft Cluster Service... I always used to think may be DNS is getting updated every failover happens but never thought about ARP... Great Video !!

    • @hnasr
      @hnasr Před 4 lety +1

      Yeah MS uses NLB as a layer 4 load balancer. Thanks!

  • @vibekdutta6539
    @vibekdutta6539 Před 4 lety

    Sir could you please make a video on RAFT, its a protocol by which nodes in a distributed system agree upon who is master and whos follower, please add some example also :}

  • @amitarora0623
    @amitarora0623 Před 3 lety

    At 13:01, you mentioned "if you are still doing REST". What do you recommend "if not doing REST" ?

    • @hnasr
      @hnasr Před 3 lety

      Nothing really wrong with REST if it works

    • @stealtime
      @stealtime Před 3 lety

      @@hnasr What do you use if you're not using REST?

  • @MayankAggarwal
    @MayankAggarwal Před 4 lety

    Awesome video! Can you please let me know from where you prefer to read about all this?

    • @hnasr
      @hnasr Před 4 lety +4

      I start from Wikipedia then scroll all the way down to resources to read original resources. The more I read the more questions I have, I search for answers , sometimes with luck sometimes without.. so I put the pieces together here is where most of my own work come to place and prior knowledge of the topic.
      hope that helps :)

    • @MayankAggarwal
      @MayankAggarwal Před 4 lety

      @@hnasr Thanks! You have done an awesome work in these videos.

  • @zahrasadeghibogar
    @zahrasadeghibogar Před 4 lety +1

    First of all, I would like to thank you for your positive energy and your interesting way of teaching. Thank you:-)
    Second, I want you to help me. or maybe to make a video about the structure of the network, in terms of languages, for example, I am a beginner in learning networks, firewall, security and the languages that are related to this area, in fact, I always confused what languages are for server-side and which are for client-side, I did search about it but I am still confused and have no clear image of the structure. I hope, I explained my purpose clearly:-(
    I also want you to help in in learning IPsec VPN and SSL VPN and their differences and also, whats the meaning of this statement that IPsec is a layer 3 protocol which is better then SSL which is a layer 4 protocol, I do not know what it is mean
    Thanks a lot

    • @hnasr
      @hnasr Před 4 lety

      Hi Zahra,
      Thank you for your comment! Almost any language can be server side or client side check out my latest video.
      Check out my network engineering playlist, the more you learn the more questions you will have and that is when you know you are beginning to understand
      czcams.com/play/PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr.html

  • @PerfectBonzo
    @PerfectBonzo Před 4 lety

    Look at me! Look at me! I’m the master now

  • @omaramine8710
    @omaramine8710 Před 4 lety

    good job!

    • @omaramine8710
      @omaramine8710 Před 4 lety

      Hussein , what about keepalived master and slave ! ?

    • @hnasr
      @hnasr Před 4 lety +1

      I explain the concept in the video, I just call it master backup instead.
      Ill make a dedicated keepalived practical video . This one was to explain fail over concept

    • @omaramine8710
      @omaramine8710 Před 4 lety

      @@hnasr Any update here bro :-) thank you !

    • @husseinnasser
      @husseinnasser Před 4 lety

      omar amine not yet, still busy with other projects. Stay tuned :)

  • @krishnakondapalli
    @krishnakondapalli Před 3 lety

    IP failover is good, but what if want a certain filesystem to be failedover as well along the IP?

    • @hnasr
      @hnasr Před 3 lety

      Krishna Kondapalli hmm like Raid cluster?

    • @krishnakondapalli
      @krishnakondapalli Před 3 lety

      @@hnasr yeah some clustering system that can failover IP and a filesystem for app to write its data on.
      Also have to say this - you're doing a great job sharing you knowledge. thank you!

  • @joeyalfaro2323
    @joeyalfaro2323 Před 3 lety

    Reminds me of tunnel rats of Vietnam. 2 man teams number 1 and number 2 guy. If number 1 guy dies number 2 guy becomes number 1 guy gets fresh recruit he becomes number 2.

  • @atomicluis
    @atomicluis Před 3 lety

    I’m the OG now... lol

  • @agrawalbansal88
    @agrawalbansal88 Před 4 lety

    its good video, but try to avoid voice modulations, its irritating. btw content is quite good

    • @hnasr
      @hnasr Před 4 lety +1

      ankur agrawal I will do better in future videos (with audio quality) apologies

    • @agrawalbansal88
      @agrawalbansal88 Před 4 lety

      @@hnasr thanks for quick response :)

  • @gam3955
    @gam3955 Před 3 lety

    Good explanation but too long !

  • @vigneshkini9489
    @vigneshkini9489 Před 2 lety

    It could have been better.. didn't like the way you sing and dance with the words to explain the concepts..

  • @johnfernandes455
    @johnfernandes455 Před 3 lety

    irritiating

  • @naziaqureshi2563
    @naziaqureshi2563 Před 2 lety

    Hi hussein , i wanted to connect with you regarding some queries related to fail over scenarios. Please share your email id