SlideShare una empresa de Scribd logo
1 de 24
Sponsors           SharePoint Saturday
  Gold




           SQL Server 2012 AlwaysOn
             Availability Groups for
 Silver
            SharePoint 2010 Farms
Bronze            Michael Noel
                      CCO
Michael Noel




Great to be back in Beautiful
         Australia!      SharePoint Saturday
                                  Adelaide 2012
What we will cover
                 SQL 2012 AlwaysOn


• What is SQL 2012 AlwaysOn?
  – AlwaysOn Failover Clustering
  – AlwaysOn Availability Groups
• Why AlwaysOn Availability Groups for
  SharePoint?
• Requirements and Prerequisites
• Step by Step guide to implementing
  AlwaysOn Availability Groups
• Demonstration
                                         SharePoint Saturday
                                                  Adelaide 2012
SQL 2012 AlwaysOn
                        Hype or Reality?


• Two distinct technologies that share the same name
• AlwaysOn Failover Clustering is a different thing!
   – A Failover Cluster Instance (FCI) uses traditional Shared
     Storage Clustering (one copy of data shared by multiple
     nodes)
   – Same marketing name, but completely different
     technology
• AlwaysOn Availability Groups correspond to the new
  version of SQL Database Mirroring – High Availability
  and Disaster Recovery at the Data Tier


                                                      SharePoint Saturday
                                                               Adelaide 2012
History of AlwaysOn Availability Groups
             Background and Predecessor Technologies


• Original concept was log shipping in SQL 2000 –
  making a duplicate copy of your databases on another
  server
• Mirroring itself introduced in SQL 2005 SP1, improved
  in SQL 2008 and SQL 2008 R2
• Works by keeping a mirror copy of a database or
  databases on up to four additional SQL instances.
• AlwaysOn Availability Groups introduced with SQL
  2012, added up to four mirror copies, and more
• This is a huge change to data tier design for
  SharePoint
                                                       SharePoint Saturday
                                                                Adelaide 2012
Comparison of AlwaysOn with other SQL HA
                                            Greatly Improved HA and DR


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



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



AlwaysOn Failover Cluster Instance                        NA         Seconds        Yes              NA
                                                                   -to-minutes

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

Backup, Copy, Restore                                    Hours       Hours          No            Not during
                                                                    -to-days                       a restore


                                                                                          SharePoint Saturday
                                                                                                   Adelaide 2012
AlwaysOn Availability Groups
                       Design Options


• Create up to four additional copies of each database
  on a different SQL node
• Copies can be a mix of synchronous (exact copy) or
  asynchronous (works across low latency link)
• Create a synchronous copy when connectivity is 1Gb
  or greater and latency is no more than 10ms
• Create asynchronous copies across WAN links, for
  Disaster Recovery or when architecting a read-only
  farm

                                               SharePoint Saturday
                                                        Adelaide 2012
AlwaysOn Availability Groups
                      Read-only Farms


• Unlike SQL Mirroring, AlwaysOn Availability Groups
  allow for read-only access to the content on a remote
  SQL instance
• Allows for the DR copy of the data to be used as part
  of a view-only SharePoint farm in a remote location
• Requires a separate SharePoint farm from the
  production read/write farm




                                               SharePoint Saturday
                                                        Adelaide 2012
Design Options for SQL 2012
         Sample Design




                         SharePoint Saturday
                                  Adelaide 2012
AlwaysOn Availability Groups for SharePoint
              Improving Data Tier High Availability and Disaster Recovery



• Completely changes the design options for the data tier
• Allows for ‘Exchange Server’ like multi-copy database server failover
  on multiple replicas at the same time
• The equivalent of running a constant backup of your databases
• Can be used to create HA/DR copies of your SharePoint databases
• SharePoint no longer needs to be ‘aware’ of the mirrored copy (in
  fact, it won’t failover if you configure it manually in SPCA.)
  SharePoint connects to the listener (Client Access Point) which is
  clustered
• SharePoint 2010 Service Pack 1 supports SQL 2012 fully

CAVEAT: Be sure to understand that synchronous mirroring copies need
to be in close proximity and have very good bandwidth, as data needs to
be written into all replicas before the transaction is committed.
SharePoint will lock up if there are any interruptions at the data tier.

                                                                       SharePoint Saturday
                                                                                Adelaide 2012
AlwaysOn Availability Groups
                    Version Requirements


• Windows Server 2008 R2 (w SP1 ideally, as patches are
  required) – Enterprise Edition
   – One per node
   – Can use Virtualization licensing options
   – Should also work on Windows 8 Server
• SQL Server 2012 Enterprise Edition
   – MS has moved away from per-socket licenses. Licenses
     are now 1/4th the cost, but are now per each core.
   – Legacy licenses of SQL 2008/2005 Enterprise are
     ‘grandfathered in’ if you have upgrade assurance
                                                SharePoint Saturday
                                                         Adelaide 2012
AlwaysOn Availability Groups
                Prerequisites and Requirements – Windows OS
•   Cannot be installed on a Domain Controller
•   Must be either x86 (non-WOW64) or x64 Windows Server 2008 or later versions.
•   Must be a node in a Windows Server Failover Clustering (WSFC) cluster.
•   Ensure that WSFC cluster contains sufficient nodes to support your availability group
    configurations.
•   Ensure that all applicable Window hotfixes have been installed on every node in the WSFC
    cluster, OS patches required for SQL 2012 AlwaysOn Availability Groups include the following:
      – http://support.microsoft.com/kb/976097 (Asymmetric Storage)
      – http://support.microsoft.com/kb/2494036 (Node Weight Fix)
      – http://support.microsoft.com/kb/2531907 (SCSI Device Test Failure)
      – http://support.microsoft.com/kb/2616514 (Unneded Reg Key Change Notifications)
      – http://support.microsoft.com/kb/2654347 (Net 35 Always On Features)
      – http://support.microsoft.com/kb/980915 (IPSecConnection Delay) - Not needed if you
         aren’t using IPSec
      – http://support.microsoft.com/kb/2578113 (IPv6 Long Failover) - Not needed if you aren’t
         using IPv6
      – http://support.microsoft.com/kb/2582281 (Slow Failover with No Router) – Not needed in
         most scenarios, review to determine if it applies to you
                                                                                 SharePoint Saturday
                                                                                          Adelaide 2012
AlwaysOn Availability Groups
          Prerequisites and Requirements – SQL Server


• If you plan to use a SQL Server failover cluster
  instance (FCI) to host an availability replica, ensure
  that you understand the FCI restrictions and that the
  FCI requirements are met (Manual config required)
• All the server instances that host availability replicas
  for an availability group must use the same SQL Server
  collation.
• If any databases that use FILESTREAM will be added to
  an availability group, ensure that FILESTREAM is
  enabled on every server instance that will host an
  availability replica for the availability group.

                                                   SharePoint Saturday
                                                            Adelaide 2012
Creating AlwaysOn Availability Groups
         Step 1: Create Windows Server Failover Cluster (WSFC)


• Install Windows Server 2008 R2
  w/SP1 on multiple nodes
• Patch with Critical, Security, and the
  specific OS patches listed in previous
  slide
• Enable the Failover Cluster Feature
  on each node
• Use the Failover Cluster Manager
  Wizard to create a cluster.
• Name the cluster a unique name
  that will be separate from the
  instance name that will be used for
  SharePoint
                                                         SharePoint Saturday
                                                                  Adelaide 2012
Creating AlwaysOn Availability Groups
                              Step 2: Prepare Nodes

• Install .NET Services 3.5 Feature on each SQL node
• Install SQL 2012 Enterprise Edition Database Services (Also recommend
  adding SQL Management Tools – Complete)
• Ensure proper Windows Firewall ports are open
• Service Account for SQL
   – Use the same service account for all nodes
   – Don’t use Network Service
   – If using Kerberos, make sure all SQL names have SPNs associated with
       the service account
• Make sure databases are set to FULL recovery mode
• Ensure that the file paths and drive letters are consistent throughout all
  instances (ideally, or config will have to be manual)
• Copy or Create SharePoint databases on Primary node only (use SQL Alias to
  change name later)
• Perform a full backup of your SharePoint databases
• Create a file share location that is accessible by all nodes that will be used
  for the shared backups (i.e. SQL1Backups)
                                                                    SharePoint Saturday
                                                                             Adelaide 2012
Creating AlwaysOn Availability Groups
             Step 2: Enable AlwaysOn on each SQL Node


• Enable AlwaysOn High
  Availability in SQL Server
  Configuration Manager
• Repeat on Each Node
• Restart SQL Services




                                                        SharePoint Saturday
                                                                 Adelaide 2012
Creating AlwaysOn Availability Groups
              Step 3: Create the Availability Group


• Ideally use the New Availability
  Group Wizard, it automates the
  process




                                                      SharePoint Saturday
                                                               Adelaide 2012
Creating AlwaysOn Availability Groups
          Step 3: Create the Availability Group – Continued…


• Be sure to have a
  shared network
  location for the
  backup files
  (Created in earlier
  step)
• Depending on size
  of databases, this
  could take a while
• Backups can also
  be pre-staged
  (Join Only)
                                                         SharePoint Saturday
                                                                  Adelaide 2012
Creating AlwaysOn Availability Groups
          Step 3: Create the Availability Group – Continued…


• Validation
  should show all
  green, except
  warning for
  Listener
• The listener
  (‘SQL’ in this
  example) will
  be created
  later, and is
  required for
  SharePoint to
  connect to

                                                         SharePoint Saturday
                                                                  Adelaide 2012
Creating AlwaysOn Availability Groups
                Step 4: Create the Availability Group Listener


• After the wizard
  completes, manually
  create the Availability
  Group Listener
• This is the shared
  name that SharePoint
  will connect to and will
  provide failover (Also
  called the ‘Client
  Access Point’)
• Modify the DNS record
  for this listener to have
  a low TTL (60 seconds
  or less) for cross-
  subnet failover
  scenarios

                                                                 SharePoint Saturday
                                                                          Adelaide 2012
DEMO

       SharePoint Saturday
                Adelaide 2012
Session Summary

• Throw away all previous data tier designs for
  SharePoint!
• SQL 2012 AlwaysOn Availability Groups are the
  preferred design option for High Availability and
  Disaster Recovery at the data tier
• SQL 2012 is fully supported by SharePoint 2010
  Service Pack 1 databases
• Follow closely the guidelines, ensure data paths are
  the same, double-check security requirements

                                              SharePoint Saturday
                                                       Adelaide 2012
Michael Noel
        Twitter: @MichaelTNoel
               www.cco.com
   Slides: slideshare.net/michaeltnoel
Travel Blog: http://sharingtheglobe.com


                                          SharePoint Saturday
                                                   Adelaide 2012
SharePoint Saturday
                                           Sponsors
                                             Gold




         Thanks for listening!

 Remember to submit your feedback so        Silver
  you can go into the raffle draw at the
  end of the day! And don’t forget that
                                           Bronze
you have to be at the draw to claim your
                 prizes!

Más contenido relacionado

Más de Michael 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
 
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
 
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...Michael Noel
 
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...Michael Noel
 
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...Michael Noel
 

Más de Michael Noel (20)

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
 
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
 
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPSBaku - Mic...
 
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...
SharePoint Сегодня; Как мы докатились сюда и куда идем дальше - SPCUA - Micha...
 
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
 

Último

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

SPSADL - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010

  • 1. Sponsors SharePoint Saturday Gold SQL Server 2012 AlwaysOn Availability Groups for Silver SharePoint 2010 Farms Bronze Michael Noel CCO
  • 2. Michael Noel Great to be back in Beautiful Australia! SharePoint Saturday Adelaide 2012
  • 3. What we will cover SQL 2012 AlwaysOn • What is SQL 2012 AlwaysOn? – AlwaysOn Failover Clustering – AlwaysOn Availability Groups • Why AlwaysOn Availability Groups for SharePoint? • Requirements and Prerequisites • Step by Step guide to implementing AlwaysOn Availability Groups • Demonstration SharePoint Saturday Adelaide 2012
  • 4. SQL 2012 AlwaysOn Hype or Reality? • Two distinct technologies that share the same name • AlwaysOn Failover Clustering is a different thing! – A Failover Cluster Instance (FCI) uses traditional Shared Storage Clustering (one copy of data shared by multiple nodes) – Same marketing name, but completely different technology • AlwaysOn Availability Groups correspond to the new version of SQL Database Mirroring – High Availability and Disaster Recovery at the Data Tier SharePoint Saturday Adelaide 2012
  • 5. History of AlwaysOn Availability Groups Background and Predecessor Technologies • Original concept was log shipping in SQL 2000 – making a duplicate copy of your databases on another server • Mirroring itself introduced in SQL 2005 SP1, improved in SQL 2008 and SQL 2008 R2 • Works by keeping a mirror copy of a database or databases on up to four additional SQL instances. • AlwaysOn Availability Groups introduced with SQL 2012, added up to four mirror copies, and more • This is a huge change to data tier design for SharePoint SharePoint Saturday Adelaide 2012
  • 6. Comparison of AlwaysOn with other SQL HA Greatly Improved HA and DR Potential Potential High Availability and Disaster Recovery Automatic Readable Data Loss Recovery SQL Server Solution Failover Secondaries (RPO) Time (RTO) AlwaysOn Availability Group - synchronous-commit Zero Seconds Yes 0-2 AlwaysOn Availability Group - asynchronous-commit Seconds Minutes No 0-4 AlwaysOn Failover Cluster Instance NA Seconds Yes NA -to-minutes 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 Backup, Copy, Restore Hours Hours No Not during -to-days a restore SharePoint Saturday Adelaide 2012
  • 7. AlwaysOn Availability Groups Design Options • Create up to four additional copies of each database on a different SQL node • Copies can be a mix of synchronous (exact copy) or asynchronous (works across low latency link) • Create a synchronous copy when connectivity is 1Gb or greater and latency is no more than 10ms • Create asynchronous copies across WAN links, for Disaster Recovery or when architecting a read-only farm SharePoint Saturday Adelaide 2012
  • 8. AlwaysOn Availability Groups Read-only Farms • Unlike SQL Mirroring, AlwaysOn Availability Groups allow for read-only access to the content on a remote SQL instance • Allows for the DR copy of the data to be used as part of a view-only SharePoint farm in a remote location • Requires a separate SharePoint farm from the production read/write farm SharePoint Saturday Adelaide 2012
  • 9. Design Options for SQL 2012 Sample Design SharePoint Saturday Adelaide 2012
  • 10. AlwaysOn Availability Groups for SharePoint Improving Data Tier High Availability and Disaster Recovery • Completely changes the design options for the data tier • Allows for ‘Exchange Server’ like multi-copy database server failover on multiple replicas at the same time • The equivalent of running a constant backup of your databases • Can be used to create HA/DR copies of your SharePoint databases • SharePoint no longer needs to be ‘aware’ of the mirrored copy (in fact, it won’t failover if you configure it manually in SPCA.) SharePoint connects to the listener (Client Access Point) which is clustered • SharePoint 2010 Service Pack 1 supports SQL 2012 fully CAVEAT: Be sure to understand that synchronous mirroring copies need to be in close proximity and have very good bandwidth, as data needs to be written into all replicas before the transaction is committed. SharePoint will lock up if there are any interruptions at the data tier. SharePoint Saturday Adelaide 2012
  • 11. AlwaysOn Availability Groups Version Requirements • Windows Server 2008 R2 (w SP1 ideally, as patches are required) – Enterprise Edition – One per node – Can use Virtualization licensing options – Should also work on Windows 8 Server • SQL Server 2012 Enterprise Edition – MS has moved away from per-socket licenses. Licenses are now 1/4th the cost, but are now per each core. – Legacy licenses of SQL 2008/2005 Enterprise are ‘grandfathered in’ if you have upgrade assurance SharePoint Saturday Adelaide 2012
  • 12. AlwaysOn Availability Groups Prerequisites and Requirements – Windows OS • Cannot be installed on a Domain Controller • Must be either x86 (non-WOW64) or x64 Windows Server 2008 or later versions. • Must be a node in a Windows Server Failover Clustering (WSFC) cluster. • Ensure that WSFC cluster contains sufficient nodes to support your availability group configurations. • Ensure that all applicable Window hotfixes have been installed on every node in the WSFC cluster, OS patches required for SQL 2012 AlwaysOn Availability Groups include the following: – http://support.microsoft.com/kb/976097 (Asymmetric Storage) – http://support.microsoft.com/kb/2494036 (Node Weight Fix) – http://support.microsoft.com/kb/2531907 (SCSI Device Test Failure) – http://support.microsoft.com/kb/2616514 (Unneded Reg Key Change Notifications) – http://support.microsoft.com/kb/2654347 (Net 35 Always On Features) – http://support.microsoft.com/kb/980915 (IPSecConnection Delay) - Not needed if you aren’t using IPSec – http://support.microsoft.com/kb/2578113 (IPv6 Long Failover) - Not needed if you aren’t using IPv6 – http://support.microsoft.com/kb/2582281 (Slow Failover with No Router) – Not needed in most scenarios, review to determine if it applies to you SharePoint Saturday Adelaide 2012
  • 13. AlwaysOn Availability Groups Prerequisites and Requirements – SQL Server • If you plan to use a SQL Server failover cluster instance (FCI) to host an availability replica, ensure that you understand the FCI restrictions and that the FCI requirements are met (Manual config required) • All the server instances that host availability replicas for an availability group must use the same SQL Server collation. • If any databases that use FILESTREAM will be added to an availability group, ensure that FILESTREAM is enabled on every server instance that will host an availability replica for the availability group. SharePoint Saturday Adelaide 2012
  • 14. Creating AlwaysOn Availability Groups Step 1: Create Windows Server Failover Cluster (WSFC) • Install Windows Server 2008 R2 w/SP1 on multiple nodes • Patch with Critical, Security, and the specific OS patches listed in previous slide • Enable the Failover Cluster Feature on each node • Use the Failover Cluster Manager Wizard to create a cluster. • Name the cluster a unique name that will be separate from the instance name that will be used for SharePoint SharePoint Saturday Adelaide 2012
  • 15. Creating AlwaysOn Availability Groups Step 2: Prepare Nodes • Install .NET Services 3.5 Feature on each SQL node • Install SQL 2012 Enterprise Edition Database Services (Also recommend adding SQL Management Tools – Complete) • Ensure proper Windows Firewall ports are open • Service Account for SQL – Use the same service account for all nodes – Don’t use Network Service – If using Kerberos, make sure all SQL names have SPNs associated with the service account • Make sure databases are set to FULL recovery mode • Ensure that the file paths and drive letters are consistent throughout all instances (ideally, or config will have to be manual) • Copy or Create SharePoint databases on Primary node only (use SQL Alias to change name later) • Perform a full backup of your SharePoint databases • Create a file share location that is accessible by all nodes that will be used for the shared backups (i.e. SQL1Backups) SharePoint Saturday Adelaide 2012
  • 16. Creating AlwaysOn Availability Groups Step 2: Enable AlwaysOn on each SQL Node • Enable AlwaysOn High Availability in SQL Server Configuration Manager • Repeat on Each Node • Restart SQL Services SharePoint Saturday Adelaide 2012
  • 17. Creating AlwaysOn Availability Groups Step 3: Create the Availability Group • Ideally use the New Availability Group Wizard, it automates the process SharePoint Saturday Adelaide 2012
  • 18. Creating AlwaysOn Availability Groups Step 3: Create the Availability Group – Continued… • Be sure to have a shared network location for the backup files (Created in earlier step) • Depending on size of databases, this could take a while • Backups can also be pre-staged (Join Only) SharePoint Saturday Adelaide 2012
  • 19. Creating AlwaysOn Availability Groups Step 3: Create the Availability Group – Continued… • Validation should show all green, except warning for Listener • The listener (‘SQL’ in this example) will be created later, and is required for SharePoint to connect to SharePoint Saturday Adelaide 2012
  • 20. Creating AlwaysOn Availability Groups Step 4: Create the Availability Group Listener • After the wizard completes, manually create the Availability Group Listener • This is the shared name that SharePoint will connect to and will provide failover (Also called the ‘Client Access Point’) • Modify the DNS record for this listener to have a low TTL (60 seconds or less) for cross- subnet failover scenarios SharePoint Saturday Adelaide 2012
  • 21. DEMO SharePoint Saturday Adelaide 2012
  • 22. Session Summary • Throw away all previous data tier designs for SharePoint! • SQL 2012 AlwaysOn Availability Groups are the preferred design option for High Availability and Disaster Recovery at the data tier • SQL 2012 is fully supported by SharePoint 2010 Service Pack 1 databases • Follow closely the guidelines, ensure data paths are the same, double-check security requirements SharePoint Saturday Adelaide 2012
  • 23. Michael Noel Twitter: @MichaelTNoel www.cco.com Slides: slideshare.net/michaeltnoel Travel Blog: http://sharingtheglobe.com SharePoint Saturday Adelaide 2012
  • 24. SharePoint Saturday Sponsors Gold Thanks for listening! Remember to submit your feedback so Silver you can go into the raffle draw at the end of the day! And don’t forget that Bronze you have to be at the draw to claim your prizes!