SlideShare a Scribd company logo
1 of 25
What we will cover
SQL 2012 AlwaysOn
SQL 2012 AlwaysOn
Hype or Reality?
History of AlwaysOn Availability Groups
Background and Predecessor Technologies
Comparison of AlwaysOn with other SQL HA
     Greatly Improved HA and DR


    High Availability and Disaster                  Potential    Potential
                                                                             Automatic    Readable
              Recovery                              Data Loss    Recovery
                                                                              Failover   Secondaries
                                                     (RPO)      Time (RTO)
        SQL Server Solution
AlwaysOn Availability Group - synchronous-            Zero        Seconds       Yes         0-2
commit


AlwaysOn Availability Group - asynchronous-          Seconds      Minutes       No          0-4
commit


AlwaysOn Failover Cluster Instance                     NA         Minutes       Yes          NA


Database Mirroring - High-safety (sync + witness)     Zero        Seconds       Yes          NA



Database Mirroring - High-performance (async)        Seconds      Minutes       No           NA



Log Shipping                                         Minutes      Minutes       No        Not during
                                                                 -to-hours                 a restore

Traditional Backup, Copy, Restore                    Hours to    Hours to       No        Not during
                                                      days        weeks                    a restore
AlwaysOn Availability Groups
Design Options
AlwaysOn Availability Groups
Read-only Farms
Design Options for SQL 2012
Sample Design
                        •   Two AGs
                        •   Content AG
                            with four
                            replicas –
                            Synch and
                            Asynch
                        •   Service
                            App/Farm DBs
                            on separate
                            AG, 2 Synch
                            copies only
                        •   Read-only
                            farm in remote
                            office attached
                            to content DB
                            copy
                        •   DR farm in
                            remote DC on
                            standby to
                            connect to
                            content DB
                            copy
AlwaysOn Availability Groups
Synchronous vs. Asynchronous Database Support




                             you CANNOT replicate
 databases synchronously unless you have 1Gb+
 bandwidth and less than 10ms of latency!
AlwaysOn Availability Groups for SharePoint
 Improving Data Tier High Availability and Disaster Recovery




CAVEAT
AlwaysOn Availability Groups
Version Requirements


                             Enterprise



                       Enterprise
AlwaysOn Availability Groups
Prerequisites and Requirements – Windows OS




    http://support.microsoft.com/kb/976097
    http://support.microsoft.com/kb/2494036
    http://support.microsoft.com/kb/2531907
    http://support.microsoft.com/kb/2616514

    http://support.microsoft.com/kb/2654347
    http://support.microsoft.com/kb/980915

    http://support.microsoft.com/kb/2578113

    http://support.microsoft.com/kb/2582281
AlwaysOn Availability Groups
Prerequisites and Requirements – SQL Server
AlwaysOn Availability Groups
Cluster Witness and Voting Fundamentals
                        •   Automatic failover clustering requires
                            servers to have the proper number of
                            votes to ‘turn on’ a database copy.
                        •   There must always be a majority of
                            votes to enable the node.
                        •   If a majority cannot be reached (for
                            example, if there are only an even
                            number of votes) the DBs will remain
                            offline.
                                 •   File Servers can act as File
                                     Share Witness (FSW) servers
                                     (additional votes.)
                                 •   This avoids split-brain
                                     scenarios where multiple
                                     copies of a DB are online.
                                 •   Be sure to give the Cluster
                                     Computer Account Full
                                     control to the FSW Share
Creating AlwaysOn Availability Groups
Step 1: Create Windows Server Failover Cluster (WSFC)
Creating AlwaysOn Availability Groups
Step 2: Prepare Nodes




 http://support.microsoft.com/kb/918992/
Creating AlwaysOn Availability Groups
Step 2: Enable AlwaysOn on each SQL Node
Creating AlwaysOn Availability Groups
Step 3: Create the Availability Group
Creating AlwaysOn Availability Groups
Step 3: Create the Availability Group – Continued…
Creating AlwaysOn Availability Groups
Step 3: Create the Availability Group – Continued…
Creating AlwaysOn Availability Groups
Step 4: Create the Availability Group Listener
Session Summary
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010
Michael Noel
     Twitter: @MichaelTNoel
            www.cco.com
Slides: slideshare.net/michaeltnoel

More Related Content

More from Michael Noel

AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...
AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...
AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...Michael Noel
 
IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024
IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024
IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024Michael Noel
 
Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023
Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023
Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023Michael Noel
 
IT Insecurity - ST Digital Brazzaville
IT Insecurity - ST Digital BrazzavilleIT Insecurity - ST Digital Brazzaville
IT Insecurity - ST Digital BrazzavilleMichael Noel
 
Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...
Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...
Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...Michael Noel
 
You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...
You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...
You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...Michael Noel
 
Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...
Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...
Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...Michael Noel
 
Understanding the Tools and Features of Office 365 : DWT Africa 2018
Understanding the Tools and Features of Office 365 : DWT Africa 2018Understanding the Tools and Features of Office 365 : DWT Africa 2018
Understanding the Tools and Features of Office 365 : DWT Africa 2018Michael Noel
 
SPS Lisbon 2018 - Azure AD Connect Technical Deep Dive
SPS Lisbon 2018 - Azure AD Connect Technical Deep DiveSPS Lisbon 2018 - Azure AD Connect Technical Deep Dive
SPS Lisbon 2018 - Azure AD Connect Technical Deep DiveMichael Noel
 
Azure Active Directory Connect: Technical Deep Dive - DWCAU 2018 Melbourne
Azure Active Directory Connect: Technical Deep Dive - DWCAU 2018 MelbourneAzure Active Directory Connect: Technical Deep Dive - DWCAU 2018 Melbourne
Azure Active Directory Connect: Technical Deep Dive - DWCAU 2018 MelbourneMichael Noel
 
Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018
Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018
Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018Michael Noel
 
Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018
Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018
Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018Michael Noel
 
Understanding the Tools and Features of Office 365 - New Zealand Digital Work...
Understanding the Tools and Features of Office 365 - New Zealand Digital Work...Understanding the Tools and Features of Office 365 - New Zealand Digital Work...
Understanding the Tools and Features of Office 365 - New Zealand Digital Work...Michael Noel
 
Office 365; A Detailed Analysis - SPS Kampala 2017
Office 365; A Detailed Analysis - SPS Kampala 2017Office 365; A Detailed Analysis - SPS Kampala 2017
Office 365; A Detailed Analysis - SPS Kampala 2017Michael Noel
 
Office 365; une Analyse Détaillée
Office 365; une Analyse Détaillée Office 365; une Analyse Détaillée
Office 365; une Analyse Détaillée Michael Noel
 
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...Michael Noel
 
Breaking Down and Understanding Office 365 - SPSJHB 2015
Breaking Down and Understanding Office 365 - SPSJHB 2015Breaking Down and Understanding Office 365 - SPSJHB 2015
Breaking Down and Understanding Office 365 - SPSJHB 2015Michael Noel
 
Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015
Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015
Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015Michael Noel
 
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...Michael Noel
 
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014Michael Noel
 

More from Michael Noel (20)

AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...
AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...
AI is Hacking You - How Cybercriminals Leveral Artificial Intelligence - DWCN...
 
IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024
IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024
IT Insecurity - Understanding the Threat of Modern Cyberattacks - DWCNZ 2024
 
Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023
Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023
Combatting Cyberthreats with Microsoft Defender 365 - CollabDays Finland 2023
 
IT Insecurity - ST Digital Brazzaville
IT Insecurity - ST Digital BrazzavilleIT Insecurity - ST Digital Brazzaville
IT Insecurity - ST Digital Brazzaville
 
Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...
Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...
Securing IT Against Modern Threats with Microsoft Cloud Tools - #EUCloudSummi...
 
You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...
You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...
You are Doing IT Security Wrong - Understanding the Threat of Modern Cyber-at...
 
Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...
Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...
Securing IT Against Modern Threats with Microsoft Cloud Security Tools - M365...
 
Understanding the Tools and Features of Office 365 : DWT Africa 2018
Understanding the Tools and Features of Office 365 : DWT Africa 2018Understanding the Tools and Features of Office 365 : DWT Africa 2018
Understanding the Tools and Features of Office 365 : DWT Africa 2018
 
SPS Lisbon 2018 - Azure AD Connect Technical Deep Dive
SPS Lisbon 2018 - Azure AD Connect Technical Deep DiveSPS Lisbon 2018 - Azure AD Connect Technical Deep Dive
SPS Lisbon 2018 - Azure AD Connect Technical Deep Dive
 
Azure Active Directory Connect: Technical Deep Dive - DWCAU 2018 Melbourne
Azure Active Directory Connect: Technical Deep Dive - DWCAU 2018 MelbourneAzure Active Directory Connect: Technical Deep Dive - DWCAU 2018 Melbourne
Azure Active Directory Connect: Technical Deep Dive - DWCAU 2018 Melbourne
 
Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018
Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018
Azure Active Directory Connect: Technical Deep Dive - EU Collab Summit 2018
 
Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018
Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018
Breaking Down the Tools and Features in Office 365 - EU Collab Summit 2018
 
Understanding the Tools and Features of Office 365 - New Zealand Digital Work...
Understanding the Tools and Features of Office 365 - New Zealand Digital Work...Understanding the Tools and Features of Office 365 - New Zealand Digital Work...
Understanding the Tools and Features of Office 365 - New Zealand Digital Work...
 
Office 365; A Detailed Analysis - SPS Kampala 2017
Office 365; A Detailed Analysis - SPS Kampala 2017Office 365; A Detailed Analysis - SPS Kampala 2017
Office 365; A Detailed Analysis - SPS Kampala 2017
 
Office 365; une Analyse Détaillée
Office 365; une Analyse Détaillée Office 365; une Analyse Détaillée
Office 365; une Analyse Détaillée
 
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
 
Breaking Down and Understanding Office 365 - SPSJHB 2015
Breaking Down and Understanding Office 365 - SPSJHB 2015Breaking Down and Understanding Office 365 - SPSJHB 2015
Breaking Down and Understanding Office 365 - SPSJHB 2015
 
Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015
Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015
Understanding Office 365 Service Offerings - O365 Saturday Sydney 2015
 
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
Ultimate SharePoint Infrastructure Best Practises Session - Isle of Man Share...
 
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
 

SQL 2012 AlwaysOn Availability Groups for SharePoint - Live360 Orlando 2012

  • 1.
  • 2.
  • 3. What we will cover SQL 2012 AlwaysOn
  • 5. History of AlwaysOn Availability Groups Background and Predecessor Technologies
  • 6. Comparison of AlwaysOn with other SQL HA Greatly Improved HA and DR High Availability and Disaster Potential Potential Automatic Readable Recovery Data Loss Recovery Failover Secondaries (RPO) Time (RTO) SQL Server Solution AlwaysOn Availability Group - synchronous- Zero Seconds Yes 0-2 commit AlwaysOn Availability Group - asynchronous- Seconds Minutes No 0-4 commit AlwaysOn Failover Cluster Instance NA Minutes Yes NA Database Mirroring - High-safety (sync + witness) Zero Seconds Yes NA Database Mirroring - High-performance (async) Seconds Minutes No NA Log Shipping Minutes Minutes No Not during -to-hours a restore Traditional Backup, Copy, Restore Hours to Hours to No Not during days weeks a restore
  • 9. Design Options for SQL 2012 Sample Design • Two AGs • Content AG with four replicas – Synch and Asynch • Service App/Farm DBs on separate AG, 2 Synch copies only • Read-only farm in remote office attached to content DB copy • DR farm in remote DC on standby to connect to content DB copy
  • 10. AlwaysOn Availability Groups Synchronous vs. Asynchronous Database Support you CANNOT replicate databases synchronously unless you have 1Gb+ bandwidth and less than 10ms of latency!
  • 11. AlwaysOn Availability Groups for SharePoint Improving Data Tier High Availability and Disaster Recovery CAVEAT
  • 12. AlwaysOn Availability Groups Version Requirements Enterprise Enterprise
  • 13. AlwaysOn Availability Groups Prerequisites and Requirements – Windows OS http://support.microsoft.com/kb/976097 http://support.microsoft.com/kb/2494036 http://support.microsoft.com/kb/2531907 http://support.microsoft.com/kb/2616514 http://support.microsoft.com/kb/2654347 http://support.microsoft.com/kb/980915 http://support.microsoft.com/kb/2578113 http://support.microsoft.com/kb/2582281
  • 14. AlwaysOn Availability Groups Prerequisites and Requirements – SQL Server
  • 15. AlwaysOn Availability Groups Cluster Witness and Voting Fundamentals • Automatic failover clustering requires servers to have the proper number of votes to ‘turn on’ a database copy. • There must always be a majority of votes to enable the node. • If a majority cannot be reached (for example, if there are only an even number of votes) the DBs will remain offline. • File Servers can act as File Share Witness (FSW) servers (additional votes.) • This avoids split-brain scenarios where multiple copies of a DB are online. • Be sure to give the Cluster Computer Account Full control to the FSW Share
  • 16. Creating AlwaysOn Availability Groups Step 1: Create Windows Server Failover Cluster (WSFC)
  • 17. Creating AlwaysOn Availability Groups Step 2: Prepare Nodes http://support.microsoft.com/kb/918992/
  • 18. Creating AlwaysOn Availability Groups Step 2: Enable AlwaysOn on each SQL Node
  • 19. Creating AlwaysOn Availability Groups Step 3: Create the Availability Group
  • 20. Creating AlwaysOn Availability Groups Step 3: Create the Availability Group – Continued…
  • 21. Creating AlwaysOn Availability Groups Step 3: Create the Availability Group – Continued…
  • 22. Creating AlwaysOn Availability Groups Step 4: Create the Availability Group Listener
  • 23.
  • 24. Session Summary SQL 2012 AlwaysOn Availability Groups for SharePoint 2010
  • 25. Michael Noel Twitter: @MichaelTNoel www.cco.com Slides: slideshare.net/michaeltnoel