cost effort complexity benefit on-premises service provider microsoft azure consistent platform 1
TRANSCRIPT
Building Disaster Recovery Plans with Azure Site Recovery, Hyper-V Replica, SQL Always ON and Desired State ConfigurationAbhishek Agrawal, Senior Lead Program Mgr.Hemant Mahawar, Senior Program ManagerRyan Sokolowski, Senior Program Manager
DCIM-B377
Overview of DR technologies for Cloud OS: Azure Site Recovery (formerly Hyper-V Recovery Manager), Hyper-V Replica, SQL Always On
Understand how Hyper-V Replica & SQL Always On complement each other
Learn how to create a Recovery Plan in Azure Site Recovery for
multi-tiered SQL apps
Learn about PowerShell Desired State Configuration and using it for Application Recovery post failover
Session Objectives
Overview of DR Technologies
Traditional Business continuity Solutions
Cost
Effort
Compl
exity
Benefit
Minimal downtimeMinimal data lossFast orchestrated RecoveryDeterministic, automated re-configuration for app recoveryLow TCO secondary site
DR needs for a Modern Datacenter
Hyper-V Compute
Storage Networks
SQL
IISApps
VM Replication with Hyper-V Replica
SQL Always ON
DR Orchestration
with
Azure Site Recovery
+
PowerShell DSC
Microsoft’s Cloud OS DR Stack
Clustering/Storage Replication
Microsoft’s Cloud OS DR Stack
Hyper-V Replica
SQL Always On
Azure Site Recovery
PowerShellDSC
Replication OrchestrationMonitoring
App Configuration
ON-PREMISES
SERVICE PROVIDERMICROSOFT
Azure
CONSISTENTPLATFORM1
Demo:Hyper-V ReplicaSQL Availability Group
Hyper-V Replica OverviewIn-Box Hyper-V VM Replication
Near Sync support, low RPO of 30 secs
Storage Agnostic
Support for DR scenario (Planned, Unplanned, Test Failover)
Tertiary Replication Support
New: Near Sync Replication to Azure (via Azure Site Recovery)
Multi-database Failover across SQL Server Instances
Multiple secondary copies (4/8)
Sync (max 2) / Async support
Available in SQL 2012 and SQL 2014
Supports Site-to-Site or Site-to-Azure IaaS VM
No shared storage needed
Fast Manual/Automatic Failover
PowerShell Support
SQL Always On Availability Groups
At Scale Protection ConfigurationAutomatically enable replication of virtual machines in VMMCross site Configuration with network and storage mappingAzure based Recovery Plans for DR orchestration
Test Failover support for Recovery Plans
Remote monitoring for DR protection
PowerShell integration in Recovery Plans
Azure Site Recovery Overview
DR Orchestratio
n
DR
Orchest
ratio
n
Primary Site
Azure Site Recovery Overview
Secondary Site
Hyper-V Replica / SQL Always On
Azure Site Recovery
SCVMM
Compute
Storage
Networks
DRP
SMI-S Provider
Microsoft Azure
Service Provider
Private Cloud
Demo:Recovery Plan with SQL Always On Integration
Ryan Sokolowski, Senior Program Manager
SQL Always On & Hyper-V Replica Better Together
Feature SQL AlwaysOn AG Hyper-V ReplicaPhysical/Virtual Both Virtual onlyType of apps Database only Application agnostic (Full
VM)Unit of failover One or more databases One or more virtual
machinesNetworking Yes (Database client to
server)Yes (IP injection, Network virtualization)
RPO Async or Sync Async only
RTO Seconds (Database recovery time)
Minutes (VM startup + SQL Server startup)
Replica State Read Only Passive (Powered Off)
SQL Always ON AG and Hyper-V Replica Side by Side
Feature SQL AlwaysOn AG Hyper-V Replica Secondary COST Compute, Storage,
License Storage only
Storage agnostic Yes YesCross-domain Support
No Yes
Replication Compression
Yes Yes
Replication Encryption
Yes Yes
Secondary replicas SQL Server 2012: 4 (Fan-out)SQL Server 2014: 8 (Fan-out)
Win 2012: 1 Win 2012 R2: 2 (chained)
Replication to Azure Yes (SQL Server 2012+) Yes, Announced at TechEd NA 2014!
SQL Always ON and Hyper-V Replica Side by Side
DR Orchestration
DR
Orchestratio
n
DR Orchestration for SQL Apps: Tier1, Site to Site
Hyper-V Replica
Azure Site Recovery
SQL Availability Group
App Front End
SQL Backend
Primary Site Secondary Site
DR Orchestration
DR
Orchestratio
n
DR Orchestration for SQL Apps: Tier1, Site to Azure
Hyper-V Replica
Azure Site Recovery
SQL Availability Group
App Front End
SQL Backend
Primary Site Azure
Azure Storage
IaaS VM
DR Guidance for Multi-Tier SQL Apps (Tier1)Workload Type SQL Tier App
TierSQL Tier DR Recommendation
App Tier DR Recommendation
DR Orchestration Recommendation
Tier 1 Workload/Business Critical
Physical/Clustered
Physical SQL Always On Availability Groups
Storage DR/Active App Tier on Secondary
PowerShell Scripts
Tier 1 Workload/Business Critical
Physical/Clustered
Virtual SQL Always On Availability Groups
Hyper-V Replica Azure Site Recovery
Tier 1 Workload/Business Critical
Virtual/Clustered
Virtual SQL Always On Availability Groups
Hyper-V Replica
DR Orchestration
DR
Orchestratio
n
DR Orchestration for SQL Apps: Tier2, Site to Site
Hyper-V Replica
Azure Site Recovery
Hyper-V Replica
App Front End
SQL Backend
Primary Site Secondary Site
Local SQL AG
DR Orchestration
DR
Orchestratio
n
DR Orchestration for SQL Apps: Tier2, Site to Azure
Hyper-V Replica
Azure Site Recovery
Hyper-V Replica
App Front End
SQL Backend
Primary Site Azure
Local SQL AG
Azure Storage
DR Guidance for Multi-Tier SQL Apps (Tier2)Workload Type
SQL Tier App Tier SQL Tier DR Recommendation
App Tier DR Recommendation
DR Orchestration Recommendation
Tier 2 Workload Virtual/Clustered
Virtualized Hyper-V Replica Hyper-V Replica Azure Site Recovery
Tier 2 Workload Virtual/Stand-alone
Virtualized Hyper-V Replica Hyper-V Replica
Planned Failover/FailbackShutdown App TierFailover Availability Group using SQL AlwaysOn PowerShell ScriptsAG listener redirects to new primaryFailover of App Tier via Hyper-V ReplicaUpdate App DNS via Script
Test FailoverTest Failover App Tier in an isolated network with a bridge to SQL networkTest App via a client within private networkUse read-only SQL Secondary to perform Read Test
Failover Guidance
SharePointConfig DB and Admin DB needs to be sync replicatedContent DB can be async replicatedFront-End and Application Tier can be Hyper-V Replica protected
Dynamics, CRMDatabase can be protected using SQL Always On Availability GroupFront-End and Application Tier can be Hyper-V Replica protected
BIZTALK ServerDoes not work with SQL Always On AG due to multi-database transactionsCreate customized Azure Site Recovery Plan with BIZTALK Log Shipping
*Detailed Recovery Plan guidance to be published shortly
Workload Specific Suggestions*
Application Recovery with PowerShell Desired State Configuration
Hemant Mahawar, Senior Program ManagerWindows PowerShell
Reconfiguration is tedious and error-proneSubnet, IP, firewall rules, DNS, permissions, share/resource access, Capacity availability
Contributes to higher RTO
Current solutions are expensive and do not scale in a cloud era
DR is the biggest configuration change for an Application
Future beckons us with…..
….. PowerShell Desired State Configuration
PowerShell Progression …
Life in the Cloud bigger scale and faster cadence
Scale * Complexity >> Skills Change is Primary cause of outage
Rapid change, at scale with, constant failures
DSC scales, simplifies complexity and can auto-correct
Why Desired State Configuration
DSC Leverage
Traditional Scripts
Intent
Logging & Error
Handling
Reboot Resiliency
Technology Specific
Dependency Resolution
Repeatable
Automation
DSC Engine
Dependency ResolutionLogging & Error
HandlingReboot Resiliency
Repeatable Automation
ResourcesTechnology Specific
ConfigurationIntent
Make It SoHOW : DSC Resources
Do the heavy lifting in an idempotent way
IntentWHAT : Structural Configuration
Stays same irrespective of the environment
WHERE : Environmental Configuration Changes as system goes from Dev Test Prod
Recovery
DSC Decouples …
Configuration Management Platform for Windows
Simplify configuration
Enable continuous deployment
Prevent configuration drift
PowerShell Desired State Configuration
Deterministic, automated re-configuration of Application post failover
Recovery configuration should be identical to primary
Recovery side environment should be captured in a Recovery side Environment File
Recovery Configuration Requirements
Demo:DSC with Azure Site Recovery
Deterministic, automated re-configuration of Application post failover
MOF file provides documented evidence of what change got applied
Scales with Cloud deployments while keeping RTO low
We are just getting started. As DSC adoption grows, ASR will be there to leverage it
Azure Site Recovery with DSC
Overview of DR technologies for Cloud OS: Azure Site Recovery (formerly Hyper-V Recovery Manager), Hyper-V
Replica, SQL Always On
Understand how Hyper-V Replica & SQL Always On complement each other.
Learn how to create a Recovery Plan in Azure Site Recovery for multi-tiered SQL apps
Learn about PowerShell Desired State Configuration and using it for Application Recovery post failover
Session Objectives
DCIM-B322 Implementing Enterprise-Scale Disaster Recovery with Azure Site Recovery, Network Virtualization, and Microsoft System Center 2012 R2
DCIM-B324 PowerShell Desired State Configuration and DevOps in Microsoft Azure
DCIM-B319 Building a Backup Strategy for Your Private Cloud
DBI-B314 CAT: Microsoft SQL Server High Availability and Disaster Recovery in Microsoft Azure
Related content
Find us Later At Business Continuity/PowerShell Booth
http://azure.microsoft.com/en-us/services/recovery-manager/
Track resources
http://technet.microsoft.com/en-us/library/dn249912.aspx
Come Visit Us in the Microsoft Solutions Experience!
Look for Datacenter and Infrastructure ManagementTechExpo Level 1 Hall CD
For More InformationWindows Server 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205286
Windows Server
Microsoft Azure
Microsoft Azurehttp://azure.microsoft.com/en-us/
System Center
System Center 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205295
Azure PackAzure Packhttp://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack
Resources
Learning
Microsoft Certification & Training Resources
www.microsoft.com/learning
msdn
Resources for Developers
http://microsoft.com/msdn
TechNet
Resources for IT Professionals
http://microsoft.com/technet
Sessions on Demand
http://channel9.msdn.com/Events/TechEd
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.