Edwin M Sarmiento - SQL Server HA and DR
Edwin M Sarmiento - SQL Server HA and DR
  • 99
  • 330 564
Successfully Implement SQL Server Always On Availability Groups with Failover Clustered Instances
This is a walk-through of building a SQL Server Always on Availability Group on top of a Failover Clustered Instance to achieve both local high availability and remote disaster recovery.
This is a complex architecture. Make sure you include everyone involved in designing, implementing, and managing it during the planning phase.
And while this video is less than an hour long, nobody builds this kind or architecture in less than an hour. Proper planning and implementation takes days and involves engineers with intermediate-level skills.
NOTE: I no longer recommend this architecture due to the complexity of the implementation. However, there are so many implementations like this in customer environments that were not done properly.
Download the Cluster Preparation Check list from here
learnsqlserverhadr.com/clusterprepchecklist
zhlédnutí: 561

Video

Installing a SQL Server Failover Clustered Instance (SQL Server 2022 Edition) - Part 3
zhlédnutí 490Před 3 měsíci
This is an update to the video on SQL Server failover clustering installation. We will build a traditional 2-node SQL Server 2022 failover clustered instance on Windows Server 2022 - from start to finish. Part 3 is all about installing patches and updates on a SQL Server 2022 failover clustered instance. Make sure you watch until the end. I've included the process on how to slipstream SQL Serve...
Installing a SQL Server Failover Clustered Instance (SQL Server 2022 Edition) - Part 2
zhlédnutí 1,2KPřed 3 měsíci
This is an update to the video on SQL Server failover clustering installation. We will build a traditional 2-node SQL Server 2022 failover clustered instance on Windows Server 2022 - from start to finish. Part 2 is all about installing a SQL Server 2022 failover clustered instance and adding nodes. Part 1 is available here: czcams.com/video/ams7V7CzpqE/video.html Part 3 is available here: czcam...
Installing a SQL Server Failover Clustered Instance (SQL Server 2022 Edition) - Part 1
zhlédnutí 2,3KPřed 3 měsíci
This is an update to the SQL Server failover clustering installation. We will build a traditional 2-node SQL Server 2022 failover clustered instance on Windows Server 2022 - from start to finish. Part 1 is all about installing, creating, and configuring the Windows Server 2022 failover cluster. Part 2 is available here: czcams.com/video/HTIFAUpewWM/video.html Part 3 is available here: czcams.co...
What SQL Server DBAs Need to Know About Docker Containers
zhlédnutí 394Před 3 lety
What SQL Server DBAs Need to Know About Docker Containers
Getting Started with Linux for the SQL Server DBA Edwin M Sarmiento
zhlédnutí 464Před 5 lety
Getting Started with Linux for the SQL Server DBA Edwin M Sarmiento
5 Shifts Rockstar Data Professional
zhlédnutí 388Před 5 lety
5 Shifts Rockstar Data Professional
Designing SQL Server AlwaysOn Availability Groups Topology
zhlédnutí 8KPřed 5 lety
Designing SQL Server AlwaysOn Availability Groups Topology
Setup and Configure Windows Server 2016 Failover Cluster Without Active Directory
zhlédnutí 34KPřed 5 lety
Setup and Configure Windows Server 2016 Failover Cluster Without Active Directory
The Real Secret to Successfully Upgrade SQL Server Environments
zhlédnutí 1,1KPřed 6 lety
The Real Secret to Successfully Upgrade SQL Server Environments
Creativity in Scarcity: Behind The Scenes of How I Created My Online Courses
zhlédnutí 374Před 7 lety
Creativity in Scarcity: Behind The Scenes of How I Created My Online Courses
The Most Important Concept In Windows Failover Clustering
zhlédnutí 19KPřed 7 lety
The Most Important Concept In Windows Failover Clustering
Different Types of Microsoft High Availability Technologies
zhlédnutí 26KPřed 8 lety
Different Types of Microsoft High Availability Technologies
Installing and Configuring SQL Server 2012/2014 Reporting Services in SharePoint-Integrated Mode
zhlédnutí 8KPřed 8 lety
Installing and Configuring SQL Server 2012/2014 Reporting Services in SharePoint-Integrated Mode
Unexpected SQL Server Backups Break Your Disaster Recovery Strategy
zhlédnutí 352Před 8 lety
Unexpected SQL Server Backups Break Your Disaster Recovery Strategy
Effects of a Full SQL Server Transaction Log
zhlédnutí 4,6KPřed 8 lety
Effects of a Full SQL Server Transaction Log
The Truth About SQL Server Backup Verification Using The GUI
zhlédnutí 893Před 8 lety
The Truth About SQL Server Backup Verification Using The GUI
SQL Server Backup Checksum
zhlédnutí 3,3KPřed 8 lety
SQL Server Backup Checksum
Useless SQL Server Backups
zhlédnutí 291Před 8 lety
Useless SQL Server Backups
Factors Affecting SQL Server Database Recovery
zhlédnutí 349Před 8 lety
Factors Affecting SQL Server Database Recovery
What Multibase Differential Backups Are and How To Deal With Them
zhlédnutí 272Před 8 lety
What Multibase Differential Backups Are and How To Deal With Them
Installing and Configuring a Multi Subnet SQL Server (2012 and higher) Failover Clustered Instance
zhlédnutí 16KPřed 8 lety
Installing and Configuring a Multi Subnet SQL Server (2012 and higher) Failover Clustered Instance
Proactively Identify & Deal with SQL Server Database Corruption
zhlédnutí 1,2KPřed 9 lety
Proactively Identify & Deal with SQL Server Database Corruption
Installing a SQL Server Failover Clustered Instance
zhlédnutí 104KPřed 9 lety
Installing a SQL Server Failover Clustered Instance
Build a Personal Hyper-V Lab with Windows Server 2012 R2
zhlédnutí 15KPřed 9 lety
Build a Personal Hyper-V Lab with Windows Server 2012 R2
SQL Server Database Recovery Techniques
zhlédnutí 4,9KPřed 9 lety
SQL Server Database Recovery Techniques
The Lion, The Switch and the Wardrobe
zhlédnutí 180Před 9 lety
The Lion, The Switch and the Wardrobe
BIA, RPO, RTO, SLA, etc. Acronyms That Need To Drive HA/DR Projects
zhlédnutí 9KPřed 9 lety
BIA, RPO, RTO, SLA, etc. Acronyms That Need To Drive HA/DR Projects
Non-Technology Aspects of High Availability and Disaster Recovery
zhlédnutí 195Před 9 lety
Non-Technology Aspects of High Availability and Disaster Recovery
Gone Clustering in 60 Minutes
zhlédnutí 2,1KPřed 10 lety
Gone Clustering in 60 Minutes

Komentáře

  • @sarahfuntanilla6542

    which udemy course included this training pls?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 3 dny

      This one www.udemy.com/course/sqlserverhadrdeepdive However, just because you can follow a video tutorial doesn't mean you'll be able to implement it properly. Building a SQL Server failover clustered instance requires properly configuring every layer in the stack - servers, VMs (if you're running virtual machines), storage, networking, Active Directory, DNS, failover clustering, and SQL Server. One misconfiguration is all it takes to cause an extended outage.

  • @georgepapa2950
    @georgepapa2950 Před 28 dny

    Did this in 1999 Advanced Server 2000 and SQL7 clustering, BLAST from the PAST

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 26 dny

      Wolfpac with Sphinx, for those who still remember the codenames 🙂 The principles and concepts remain the same...despite all the hype of whatever is new in the industry

  • @edgarallanbayron3924
    @edgarallanbayron3924 Před 28 dny

    just in time. I needed this info and it was 2 weeks ago! Subbed now :) Need to watch more of your videos.

  • @AnandNarine
    @AnandNarine Před měsícem

    what happens to the tlogs if the replica is offline? does it grow forever ?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před měsícem

      This happens 🙂 czcams.com/video/BSS4G087UeM/video.html I used this example to demonstrate the effects of tlogs growing and getting full until it can no longer do so. The application may throw an error that doesn't explicitly tell you it's a SQL Server problem.

    • @AnandNarine
      @AnandNarine Před měsícem

      @@EdwinMSarmiento what can be done to reduce the size of it in this case?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před měsícem

      @@AnandNarine Monitor and take precautionary measures to make sure the tlog files do not grow to a size that fills up the disk. That really is all there is to it.

  • @inigugum
    @inigugum Před měsícem

    Bro im becoming your fans , this tutor really helpful , subscribed and please do another good job again for sql server 🎉🎉🎉

  • @GS-ud4fg
    @GS-ud4fg Před 2 měsíci

    hi. you mentioned providing a link to the cluster preparation checklist spreadsheet?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 měsíci

      The link should be on the description learnsqlserverhadr.com/clusterprepchecklist

  • @jeffreyooi1971
    @jeffreyooi1971 Před 2 měsíci

    Can SQL cluster work on a workgroup environment instead of an Active Directory environment? Thank you. Btw, cannot find the link to download the checklist, thank you.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 měsíci

      > Can SQL cluster work on a workgroup environment instead of an Active Directory environment? If you're referring to a SQL Server failover clustered instances, it's not supported. Only SQL Server Always On Availability Groups work with workgroup clusters as of SQL Server 2022. Here's a video on how to install and configure a Windows Server Failover Cluster without Active Directory czcams.com/video/jDvqP1372Lo/video.html

    • @jeffreyooi1971
      @jeffreyooi1971 Před 2 měsíci

      @@EdwinMSarmiento Thank you very much for the reply.

  • @dadsgarage.alwaysopen
    @dadsgarage.alwaysopen Před 2 měsíci

    Can CUs be applied by just pausing a node and draining the roles and vice versa?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 měsíci

      I do not recommend the node drain feature for SQL Server. It wasn't designed with SQL Server in mind. It's for Hyper-V workloads

  • @dadsgarage.alwaysopen
    @dadsgarage.alwaysopen Před 2 měsíci

    Love the incredible detail you provide. Thanks for taking the time to share this with us!

  • @dadsgarage.alwaysopen
    @dadsgarage.alwaysopen Před 2 měsíci

    Thanks for taking the time to go through each step! Extremely helpful for me! I'm going through a two-node cluster setup.

  • @pankaj2443
    @pankaj2443 Před 2 měsíci

    Pls make video on always on high availability also.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 měsíci

      Have a look at this czcams.com/video/DmH81mGGZwg/video.html

    • @jeffreyooi1971
      @jeffreyooi1971 Před 2 měsíci

      @@EdwinMSarmiento can you make a video on how to configure the on always on high availability and it failover. What is the different between the normal HA and the always on HA, thanks.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 měsíci

      @@jeffreyooi1971 Are you referring to this? czcams.com/video/A8lSl8nO1r4/video.html

    • @jeffreyooi1971
      @jeffreyooi1971 Před 2 měsíci

      @@EdwinMSarmiento is it the same configuration or setting apply to SQL server 2022 too as the video is 12 years ago, thanks.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 měsíci

      @@jeffreyooi1971 There have been a lot of configuration changes since SQL Server 2012. And these subtle changes can cause a major outage if not done properly. I'll release an updated video on installing and configuring SQL Server Always On Availability Groups

  • @MarcoTonoli
    @MarcoTonoli Před 3 měsíci

    i see is a pretty old video, but i have a question.... why use dns and not edit a hosts file ? i wll have less dependency ... you depend from DNS in this way.... is still the same with 2022 ?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 3 měsíci

      > why use dns and not edit a hosts file Scalability. When you have more than 2 nodes to manage, you have to think of how you can do more with less.

  • @esatsaglam2800
    @esatsaglam2800 Před 3 měsíci

    Found this from a post from Erik Darling. A bit late yet great discovery

  • @BUY_YOUTUBE_VIEWS_d114
    @BUY_YOUTUBE_VIEWS_d114 Před 3 měsíci

    This video deserves all the awards.

  • @pradeepdnm
    @pradeepdnm Před 4 měsíci

    please release the audio format in Google Podcasts & other audio channels.

  • @jehosurkhalifa3192
    @jehosurkhalifa3192 Před 6 měsíci

    Don't stop. You have a quality cintent

  • @danarkamal1556
    @danarkamal1556 Před 7 měsíci

    Thanks for you , Really Nice

  • @vincentnorman2351
    @vincentnorman2351 Před 7 měsíci

    'Promosm'

  • @pradeepdnm
    @pradeepdnm Před 7 měsíci

    please release the audio format in below podcasts channels as it helps listening while commuting/working. thanks

  • @jayeverything
    @jayeverything Před rokem

    Thanks for sharing 💯

  • @fbifido2
    @fbifido2 Před rokem

    - all questions are based on: a. Stand Alone Servers b. No shared storage c. All are on the same subnet (except for DR) 1. How would you do HA & DR for SQL 2019/2022 in docker containers, and have AlwaysOn AG /w Listener? 2. Can you have HA & DR on 2/3 Windows Server 2022 Core + SQL Server 2022, With AlwaysOn AG /w Listener? 3. Can you have HA with just SQL Server 2022 docker containers with AlwaysOn AG /w Listeners? 4. How do you do failover for HA & DR on SQL Server 2022 in docker with ALwaysOn AG /w Listener? Please & Thanks.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před rokem

      My responses below: 1) Why do you need to run Always On Availability Groups on Docker containers? 2) Yes 3) Same as #1, why do you need it to be on Docker containers? 4) Same as #1, why do you need it to be on Docker containers?

    • @fbifido2
      @fbifido2 Před rokem

      @@EdwinMSarmiento it should be the cheapest way to have HA is terms of resource. containers are easy, but unless you are using shared storage to start up a new host you will have data loss. Plus, I just wanted to know if it's possible. With AG the data should stay synced, that way you don't have to worry about the container if one goes down, just auto start a new one & sync the data.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před rokem

      @@fbifido2 What are your HA goals? RPO? RTO? It is possible to do what you want. But without having a clear HA goal - RPO/RTO/SLA + the apps connecting to the DB - what's the point? Start with defining the goal as clearly as you possibly can

  • @wolfgangeyre6265
    @wolfgangeyre6265 Před rokem

    🤣 *Promosm*

  • @DimitarKolev-oq8ko
    @DimitarKolev-oq8ko Před rokem

    Great work. Thank you.

  • @kwt7667g
    @kwt7667g Před rokem

    Excellent explanation. A teacher at work!

  • @daveporter4667
    @daveporter4667 Před rokem

    So true, you are spot on.

  • @jaibinjoseph7803
    @jaibinjoseph7803 Před rokem

    I have one question. We have 3 nodes configured, 2 of which are in the primary datacenter and 1 in the disaster recovery datacenter. All of the systems are set up with Windows 2019 and SQL 2019, and the primary datacenter's DB is configured with synchronous data transfer while the DR is configured with asynchronous data transfer. My issue is: Should we use Azure storage or where can we put the Witness server?

  • @trungnguyenquang6032

    Thanks

  • @criteriumprovidus4360

    This is the hammer in the right nail. I really appreciate your inside on this subject. I hate the idea of joining Hyper-V host to a Domain. I have been looking for a solution to this. I know I will loose some Hyper-V functionality like VM Replicas and Live Migration. But that's is an acceptable lost to me because I haven't had the need for either so far after 10 years using hyper-v.

  • @fernandomori9351
    @fernandomori9351 Před rokem

    Edwin this video is SHOW, congratulations about this technical profile and experience with SQL Server FC

  • @qqq2001pk
    @qqq2001pk Před rokem

    I still don’t understand why someone have synchronous node on DR site or different data centre having different subnet , what do you recon Edwin, why it would be a case ? What advantage or disadvantage we could have

    • @EdwinMSarmiento
      @EdwinMSarmiento Před rokem

      This is typically a side effect of not being clear on the goal and not understanding the capabilities and limitations of the technology. There are more disadvantages over advantages of having a synchronous replica on a DR site. At the end of the day, they're all irrelevant unless the goal is well defined.

  • @ClevergunsYT
    @ClevergunsYT Před 2 lety

    do you have a Database mirroring tutorial?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 lety

      Have a look at the Database Mirroring articles here: www.mssqltips.com/sql-server-tip-category/64/database-mirroring/

  • @ClevergunsYT
    @ClevergunsYT Před 2 lety

    Does SILO = Unicorn I.T? I mean all in one?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 lety

      In large organizations, there are different specialized teams (silos) that deal with specific areas of the infrastructure - sysadmins/server admins take care of the server/OS, network admins take care of anything related to the network, and DBAs take care of database-specific tasks. So, when deploying a complex solution like SQL Server Always On Availability Groups, there will be multiple teams working together to deploy it in production. However, not every team knows how all the pieces of the solution fit together.

  • @iidtxbc
    @iidtxbc Před 2 lety

    Is there any security caveat using WSFC without Domain Controller?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 lety

      You need to understand why organizations implement Active Directory in the first place. They want a centralized directory service to allow connecting users with network services. Security is just one aspect of Active Directory. So, when companies decide they don't want to use Active Directory, they must have a valid reason for doing so.

  • @ClevergunsYT
    @ClevergunsYT Před 2 lety

    Yow! deserve nyo po more subs

  • @frankno
    @frankno Před 2 lety

    Thank you for this very detailed and thorough explanation.

  • @lordken7595
    @lordken7595 Před 2 lety

    Practical Life advice for any situation👍🏽

  • @hassanumair6967
    @hassanumair6967 Před 2 lety

    Brilliant, Thanks for video

  • @youngplanker
    @youngplanker Před 2 lety

    thx for the info you provide, I like your teaching/explaining method. its hard finding someone that can resonate with for these things. from a hopefully future dba.

  • @dumbdba2463
    @dumbdba2463 Před 2 lety

    Hi

  • @sherly1833
    @sherly1833 Před 2 lety

    Thank you very much

  • @vikasjain3606
    @vikasjain3606 Před 2 lety

    Great explanation ! its was very clear

  • @ElviraSongalla
    @ElviraSongalla Před 2 lety

    snow was hard cold

  • @1Beer2DietSodas
    @1Beer2DietSodas Před 2 lety

    Thanks for sharing your knowledge. Please keep posting stuff regularly!! Please fix that Microphone issue.

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 lety

      I reached out to StreamYard and asked about it. It's more than just a mic issue as I'm using a high-end mic system.

  • @michaelgyekye893
    @michaelgyekye893 Před 2 lety

    Thanks for the video Edwin. Why would you want to create the tempdb in local drives? This is because you said during failover, it will be recreated in new server. Wouldn't all queries with temp tables lose their data when the secondary server is online?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 2 lety

      Having the tempdb in the local drive is just an option. Most people still store the tempdb on shared storage for failover clustered instance deployments.

  • @karemzaareer1688
    @karemzaareer1688 Před 3 lety

    Thanks it is Wroth

  • @tsacc3813
    @tsacc3813 Před 3 lety

    I have a 2 node multi subnet sql cluster everything was installed and configured successfully but am not able to connect to sqlcluster from the other node...like if sql services is running on node1 i am unable to connect the cluster by its network name from ssms from node2 and vice versa...its only connecting on the node were the sql services are running...any idea why?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 3 lety

      This requires more than a simple response on a comment. There are so many things going on in a multi-subnet cluster configuration to identify what exactly is preventing this

  • @Totally_Troll
    @Totally_Troll Před 3 lety

    In case someone will be doing the same but without DNS server - add Node names with their IPs to hosts file (both nodes). In ethernet adapter settings add your gateway as primary DNS server. Also add DNS suffix in changing Computer Name section.

  • @rahulakotkar7918
    @rahulakotkar7918 Před 3 lety

    Do we need a load balancer for NLB cluster?

    • @EdwinMSarmiento
      @EdwinMSarmiento Před 3 lety

      The Windows NLB cluster is in itself the load balancer. It serves both purposes - load balancing and high availability. It's unlike the typical network load balanced appliance where it only provides load balancing.

  • @nageshpoul9021
    @nageshpoul9021 Před 3 lety

    really nice explanation with all.

  • @dawncrime3121
    @dawncrime3121 Před 3 lety

    LOVE THIS VID!!!!