You are on page 1of 22

AlwaysOn Availability Groups

Reeves Smith
Principal Architect
Macer Consulting

Thanks to our Sponsors!

Focused on Business Intelligence and Data Warehousing with SQL Server for the past 11 years. reeves.linkedin. Currently holds a Microsoft Certified Master of SQL Server 2008 and a Microsoft Certified Solutions Expert in Business Intelligence and Data .com @sqlreeves http://reevessmith.Who am I Reeves Smith Principal Architect at Macer Consulting in Denver Colorado with over 17 years of SQL Server experience.wordpress.smith@macerconsulting.

Who are you  Worked with SQL Server?  Who are the DBAs?  Worked with Log Shipping?  Worked with Mirroring?  Worked with Clustering?  Worked with Availability Groups? .

Agenda  Introduction to HA/DR  Introduction to AlwaysOn  Requirements  Benefits  Demo  Questions  References .

Introduction  Why would we want an AlwaysOn Availability Groups? Provide both High Availability and Disaster Recovery with one technology  High Availability (HA) Availability within a datacenter  Disaster Recovery (DR) Availability across data centers .

Protection Levels  Instance Level  Failover Clustering  Database Level  Log Shipping  Database Mirroring*  Availability Groups  Table\Data Level  Replication * Deprecated in SQL Server 2012 .

HA & DR Prior to SQL Server 2012 .

Challenges  Multiple Features for Complete Solution  Active-Passive with Failover Clustering  Mirroring only Supports one Database Failover  Secondary Not Available for Reporting .

Introduction to AlwaysOn  What is AlwaysOn? Group of technologies within SQL Server that include:  AlwaysOn Failover Cluster Instances (FCI)  AlwaysOn Availability Groups (AG) Misconceptions  AlwaysOn ≠ Availability Groups  Availability Groups ≠ Database Mirroring  AlwaysOn is not Always On .

Introduction .Compare  AlwaysOn Failover Cluster Instances (FCI) • Instance Level Solution • Shared Storage • Single Data Center*  AlwaysOn Availability Groups (AG) • Database Level Solution • No Shared Storage • Multiple Data Centers * Without other supporting technologies .

AlwaysOn Availability Group Concepts Availability Group A set of databases that fail over together. . A database that belongs to an availability group.

Requirements  Windows Server 2008 Enterprise Edition  Windows Server Failover Cluster (WSFC)  Not a Clustered install of SQL Server  SQL Server 2012 Enterprise Edition  Enable HADR within SQL Server  Databases must run in Full Recovery Mode  Does NOT Need Shared Storage/Disks .

per AG  Supports up to 5 Asynchronous Replicas. per AG  Replicas can be used for Read Only Access  Backups on Secondary Replicas  Automatic Failover  Read Only Routing .Benefits  Supports up to 5 Secondary Replicas  Supports up to 3 Synchronous Replicas. per AG  Supports up to 2 Automatic Failover Pairs.

HA & DR with SQL Server 2012 + .

Flexible Solutions Synchronous Asynchronous Backups Synchronous Reporting .

Demo Environment .

Demo .

application?eng=SQL&auth=none&src=SQL&altadd=true&labid=8255  Implementing and Managing AlwaysOn Availability Groups (SQL 210)  How do I get started? Online) .com/Software/holLaunchPadOnline/holLaunchPadOnline.aspx  Introduction to SQL Server 2012 AlwaysOn Availability Groups (SQL 200) http://online.application?eng=SQL&auth=none&src=SQL&altadd=true&labid=8265 * Note: the above URLs launch an application (holSystems. server-book-ordering-information-and-faq/ *Release date: Feb 2014 .References – Books  SQL Server 2012 AlwayOn Joes 2 Pros By Balmukund Pros%C2%AE-ebook/dp/B00EBIXHHA/ref=sr_1_sc_1  Mission Critical SQL Server* By Allan Hirt http://www. Vinod Kumar

Blogs  SQL AlwaysOn Team Blog .References .com/sql/sql-server-alwayson-availability-groups/  Allan Hirt’s Blog  Joe Sack’s Blog  Brent Ozar’s Blog http://www.brentozar.

Thanks .