SlideShare a Scribd company logo
1 of 46
TECHNET LIVE MEETING
High Availability Solutions in SQL Server 2012
Pieter Vanhove
WHO AM I
•   Pieter Vanhove
•   SQL Server Database Consultant at Kohera
•   MCTS, MCITP Database Administrator 2008
•   Love to work with SQL HA/DR solutions
•   E-mail: pieter.vanhove@kohera.be
•   Twitter: http://twitter.com/#!/Pieter_Vanhove
•   Blog: http://blogs.sqlug.be/pieter/
•   MEET: http://www.microsoft.com/belux/meet/#Pieter+Vanhove
AGENDA
• What is High Availability
  •   Planned vs. Unplanned downtime
  •   Degraded Availability
  •   Recovery Objectives
  •   Justifying Opportunity Costs
• SQL Server AlwaysOn
  • AlwaysOn Failover Cluster Instance
  • AlwaysOn Availability Group
• Database Mirroring
• Log Shipping
• Compare the different solutions
PLANNED VS UNPLANNED DOWNTIME
• Planned maintenance.
  • A time window is preannounced and coordinated for planned maintenance
    o   Software patching
    o   Hardware upgrades
    o   Password updates
    o   Offline re-indexing
    o   Data loading
    o   Rehearsal of disaster recovery procedures
• Unplanned outage
  • System-level, infrastructure, or process failures may occur that are unplanned or
    uncontrollable
  • A robust high availability solution
    o Detects these types of failures
    o Automatically recovers from the outage
    o Reestablishes fault tolerance.
DEGRADED AVAILABILITY


• Read-only and deferred operation

• Data latency and application responsiveness

• Partial, transient, or impending failures
RECOVERY OBJECTIVES
• Recovery Time Objective (RTO)
  • This is the duration of the outage. The primary goal is to restore full service to
    the point that new transactions can take place



• Recovery Point Objective (RPO)
  • A measure of acceptable data loss
  • It is the time gap or latency between the last committed data transaction before
    the failure and the most recent data recovered after the failure
JUSTIFYING OPPORTUNITY COSTS
• Avoiding downtime
  • Outage recovery costs are avoided all together if an outage doesn’t occur in the first
    place
  • Investments include
    o The cost of fault-tolerant and redundant hardware or infrastructure
    o Distributing workloads across isolated points of failure
    o Planned downtime for preventive maintenance
• Automating recovery
  • If a system failure occurs, you can greatly mitigate the impact of downtime on the
    customer experience through automatic and transparent recovery
• Resource utilization
  • Secondary or standby infrastructure can sit idle, awaiting an outage
  • It can be leveraged for read-only workloads
  • To improve overall system performance by distributing workloads across all available
    hardware
ALWAYSON FAILOVER CLUSTER
WHAT IS FAILOVER
CLUSTER INSTANCE                                               Client PCs


                                        Public Network




                                  San Mirroring

                                                                       Server B (Passive)
        Server A (Active)      Virtual SQL Server Instance




                                      Virtual Windows Server


                            Storage                              Shared Storage             Storage
WHAT IS A FAILOVER
                                                        Client PCs


                                 Public Network




       Server A Passive
                Active    Virtual SQL Server Instance          Server B Passive

                                                                                     Switch storage
                                                                                      manually
                                                                                     DNS change
                              Virtual Windows Server                                 Attach/Detach
                                                                                      databases
                                                                                     Recreation jobs
                                                          Shared Storage
CLUSTER TYPE: ACTIVE/PASSIVE
                                                       Client PCs


                                Public Network




       Server A Active   Virtual SQL Server Instance          Server B Passive




                             Virtual Windows Server


                                                         Shared Storage
CLUSTER TYPE ACTIVE/ACTIVE
                                                  Client PCs


                           Public Network




       Server A Active                                   Server B Active




                         Virtual Windows Server


                                                    Shared Storage
CLUSTER TYPE: ACTIVE/ACTIVE N + 1
                         Public Network




       Server A Active                            Server B Active




                         Server C   Passive




                                              Shared Storage
BENEFITS OF FAILOVER CLUSTER INSTANCE
• Protection at the instance level through redundancy

• Automatic failover in the event of a failure

• Support for a broad array of storage solutions

• Disaster recovery solution using a multi-subnet FCI

• Zero reconfiguration of applications and clients during failovers
ALWAYSON AVAILABILITY GROUPS
WHAT ARE ALWAYSON AVAILABILITY GROUPS
• HA and DR solution that provides an alternative to database mirroring

• A container for a discrete set of user databases that fail over together

• Multiple possible failover targets

• Secondary replicas support read-only access


    An availability group fails over at the level of an availability replica.
    Failovers are not caused by database issues
TERMS AND DEFINITIONS
• Primary database
  • The read-write copy of an availability database
• Secondary database
  • A read-only copy of an availability database
• Primary replica
  • The availability replica that makes the primary databases available for read-write
    connections
  • Sends transaction log records for each primary database to every secondary replica
• Secondary replica
  • An availability replica that maintains a secondary copy of each availability database
  • Serves as a potential failover targets for the availability group
• Availability group listener
  • A server name to which clients can connect in order to access a database in a
    primary or secondary replica of an AlwaysOn availability group
SYNCHRONOUS COMMIT MODE




    1 Commit            7 Acknowledge
                                    6 Acknowledge
                                                           Constantly
                                                           Redoing on
                                                           Replica

                            2 Transmit to
       2 Write              Replica
      to Local         3 Committed      4 Write to
          Log          in Log        Remote Log
                                                       5

      DB         Log                                 Log          DB
ASYNCHRONOUS COMMIT MODE




     1                  4 Acknowledge
     Commit                         7 Acknowledge
                                                           Constantly
                                                           Redoing on
                                                           Replica

                            2 Transmit to
       2 Write              Replica
      to Local         3 Committed      5 Write to
          Log          in Log        Remote Log
                                                       6

      DB         Log                                 Log          DB
FAILOVER TYPES


    - DBA issues a      - Response to a       - DBA issues a
      manual-failover     failure               forced-failover
      command                                   command
                        - Primary 
    - Primary           Secondary           - Primary 
      Secondary                                 Secondary
                        - Synchronous-
    - Synchronous-        commit mode+        - Asynchronous-
      commit mode         failover mode set     commit mode
                          to “Automatic”
    - Replica must be                         - Replica is not
      synchronized      - Replica must be       synchronized
                          synchronized
READ-ONLY ACCESS ON SECONDARY

• You can configure read-only access to the availability replica.

• Allows you to offload you read-only workloads from your primary
  replica

• Optimizes resources on your primary replica for your mission critial
  workloads
POSSIBLE SETUP
BENEFITS ALWAYSON AVAILABILITY GROUPS
• Supports one primary replica and up to four secondary replicas
• Supports Asynchronous-commit mode and Synchronous-commit
  mode
• Read-Only access to the secondary databases
• Performing backup operations on secondary databases
• Provide fast application failover
• Flexible Failover Policy
• Automatic page repair
• Supports Encryption and Compression
• Provides an integrated set of tools
PREPARATION

• Install WSFC on each machine and create a single WSFC cluster

• Install SQL Server Instances on each machine

• Enable AlwaysOn through SQL Configuration Manager

• (CREATE ENDPOINT on each instance)
DATABASE MIRRORING
DATABASE MIRRORING
TERMS AND DEFINITIONS
• Principal Server
  • Principal server is the server which clients connect to and perform their updates to
    the database
• Mirror Server
  • Mirror server is performing the same changes on the mirrored database
• Witness server
  • The witness server monitors the status of the principal and mirror servers
  • The witness does NOT trigger the failover, just helps provide “quorum”
• Quorum
  • In the event of one of the principal becoming unavailable, the mirror can only
    failover if it can still see the witness, and the witness agrees it cannot see the
    principal
  • If the mirror fails, principal can only continue if it still sees the witness
OPERATING MODES

    High Availability            High Protection              High Performance

   Automatic Detection         No Automatic                No Automatic
   Automatic Failover           Detection                    Detection

   Uses synchronous            Manual Failover             Manual Failover
    form of mirroring           Uses synchronous form       Uses asynchronous
   Requires Witness             of mirroring                 form of mirroring

   Principal performance       Does not require            Does not require
    is affected by network       Witness                      Witness
    speed and distance          Principal performance       Principal performance
                                 is affected by network       is NOT affected by
                                 speed and distance           network speed and
                                                              distance
SETUP REQUIREMENTS
• Both the principal and mirror servers must have SQL 2005 + installed

• Both the principal and mirror servers must have space to hold the
  database

• For automatic failover, the witness server also must have SQL Server
  2005+ installed

• Witness can be any edition, even SQL Server Express

• The principal database must use the Full recovery model

• The mirror database must be “prepared”
FAILURE DETECTION
• SQL Server
  • Ping each other once a second
  • By default if 10 “pings” are missed, then declare a failure
• Outside SQL Server
  •   Operating System
  •   Network errors
  •   IO errors
  •   Process errors
• Failover speed determined by:
  • Failure type
  • REDO queue on the mirror
BENEFITS DATABASE MIRRORING
• Increases availability of a database.
  • High-safety mode with automatic failover, failover quickly brings the standby copy of
    the database online (without data loss)

• Increases data protection.
  • Database mirroring provides complete or almost complete redundancy of the data
  • Mirroring partner running on SQL Server 2008 Enterprise or later versions
    automatically tries to resolve certain types of errors that prevent reading a data
    page. Automatic Page Repair


• Improves the availability of the production database during upgrades.
  • To minimize downtime, you can sequentially upgrade the instances of SQL Server
  • Rolling upgrade
DATABASE MIRRORING DEPRECATED




   This feature will be removed in a future version of Microsoft SQL
   Server. Avoid using this feature in new development work, and
   plan to modify applications that currently use this feature. Use
   AlwaysOn Availability Groups instead.
LOG SHIPPING
LOG SHIPPING
TERMS AND DEFINITIONS
• Primary database
  • The database on the primary server that you want to back up to another server.


• Secondary database
  • The warm standby copy of the primary database.
    o Restoring state
    o Standby state


• Monitor server
  • When the transaction log on the primary database was last backed up.
  • When the secondary servers last copied and restored the backup files.
  • Information about any backup failure alerts.
TERMS AND DEFINITIONS
• Backup job
  • Performs the backup operation
  • Logs history to the local server and the monitor server
  • Deletes old backup files and history information
• Copy job
  • Copies the backup files from the primary server to a configurable destination on the
    secondary server
  • Logs history on the secondary server and the monitor server.
• Restore job
  • Restores the copied backup files to the secondary databases.
  • Logs history on the local server and the monitor server
  • Deletes old files and old history information.
• Alert job
  • Raises alerts for primary and secondary databases when a backup or restore
    operation does not complete successfully within a specified threshold.
LOG SHIPPING CONCEPT




                              Monitor Database
                                   Server




               Log shipping                      Log shipping
Primary Database                                                Secondary Database
     Server                                                           Server
                                Backup Share
                                                                   Restore Job
  Backup Job
FAIL OVER TO A LOG SHIPPING SECONDARY
1.   Copy any uncopied backup files from the backup share to the copy
     destination folder of each secondary server.
2.   Apply any unapplied transaction log backups in sequence to each
     secondary database.
3.   If the primary database is accessible, back up the active transaction
     log and apply the log backup to the secondary databases.
4.   After the secondary servers are synchronized, you can fail over to
     whichever one you prefer by recovering its secondary database and
     redirecting clients to that server instance. Recovering puts the
     database into a consistent state and brings it online.
COMPARE SOLUTIONS
COMPARING FAILOVER
    Failover      Availability      Database
                                                    Log Shipping
   clustering      Groups           Mirroring
• SQL Server    • Database       • Database        • Database
  Instance        Group          • Manual or       • Manual
• Automated     • Manual or        automated       • Based on
• Within          automated      • Few seconds       configuration
  minutes       • Few seconds      to minutes      • Forced
• No              to minutes     • Application       application
  application   • No               redirection       redirection
  redirection     Application      required (can     required
  required        redirection      be
                  required         automated)
COMPARING SECONDARY SERVER
     Failover            Availability        Database
                                                                   Log Shipping
    clustering            Groups             Mirroring
•   Instance         •   Database        •   Database          •   Database
•   Multiple nodes   •   Up to 4         •   Principal and     •   Multiple
•   Server in same       Secondary           Mirror                secondary
    LAN                  Replica’s       •   Span across           nodes
•   Hot standby      •   Span across         WAN               •   Span across
    server               WAN             •   Hot standby           WAN
•   Available for    •   Hot standby     •   Not available     •   Warm standby
    use              •   Available for       for use           •   Available for
•   Shared storage       use             •   Storage need          use
•   Status check     •   Storage need        not be shared     •   Storage need
    using                not be shared   •   No status check       not be shared
    Heartbeat        •   Status check        unless using      •   No status
                         WFC                 witness               checking
COMPARING
    Failover           Availability        Database
                                                             Log Shipping
   clustering           Groups             Mirroring
• All instance      • Configured        • Configured        • Configured
  databases are       database is         database is         database logs
  shared              mirrored or         mirrored            are applied
• Loss limited to     readable          • Loss limited to   • Loss limited to
  last hardened     • Loss limited to     last mirrored       last applied
  record              last mirrored       transaction         transaction
• No data copy        transaction       • Synchronous         log backup
  across            • Synchronous         or                • Transaction
  network             or                  Asynchronous        log
                      Asynchronous        mirroring           Backup, Copy
                      commit mode                             and Restore
COMPARING
   Failover        Availability     Database
                                                    Log Shipping
  clustering        Groups          Mirroring
• Network        • Network        • Network        • Network
  connectivity     latency to       latency to       latency to
  needs to         meet I/U/D       meet I/U/D       meet RTO
  meet             SLA’s            SLA’s          • Transaction
  heartbeat      • Data is        • Data is          Log file
  requirements     transferred      transferred      records
• Data is not      over network     over network     transferred
  transferred                                        over network
  over network
WRAP UP
• What is High Availability
  •   Planned vs. Unplanned downtime
  •   Degraded Availability
  •   Recovery Objectives
  •   Justifying Opportunity Costs
• SQL Server AlwaysOn
  • AlwaysOn Failover Cluster Instance
  • AlwaysOn Availability Group
• Database Mirroring
• Log Shipping
• Compare the different solutions
RESOURCES
• AlwaysOn Team Blog
  • http://blogs.msdn.com/b/sqlalwayson/


• SQL Server 2012 Whitepapers
  • http://msdn.microsoft.com/en-us/library/hh403491


• MSDN – SQL Server High Availability Solutions
  • http://msdn.microsoft.com/en-
    us/library/ms190202.aspx#RecommendedSolutions
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
    conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
                                        MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

What's hot

TechNet Live spor 1 sesjon 6 - more vdi
TechNet Live spor 1   sesjon 6 - more vdiTechNet Live spor 1   sesjon 6 - more vdi
TechNet Live spor 1 sesjon 6 - more vdiAnders Borchsenius
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012The Linux Foundation
 
Hyper V R2 Deep Dive
Hyper V R2 Deep DiveHyper V R2 Deep Dive
Hyper V R2 Deep DiveAidan Finn
 
XCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the CloudXCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the CloudThe Linux Foundation
 
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)The Linux Foundation
 
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x The Linux Foundation
 
Cvc2009 Moscow Xd3 Fabian Kienle Final
Cvc2009 Moscow Xd3  Fabian Kienle FinalCvc2009 Moscow Xd3  Fabian Kienle Final
Cvc2009 Moscow Xd3 Fabian Kienle FinalLiudmila Li
 
Cax Osoft12 5r Garanta Continuidade Nos Negocios
Cax Osoft12 5r Garanta Continuidade  Nos NegociosCax Osoft12 5r Garanta Continuidade  Nos Negocios
Cax Osoft12 5r Garanta Continuidade Nos NegociosCA RMDM Brasil
 
What is new in Citrix xen Client
What is new in Citrix xen ClientWhat is new in Citrix xen Client
What is new in Citrix xen ClientDigicomp Academy AG
 
Windows Server 2012 - Dynamische opslag met Storage Pools
Windows Server 2012 - Dynamische opslag met Storage PoolsWindows Server 2012 - Dynamische opslag met Storage Pools
Windows Server 2012 - Dynamische opslag met Storage PoolsCompuTrain. De IT opleider.
 
Building Business Continuity Solutions With Hyper V
Building Business Continuity Solutions With Hyper VBuilding Business Continuity Solutions With Hyper V
Building Business Continuity Solutions With Hyper Vrsnarayanan
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platformBill Chea
 
Xen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesXen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesThe Linux Foundation
 
What’s New in vCloud Director 5.1?
What’s New in vCloud Director 5.1?What’s New in vCloud Director 5.1?
What’s New in vCloud Director 5.1?Eric Sloof
 
Branch repeater technical training presentation 26 oct-12
Branch repeater technical training presentation 26 oct-12Branch repeater technical training presentation 26 oct-12
Branch repeater technical training presentation 26 oct-12Nuno Alves
 

What's hot (20)

Xen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10xXen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10x
 
Improvements in Failover Clustering in Windows Server 2012
Improvements in Failover Clustering in Windows Server 2012Improvements in Failover Clustering in Windows Server 2012
Improvements in Failover Clustering in Windows Server 2012
 
TechNet Live spor 1 sesjon 6 - more vdi
TechNet Live spor 1   sesjon 6 - more vdiTechNet Live spor 1   sesjon 6 - more vdi
TechNet Live spor 1 sesjon 6 - more vdi
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
 
Hyper V R2 Deep Dive
Hyper V R2 Deep DiveHyper V R2 Deep Dive
Hyper V R2 Deep Dive
 
XCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the CloudXCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the Cloud
 
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
 
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
 
Cvc2009 Moscow Xd3 Fabian Kienle Final
Cvc2009 Moscow Xd3  Fabian Kienle FinalCvc2009 Moscow Xd3  Fabian Kienle Final
Cvc2009 Moscow Xd3 Fabian Kienle Final
 
Cax Osoft12 5r Garanta Continuidade Nos Negocios
Cax Osoft12 5r Garanta Continuidade  Nos NegociosCax Osoft12 5r Garanta Continuidade  Nos Negocios
Cax Osoft12 5r Garanta Continuidade Nos Negocios
 
What is new in Citrix xen Client
What is new in Citrix xen ClientWhat is new in Citrix xen Client
What is new in Citrix xen Client
 
Windows Server 2012 - Dynamische opslag met Storage Pools
Windows Server 2012 - Dynamische opslag met Storage PoolsWindows Server 2012 - Dynamische opslag met Storage Pools
Windows Server 2012 - Dynamische opslag met Storage Pools
 
XS Boston 2008 Memory Overcommit
XS Boston 2008 Memory OvercommitXS Boston 2008 Memory Overcommit
XS Boston 2008 Memory Overcommit
 
Git 101
Git 101Git 101
Git 101
 
Virtualization Smackdown
Virtualization SmackdownVirtualization Smackdown
Virtualization Smackdown
 
Building Business Continuity Solutions With Hyper V
Building Business Continuity Solutions With Hyper VBuilding Business Continuity Solutions With Hyper V
Building Business Continuity Solutions With Hyper V
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platform
 
Xen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesXen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization Opportunities
 
What’s New in vCloud Director 5.1?
What’s New in vCloud Director 5.1?What’s New in vCloud Director 5.1?
What’s New in vCloud Director 5.1?
 
Branch repeater technical training presentation 26 oct-12
Branch repeater technical training presentation 26 oct-12Branch repeater technical training presentation 26 oct-12
Branch repeater technical training presentation 26 oct-12
 

Viewers also liked

Windows clustering and quorum basics
Windows clustering and quorum basicsWindows clustering and quorum basics
Windows clustering and quorum basicsHarsh Chawla
 
SQL Server Clustering for Dummies
SQL Server Clustering for DummiesSQL Server Clustering for Dummies
SQL Server Clustering for DummiesMark Broadbent
 
Introduction to failover clustering with sql server
Introduction to failover clustering with sql serverIntroduction to failover clustering with sql server
Introduction to failover clustering with sql serverEduardo Castro
 
SQL Server Cluster Presentation
SQL Server Cluster PresentationSQL Server Cluster Presentation
SQL Server Cluster Presentationwebhostingguy
 
SQL Server Clustering and High Availability
SQL Server Clustering and High AvailabilitySQL Server Clustering and High Availability
SQL Server Clustering and High Availability► Supreme Mandal ◄
 
BPC: Do you have the right design?
BPC: Do you have the right design?BPC: Do you have the right design?
BPC: Do you have the right design?Brian Tyson
 
Friday new alliances
Friday new alliancesFriday new alliances
Friday new alliancesTravis Klein
 
Rethinking tax friday
Rethinking tax fridayRethinking tax friday
Rethinking tax fridayTravis Klein
 
SAFECode’s latest “Software Security Guidance for Agile Practitioners” White...
SAFECode’s latest “Software Security Guidance for Agile Practitioners”  White...SAFECode’s latest “Software Security Guidance for Agile Practitioners”  White...
SAFECode’s latest “Software Security Guidance for Agile Practitioners” White...EMC
 
Pastís de xocolata rita i judit
Pastís de xocolata rita i juditPastís de xocolata rita i judit
Pastís de xocolata rita i juditmgonellgomez
 
Fri lenin and trotsky
Fri lenin and trotskyFri lenin and trotsky
Fri lenin and trotskyTravis Klein
 
Mit2 092 f09_lec23
Mit2 092 f09_lec23Mit2 092 f09_lec23
Mit2 092 f09_lec23Rahman Hakim
 
4 Ms of Big Data: Make Me More Money – Infographic
4 Ms of Big Data: Make Me More Money – Infographic4 Ms of Big Data: Make Me More Money – Infographic
4 Ms of Big Data: Make Me More Money – InfographicEMC
 
Third lesson
Third lessonThird lesson
Third lessonmeteab
 

Viewers also liked (20)

Windows clustering and quorum basics
Windows clustering and quorum basicsWindows clustering and quorum basics
Windows clustering and quorum basics
 
SQL Server Clustering for Dummies
SQL Server Clustering for DummiesSQL Server Clustering for Dummies
SQL Server Clustering for Dummies
 
Introduction to failover clustering with sql server
Introduction to failover clustering with sql serverIntroduction to failover clustering with sql server
Introduction to failover clustering with sql server
 
SQL Server Cluster Presentation
SQL Server Cluster PresentationSQL Server Cluster Presentation
SQL Server Cluster Presentation
 
SQL Server Clustering and High Availability
SQL Server Clustering and High AvailabilitySQL Server Clustering and High Availability
SQL Server Clustering and High Availability
 
BPC: Do you have the right design?
BPC: Do you have the right design?BPC: Do you have the right design?
BPC: Do you have the right design?
 
Friday new alliances
Friday new alliancesFriday new alliances
Friday new alliances
 
Rethinking tax friday
Rethinking tax fridayRethinking tax friday
Rethinking tax friday
 
Wed thurs reform
Wed thurs reformWed thurs reform
Wed thurs reform
 
2015 day 10
2015 day 102015 day 10
2015 day 10
 
City bogota
City bogotaCity bogota
City bogota
 
SAFECode’s latest “Software Security Guidance for Agile Practitioners” White...
SAFECode’s latest “Software Security Guidance for Agile Practitioners”  White...SAFECode’s latest “Software Security Guidance for Agile Practitioners”  White...
SAFECode’s latest “Software Security Guidance for Agile Practitioners” White...
 
Pastís de xocolata rita i judit
Pastís de xocolata rita i juditPastís de xocolata rita i judit
Pastís de xocolata rita i judit
 
Fri lenin and trotsky
Fri lenin and trotskyFri lenin and trotsky
Fri lenin and trotsky
 
Mit2 092 f09_lec23
Mit2 092 f09_lec23Mit2 092 f09_lec23
Mit2 092 f09_lec23
 
Planning shooting
Planning shootingPlanning shooting
Planning shooting
 
Museo memoria y tolerancia
Museo memoria y toleranciaMuseo memoria y tolerancia
Museo memoria y tolerancia
 
13 tipos de_memoria
13 tipos de_memoria13 tipos de_memoria
13 tipos de_memoria
 
4 Ms of Big Data: Make Me More Money – Infographic
4 Ms of Big Data: Make Me More Money – Infographic4 Ms of Big Data: Make Me More Money – Infographic
4 Ms of Big Data: Make Me More Money – Infographic
 
Third lesson
Third lessonThird lesson
Third lesson
 

Similar to High Availability Solutions in SQL 2012

Sql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday bostonSql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday bostonJoseph D'Antoni
 
Sql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday RichmondSql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday RichmondJoseph D'Antoni
 
Sql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaSql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaJoseph D'Antoni
 
SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...
SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...
SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...Michael Noel
 
Sql Server High Availability & DR Technologies
Sql Server High Availability & DR TechnologiesSql Server High Availability & DR Technologies
Sql Server High Availability & DR TechnologiesRockSolid SQL
 
Sql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffySql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffyAnuradha
 
SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...
SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...
SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...Michael Noel
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always ondilip nayak
 
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012Michael Noel
 
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013Michael Noel
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sqlSamuel Zürcher
 
Disaster recovery in sql server
Disaster recovery in  sql serverDisaster recovery in  sql server
Disaster recovery in sql serverRajib Kundu
 
Lync Server 2010: High Availability [I3004]
Lync Server 2010: High Availability [I3004] Lync Server 2010: High Availability [I3004]
Lync Server 2010: High Availability [I3004] Fabrizio Volpe
 
Exchange 2010 ha ctd
Exchange 2010 ha ctdExchange 2010 ha ctd
Exchange 2010 ha ctdKaliyan S
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalJoseph D'Antoni
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVgavin_lee
 
Configuring and Using the New Virtualization Features in Windows Server 2012
Configuring and Using the New Virtualization Features in Windows Server 2012Configuring and Using the New Virtualization Features in Windows Server 2012
Configuring and Using the New Virtualization Features in Windows Server 2012Lai Yoong Seng
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalJoseph D'Antoni
 

Similar to High Availability Solutions in SQL 2012 (20)

Sql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday bostonSql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday boston
 
Sql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday RichmondSql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday Richmond
 
Sql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaSql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampa
 
SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...
SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...
SQL 2012 AlwaysOn Availability Groups (AOAGs) for SharePoint Farms - Norcall ...
 
Sql Server High Availability & DR Technologies
Sql Server High Availability & DR TechnologiesSql Server High Availability & DR Technologies
Sql Server High Availability & DR Technologies
 
Sql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffySql server 2012 - always on deep dive - bob duffy
Sql server 2012 - always on deep dive - bob duffy
 
AlwaysON Basics
AlwaysON BasicsAlwaysON Basics
AlwaysON Basics
 
SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...
SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...
SQL 2012 AlwaysOn Availability Groups for SharePoint 2013 - SharePoint Connec...
 
Sql 2012 always on
Sql 2012 always onSql 2012 always on
Sql 2012 always on
 
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
 
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sql
 
Disaster recovery in sql server
Disaster recovery in  sql serverDisaster recovery in  sql server
Disaster recovery in sql server
 
Lync Server 2010: High Availability [I3004]
Lync Server 2010: High Availability [I3004] Lync Server 2010: High Availability [I3004]
Lync Server 2010: High Availability [I3004]
 
Exchange 2010 ha ctd
Exchange 2010 ha ctdExchange 2010 ha ctd
Exchange 2010 ha ctd
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_final
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
 
Workload Optimization
Workload OptimizationWorkload Optimization
Workload Optimization
 
Configuring and Using the New Virtualization Features in Windows Server 2012
Configuring and Using the New Virtualization Features in Windows Server 2012Configuring and Using the New Virtualization Features in Windows Server 2012
Configuring and Using the New Virtualization Features in Windows Server 2012
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_final
 

More from Microsoft TechNet - Belgium and Luxembourg

More from Microsoft TechNet - Belgium and Luxembourg (20)

Windows 10: all you need to know!
Windows 10: all you need to know!Windows 10: all you need to know!
Windows 10: all you need to know!
 
Configuration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
Configuration Manager 2012 – Compliance Settings 101 - Tim de KeukelaereConfiguration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
Configuration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
 
Windows 8.1 a closer look
Windows 8.1 a closer lookWindows 8.1 a closer look
Windows 8.1 a closer look
 
So you’ve successfully installed SCOM… Now what.
So you’ve successfully installed SCOM… Now what.So you’ve successfully installed SCOM… Now what.
So you’ve successfully installed SCOM… Now what.
 
Data Leakage Prevention
Data Leakage PreventionData Leakage Prevention
Data Leakage Prevention
 
Deploying and managing ConfigMgr Clients
Deploying and managing ConfigMgr ClientsDeploying and managing ConfigMgr Clients
Deploying and managing ConfigMgr Clients
 
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
 
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware UpdatingHands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
 
SCEP 2012 inside SCCM 2012
SCEP 2012 inside SCCM 2012SCEP 2012 inside SCCM 2012
SCEP 2012 inside SCCM 2012
 
Jump start your application monitoring with APM
Jump start your application monitoring with APMJump start your application monitoring with APM
Jump start your application monitoring with APM
 
What’s new in Lync Server 2013: Persistent Chat
What’s new in Lync Server 2013: Persistent ChatWhat’s new in Lync Server 2013: Persistent Chat
What’s new in Lync Server 2013: Persistent Chat
 
What's new for Lync 2013 Clients & Devices
What's new for Lync 2013 Clients & DevicesWhat's new for Lync 2013 Clients & Devices
What's new for Lync 2013 Clients & Devices
 
Office 365 ProPlus: Click-to-run deployment and management
Office 365 ProPlus: Click-to-run deployment and managementOffice 365 ProPlus: Click-to-run deployment and management
Office 365 ProPlus: Click-to-run deployment and management
 
Office 365 Identity Management options
Office 365 Identity Management options Office 365 Identity Management options
Office 365 Identity Management options
 
SharePoint Installation and Upgrade: Untangling Your Options
SharePoint Installation and Upgrade: Untangling Your Options SharePoint Installation and Upgrade: Untangling Your Options
SharePoint Installation and Upgrade: Untangling Your Options
 
The application model in real life
The application model in real lifeThe application model in real life
The application model in real life
 
Microsoft private cloud with Cisco and Netapp - Flexpod solution
Microsoft private cloud with Cisco and Netapp -  Flexpod solutionMicrosoft private cloud with Cisco and Netapp -  Flexpod solution
Microsoft private cloud with Cisco and Netapp - Flexpod solution
 
Managing Windows RT devices in the Enterprise
Managing Windows RT devices in the Enterprise Managing Windows RT devices in the Enterprise
Managing Windows RT devices in the Enterprise
 
Moving from Device Centric to a User Centric Management
Moving from Device Centric to a User Centric Management Moving from Device Centric to a User Centric Management
Moving from Device Centric to a User Centric Management
 
Network Management in System Center 2012 SP1 - VMM
Network Management in System Center 2012  SP1 - VMM Network Management in System Center 2012  SP1 - VMM
Network Management in System Center 2012 SP1 - VMM
 

Recently uploaded

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 

Recently uploaded (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 

High Availability Solutions in SQL 2012

  • 1. TECHNET LIVE MEETING High Availability Solutions in SQL Server 2012 Pieter Vanhove
  • 2. WHO AM I • Pieter Vanhove • SQL Server Database Consultant at Kohera • MCTS, MCITP Database Administrator 2008 • Love to work with SQL HA/DR solutions • E-mail: pieter.vanhove@kohera.be • Twitter: http://twitter.com/#!/Pieter_Vanhove • Blog: http://blogs.sqlug.be/pieter/ • MEET: http://www.microsoft.com/belux/meet/#Pieter+Vanhove
  • 3. AGENDA • What is High Availability • Planned vs. Unplanned downtime • Degraded Availability • Recovery Objectives • Justifying Opportunity Costs • SQL Server AlwaysOn • AlwaysOn Failover Cluster Instance • AlwaysOn Availability Group • Database Mirroring • Log Shipping • Compare the different solutions
  • 4. PLANNED VS UNPLANNED DOWNTIME • Planned maintenance. • A time window is preannounced and coordinated for planned maintenance o Software patching o Hardware upgrades o Password updates o Offline re-indexing o Data loading o Rehearsal of disaster recovery procedures • Unplanned outage • System-level, infrastructure, or process failures may occur that are unplanned or uncontrollable • A robust high availability solution o Detects these types of failures o Automatically recovers from the outage o Reestablishes fault tolerance.
  • 5. DEGRADED AVAILABILITY • Read-only and deferred operation • Data latency and application responsiveness • Partial, transient, or impending failures
  • 6. RECOVERY OBJECTIVES • Recovery Time Objective (RTO) • This is the duration of the outage. The primary goal is to restore full service to the point that new transactions can take place • Recovery Point Objective (RPO) • A measure of acceptable data loss • It is the time gap or latency between the last committed data transaction before the failure and the most recent data recovered after the failure
  • 7. JUSTIFYING OPPORTUNITY COSTS • Avoiding downtime • Outage recovery costs are avoided all together if an outage doesn’t occur in the first place • Investments include o The cost of fault-tolerant and redundant hardware or infrastructure o Distributing workloads across isolated points of failure o Planned downtime for preventive maintenance • Automating recovery • If a system failure occurs, you can greatly mitigate the impact of downtime on the customer experience through automatic and transparent recovery • Resource utilization • Secondary or standby infrastructure can sit idle, awaiting an outage • It can be leveraged for read-only workloads • To improve overall system performance by distributing workloads across all available hardware
  • 9. WHAT IS FAILOVER CLUSTER INSTANCE Client PCs Public Network San Mirroring Server B (Passive) Server A (Active) Virtual SQL Server Instance Virtual Windows Server Storage Shared Storage Storage
  • 10. WHAT IS A FAILOVER Client PCs Public Network Server A Passive Active Virtual SQL Server Instance Server B Passive  Switch storage manually  DNS change Virtual Windows Server  Attach/Detach databases  Recreation jobs Shared Storage
  • 11. CLUSTER TYPE: ACTIVE/PASSIVE Client PCs Public Network Server A Active Virtual SQL Server Instance Server B Passive Virtual Windows Server Shared Storage
  • 12. CLUSTER TYPE ACTIVE/ACTIVE Client PCs Public Network Server A Active Server B Active Virtual Windows Server Shared Storage
  • 13. CLUSTER TYPE: ACTIVE/ACTIVE N + 1 Public Network Server A Active Server B Active Server C Passive Shared Storage
  • 14. BENEFITS OF FAILOVER CLUSTER INSTANCE • Protection at the instance level through redundancy • Automatic failover in the event of a failure • Support for a broad array of storage solutions • Disaster recovery solution using a multi-subnet FCI • Zero reconfiguration of applications and clients during failovers
  • 16. WHAT ARE ALWAYSON AVAILABILITY GROUPS • HA and DR solution that provides an alternative to database mirroring • A container for a discrete set of user databases that fail over together • Multiple possible failover targets • Secondary replicas support read-only access An availability group fails over at the level of an availability replica. Failovers are not caused by database issues
  • 17. TERMS AND DEFINITIONS • Primary database • The read-write copy of an availability database • Secondary database • A read-only copy of an availability database • Primary replica • The availability replica that makes the primary databases available for read-write connections • Sends transaction log records for each primary database to every secondary replica • Secondary replica • An availability replica that maintains a secondary copy of each availability database • Serves as a potential failover targets for the availability group • Availability group listener • A server name to which clients can connect in order to access a database in a primary or secondary replica of an AlwaysOn availability group
  • 18. SYNCHRONOUS COMMIT MODE 1 Commit 7 Acknowledge 6 Acknowledge Constantly Redoing on Replica 2 Transmit to 2 Write Replica to Local 3 Committed 4 Write to Log in Log Remote Log 5 DB Log Log DB
  • 19. ASYNCHRONOUS COMMIT MODE 1 4 Acknowledge Commit 7 Acknowledge Constantly Redoing on Replica 2 Transmit to 2 Write Replica to Local 3 Committed 5 Write to Log in Log Remote Log 6 DB Log Log DB
  • 20. FAILOVER TYPES - DBA issues a - Response to a - DBA issues a manual-failover failure forced-failover command command - Primary  - Primary  Secondary - Primary  Secondary Secondary - Synchronous- - Synchronous- commit mode+ - Asynchronous- commit mode failover mode set commit mode to “Automatic” - Replica must be - Replica is not synchronized - Replica must be synchronized synchronized
  • 21. READ-ONLY ACCESS ON SECONDARY • You can configure read-only access to the availability replica. • Allows you to offload you read-only workloads from your primary replica • Optimizes resources on your primary replica for your mission critial workloads
  • 23. BENEFITS ALWAYSON AVAILABILITY GROUPS • Supports one primary replica and up to four secondary replicas • Supports Asynchronous-commit mode and Synchronous-commit mode • Read-Only access to the secondary databases • Performing backup operations on secondary databases • Provide fast application failover • Flexible Failover Policy • Automatic page repair • Supports Encryption and Compression • Provides an integrated set of tools
  • 24. PREPARATION • Install WSFC on each machine and create a single WSFC cluster • Install SQL Server Instances on each machine • Enable AlwaysOn through SQL Configuration Manager • (CREATE ENDPOINT on each instance)
  • 27. TERMS AND DEFINITIONS • Principal Server • Principal server is the server which clients connect to and perform their updates to the database • Mirror Server • Mirror server is performing the same changes on the mirrored database • Witness server • The witness server monitors the status of the principal and mirror servers • The witness does NOT trigger the failover, just helps provide “quorum” • Quorum • In the event of one of the principal becoming unavailable, the mirror can only failover if it can still see the witness, and the witness agrees it cannot see the principal • If the mirror fails, principal can only continue if it still sees the witness
  • 28. OPERATING MODES High Availability High Protection High Performance  Automatic Detection  No Automatic  No Automatic  Automatic Failover Detection Detection  Uses synchronous  Manual Failover  Manual Failover form of mirroring  Uses synchronous form  Uses asynchronous  Requires Witness of mirroring form of mirroring  Principal performance  Does not require  Does not require is affected by network Witness Witness speed and distance  Principal performance  Principal performance is affected by network is NOT affected by speed and distance network speed and distance
  • 29. SETUP REQUIREMENTS • Both the principal and mirror servers must have SQL 2005 + installed • Both the principal and mirror servers must have space to hold the database • For automatic failover, the witness server also must have SQL Server 2005+ installed • Witness can be any edition, even SQL Server Express • The principal database must use the Full recovery model • The mirror database must be “prepared”
  • 30. FAILURE DETECTION • SQL Server • Ping each other once a second • By default if 10 “pings” are missed, then declare a failure • Outside SQL Server • Operating System • Network errors • IO errors • Process errors • Failover speed determined by: • Failure type • REDO queue on the mirror
  • 31. BENEFITS DATABASE MIRRORING • Increases availability of a database. • High-safety mode with automatic failover, failover quickly brings the standby copy of the database online (without data loss) • Increases data protection. • Database mirroring provides complete or almost complete redundancy of the data • Mirroring partner running on SQL Server 2008 Enterprise or later versions automatically tries to resolve certain types of errors that prevent reading a data page. Automatic Page Repair • Improves the availability of the production database during upgrades. • To minimize downtime, you can sequentially upgrade the instances of SQL Server • Rolling upgrade
  • 32. DATABASE MIRRORING DEPRECATED This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use AlwaysOn Availability Groups instead.
  • 35. TERMS AND DEFINITIONS • Primary database • The database on the primary server that you want to back up to another server. • Secondary database • The warm standby copy of the primary database. o Restoring state o Standby state • Monitor server • When the transaction log on the primary database was last backed up. • When the secondary servers last copied and restored the backup files. • Information about any backup failure alerts.
  • 36. TERMS AND DEFINITIONS • Backup job • Performs the backup operation • Logs history to the local server and the monitor server • Deletes old backup files and history information • Copy job • Copies the backup files from the primary server to a configurable destination on the secondary server • Logs history on the secondary server and the monitor server. • Restore job • Restores the copied backup files to the secondary databases. • Logs history on the local server and the monitor server • Deletes old files and old history information. • Alert job • Raises alerts for primary and secondary databases when a backup or restore operation does not complete successfully within a specified threshold.
  • 37. LOG SHIPPING CONCEPT Monitor Database Server Log shipping Log shipping Primary Database Secondary Database Server Server Backup Share Restore Job Backup Job
  • 38. FAIL OVER TO A LOG SHIPPING SECONDARY 1. Copy any uncopied backup files from the backup share to the copy destination folder of each secondary server. 2. Apply any unapplied transaction log backups in sequence to each secondary database. 3. If the primary database is accessible, back up the active transaction log and apply the log backup to the secondary databases. 4. After the secondary servers are synchronized, you can fail over to whichever one you prefer by recovering its secondary database and redirecting clients to that server instance. Recovering puts the database into a consistent state and brings it online.
  • 40. COMPARING FAILOVER Failover Availability Database Log Shipping clustering Groups Mirroring • SQL Server • Database • Database • Database Instance Group • Manual or • Manual • Automated • Manual or automated • Based on • Within automated • Few seconds configuration minutes • Few seconds to minutes • Forced • No to minutes • Application application application • No redirection redirection redirection Application required (can required required redirection be required automated)
  • 41. COMPARING SECONDARY SERVER Failover Availability Database Log Shipping clustering Groups Mirroring • Instance • Database • Database • Database • Multiple nodes • Up to 4 • Principal and • Multiple • Server in same Secondary Mirror secondary LAN Replica’s • Span across nodes • Hot standby • Span across WAN • Span across server WAN • Hot standby WAN • Available for • Hot standby • Not available • Warm standby use • Available for for use • Available for • Shared storage use • Storage need use • Status check • Storage need not be shared • Storage need using not be shared • No status check not be shared Heartbeat • Status check unless using • No status WFC witness checking
  • 42. COMPARING Failover Availability Database Log Shipping clustering Groups Mirroring • All instance • Configured • Configured • Configured databases are database is database is database logs shared mirrored or mirrored are applied • Loss limited to readable • Loss limited to • Loss limited to last hardened • Loss limited to last mirrored last applied record last mirrored transaction transaction • No data copy transaction • Synchronous log backup across • Synchronous or • Transaction network or Asynchronous log Asynchronous mirroring Backup, Copy commit mode and Restore
  • 43. COMPARING Failover Availability Database Log Shipping clustering Groups Mirroring • Network • Network • Network • Network connectivity latency to latency to latency to needs to meet I/U/D meet I/U/D meet RTO meet SLA’s SLA’s • Transaction heartbeat • Data is • Data is Log file requirements transferred transferred records • Data is not over network over network transferred transferred over network over network
  • 44. WRAP UP • What is High Availability • Planned vs. Unplanned downtime • Degraded Availability • Recovery Objectives • Justifying Opportunity Costs • SQL Server AlwaysOn • AlwaysOn Failover Cluster Instance • AlwaysOn Availability Group • Database Mirroring • Log Shipping • Compare the different solutions
  • 45. RESOURCES • AlwaysOn Team Blog • http://blogs.msdn.com/b/sqlalwayson/ • SQL Server 2012 Whitepapers • http://msdn.microsoft.com/en-us/library/hh403491 • MSDN – SQL Server High Availability Solutions • http://msdn.microsoft.com/en- us/library/ms190202.aspx#RecommendedSolutions
  • 46. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.