Edwin M Sarmiento - SQL Server HA and DR
Edwin M Sarmiento - SQL Server HA and DR
  • 99
  • 330 034
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
Переглядів: 527

Відео

Installing a SQL Server Failover Clustered Instance (SQL Server 2022 Edition) - Part 3
Переглядів 4692 місяці тому
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
Переглядів 1,1 тис.3 місяці тому
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: ua-cam.com/video/ams7V7CzpqE/v-deo.html Part 3 is available here: ua-ca...
Installing a SQL Server Failover Clustered Instance (SQL Server 2022 Edition) - Part 1
Переглядів 2,1 тис.3 місяці тому
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: ua-cam.com/video/HTIFAUpewWM/v-deo.html Part 3 is available here: ua-cam.co...
What SQL Server DBAs Need to Know About Docker Containers
Переглядів 3893 роки тому
What SQL Server DBAs Need to Know About Docker Containers
Getting Started with Linux for the SQL Server DBA Edwin M Sarmiento
Переглядів 4635 років тому
Getting Started with Linux for the SQL Server DBA Edwin M Sarmiento
5 Shifts Rockstar Data Professional
Переглядів 3885 років тому
5 Shifts Rockstar Data Professional
Designing SQL Server AlwaysOn Availability Groups Topology
Переглядів 8 тис.5 років тому
Designing SQL Server AlwaysOn Availability Groups Topology
Setup and Configure Windows Server 2016 Failover Cluster Without Active Directory
Переглядів 34 тис.5 років тому
Setup and Configure Windows Server 2016 Failover Cluster Without Active Directory
The Real Secret to Successfully Upgrade SQL Server Environments
Переглядів 1,1 тис.6 років тому
The Real Secret to Successfully Upgrade SQL Server Environments
Creativity in Scarcity: Behind The Scenes of How I Created My Online Courses
Переглядів 3747 років тому
Creativity in Scarcity: Behind The Scenes of How I Created My Online Courses
The Most Important Concept In Windows Failover Clustering
Переглядів 19 тис.7 років тому
The Most Important Concept In Windows Failover Clustering
Different Types of Microsoft High Availability Technologies
Переглядів 26 тис.8 років тому
Different Types of Microsoft High Availability Technologies
Installing and Configuring SQL Server 2012/2014 Reporting Services in SharePoint-Integrated Mode
Переглядів 8 тис.8 років тому
Installing and Configuring SQL Server 2012/2014 Reporting Services in SharePoint-Integrated Mode
Unexpected SQL Server Backups Break Your Disaster Recovery Strategy
Переглядів 3528 років тому
Unexpected SQL Server Backups Break Your Disaster Recovery Strategy
Effects of a Full SQL Server Transaction Log
Переглядів 4,6 тис.8 років тому
Effects of a Full SQL Server Transaction Log
The Truth About SQL Server Backup Verification Using The GUI
Переглядів 8918 років тому
The Truth About SQL Server Backup Verification Using The GUI
SQL Server Backup Checksum
Переглядів 3,3 тис.8 років тому
SQL Server Backup Checksum
Useless SQL Server Backups
Переглядів 2918 років тому
Useless SQL Server Backups
Factors Affecting SQL Server Database Recovery
Переглядів 3498 років тому
Factors Affecting SQL Server Database Recovery
What Multibase Differential Backups Are and How To Deal With Them
Переглядів 2728 років тому
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
Переглядів 16 тис.8 років тому
Installing and Configuring a Multi Subnet SQL Server (2012 and higher) Failover Clustered Instance
Proactively Identify & Deal with SQL Server Database Corruption
Переглядів 1,2 тис.9 років тому
Proactively Identify & Deal with SQL Server Database Corruption
Installing a SQL Server Failover Clustered Instance
Переглядів 104 тис.9 років тому
Installing a SQL Server Failover Clustered Instance
Build a Personal Hyper-V Lab with Windows Server 2012 R2
Переглядів 15 тис.9 років тому
Build a Personal Hyper-V Lab with Windows Server 2012 R2
SQL Server Database Recovery Techniques
Переглядів 4,9 тис.9 років тому
SQL Server Database Recovery Techniques
The Lion, The Switch and the Wardrobe
Переглядів 1809 років тому
The Lion, The Switch and the Wardrobe
BIA, RPO, RTO, SLA, etc. Acronyms That Need To Drive HA/DR Projects
Переглядів 9 тис.9 років тому
BIA, RPO, RTO, SLA, etc. Acronyms That Need To Drive HA/DR Projects
Non-Technology Aspects of High Availability and Disaster Recovery
Переглядів 1959 років тому
Non-Technology Aspects of High Availability and Disaster Recovery
Gone Clustering in 60 Minutes
Переглядів 2,1 тис.10 років тому
Gone Clustering in 60 Minutes

КОМЕНТАРІ

  • @sarahfuntanilla6542
    @sarahfuntanilla6542 2 дні тому

    which udemy course included this training pls?

  • @georgepapa2950
    @georgepapa2950 23 дні тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento 21 день тому

      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 24 дні тому

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

  • @AnandNarine
    @AnandNarine Місяць тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento Місяць тому

      This happens 🙂 ua-cam.com/video/BSS4G087UeM/v-deo.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 Місяць тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento Місяць тому

      @@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 Місяць тому

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

  • @GS-ud4fg
    @GS-ud4fg 2 місяці тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 місяці тому

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

  • @jeffreyooi1971
    @jeffreyooi1971 2 місяці тому

    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 2 місяці тому

      > 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 ua-cam.com/video/jDvqP1372Lo/v-deo.html

    • @jeffreyooi1971
      @jeffreyooi1971 2 місяці тому

      @@EdwinMSarmiento Thank you very much for the reply.

  • @dadsgarage.alwaysopen
    @dadsgarage.alwaysopen 2 місяці тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 місяці тому

      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 2 місяці тому

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

  • @dadsgarage.alwaysopen
    @dadsgarage.alwaysopen 2 місяці тому

    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 2 місяці тому

    Pls make video on always on high availability also.

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 місяці тому

      Have a look at this ua-cam.com/video/DmH81mGGZwg/v-deo.html

    • @jeffreyooi1971
      @jeffreyooi1971 2 місяці тому

      @@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 2 місяці тому

      @@jeffreyooi1971 Are you referring to this? ua-cam.com/video/A8lSl8nO1r4/v-deo.html

    • @jeffreyooi1971
      @jeffreyooi1971 2 місяці тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 місяці тому

      @@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 2 місяці тому

    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 2 місяці тому

      > 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 2 місяці тому

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

  • @BUY_YOUTUBE_VIEWS_d114
    @BUY_YOUTUBE_VIEWS_d114 3 місяці тому

    This video deserves all the awards.

  • @pradeepdnm
    @pradeepdnm 4 місяці тому

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

  • @jehosurkhalifa3192
    @jehosurkhalifa3192 6 місяців тому

    Don't stop. You have a quality cintent

  • @danarkamal1556
    @danarkamal1556 7 місяців тому

    Thanks for you , Really Nice

  • @vincentnorman2351
    @vincentnorman2351 7 місяців тому

    'Promosm'

  • @pradeepdnm
    @pradeepdnm 7 місяців тому

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

  • @jayeverything
    @jayeverything Рік тому

    Thanks for sharing 💯

  • @fbifido2
    @fbifido2 Рік тому

    - 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 Рік тому

      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 Рік тому

      @@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 Рік тому

      @@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 Рік тому

    🤣 *Promosm*

  • @DimitarKolev-oq8ko
    @DimitarKolev-oq8ko Рік тому

    Great work. Thank you.

  • @kwt7667g
    @kwt7667g Рік тому

    Excellent explanation. A teacher at work!

  • @daveporter4667
    @daveporter4667 Рік тому

    So true, you are spot on.

  • @jaibinjoseph7803
    @jaibinjoseph7803 Рік тому

    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
    @trungnguyenquang6032 Рік тому

    Thanks

  • @criteriumprovidus4360
    @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 Рік тому

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

  • @qqq2001pk
    @qqq2001pk Рік тому

    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 Рік тому

      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 2 роки тому

    do you have a Database mirroring tutorial?

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 роки тому

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

  • @ClevergunsYT
    @ClevergunsYT 2 роки тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 роки тому

      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 2 роки тому

    Is there any security caveat using WSFC without Domain Controller?

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 роки тому

      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 2 роки тому

    Yow! deserve nyo po more subs

  • @frankno
    @frankno 2 роки тому

    Thank you for this very detailed and thorough explanation.

  • @lordken7595
    @lordken7595 2 роки тому

    Practical Life advice for any situation👍🏽

  • @hassanumair6967
    @hassanumair6967 2 роки тому

    Brilliant, Thanks for video

  • @youngplanker
    @youngplanker 2 роки тому

    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 2 роки тому

    Hi

  • @sherly1833
    @sherly1833 2 роки тому

    Thank you very much

  • @vikasjain3606
    @vikasjain3606 2 роки тому

    Great explanation ! its was very clear

  • @ElviraSongalla
    @ElviraSongalla 2 роки тому

    snow was hard cold

  • @1Beer2DietSodas
    @1Beer2DietSodas 2 роки тому

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

    • @EdwinMSarmiento
      @EdwinMSarmiento 2 роки тому

      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 2 роки тому

    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 2 роки тому

      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 3 роки тому

    Thanks it is Wroth

  • @tsacc3813
    @tsacc3813 3 роки тому

    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 3 роки тому

      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 3 роки тому

    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 3 роки тому

    Do we need a load balancer for NLB cluster?

    • @EdwinMSarmiento
      @EdwinMSarmiento 3 роки тому

      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 3 роки тому

    really nice explanation with all.

  • @dawncrime3121
    @dawncrime3121 3 роки тому

    LOVE THIS VID!!!!