Hyper-V Replica. Aidan Finn



Similar documents
Scale-Out File Server. Subtitle

AUTOMATED DISASTER RECOVERY SOLUTION USING AZURE SITE RECOVERY FOR FILE SHARES HOSTED ON STORSIMPLE

High Availability (HA) Aidan Finn

Building disaster-recovery solution using Azure Site Recovery (ASR) for Hyper-V (Part 1)

Live Migration. Aidan Finn

Rethink Disaster Recovery with Microsoft

70-414: Implementing a Cloud Based Infrastructure. Course Overview

Windows Server 2012 Hyper-V Installation and Configuration Guide

Microsoft Hyper-V Replica for Disaster Recovery

Introduction to Hyper-V High- Availability with Failover Clustering

Implementing a Holistic BC/DR Strategy with VMware

Virtualizing your Datacenter

DeltaV Virtualization High Availability and Disaster Recovery

Course Outline: Course Configuring Advanced Windows Server 2012 Services

Configuring Advanced Windows Server 2012 Services MOC 20412

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Hyper-V Replica Broker Configuration Lab By Yung Chou, Microsoft Platform Evangelist,

Data Backup Options for SME s

Quorum DR Report. Top 4 Types of Disasters: 55% Hardware Failure 22% Human Error 18% Software Failure 5% Natural Disasters

MS Configuring Advanced Windows Server 2012 Services

Cool New Hyper-V Features in Windows Server 2012 R2. Aidan Finn

Hyper-V backup implementation guide

Hyper-V Replica Essentials

Course 20412A: Configuring Advanced Windows Server 2012 Services

Configuring Advanced Windows Server 2012 Services Course 20412

vcloud Air Disaster Recovery Technical Presentation

You need to recommend a monitoring solution to ensure that an administrator can review the availability information of Service1. What should you do?

Configuring Advanced Windows Server 2012 Services

Powering the Next Generation Cloud with Azure Stack, Nano Server & Windows Server 2016! Jeff Woolsey Principal Program Manager Cloud & Enterprise

M6422A Implementing and Managing Windows Server 2008 Hyper-V

Course Outline. Course 20412B: Configuring Advanced Windows Server 2012 Services. Duration: 5 Days

SQL Server 2012/2014 AlwaysOn Availability Group

Hyper-V Cloud Practice Builder. Disaster Recovery Using DPM 2010

Configuring Advanced Windows Server 2012 Services

Virtual Infrastructure Security

Windows Server 2008 R2 Hyper-V Server and Windows Server 8 Beta Hyper-V

Hyper-V Networking. Aidan Finn

High Availability with Windows Server 2012 Release Candidate

How To Use Vcenter Site Recovery Manager 5 With Netapp Fas/Vfs Storage System On A Vcenter Vcenter 5 Vcenter 4.5 Vcenter (Vmware Vcenter) Vcenter 2.

DR-to-the- Cloud Best Practices

Microsoft Windows Server 2008: MS-6422 Implementing and Managing Hyper V Virtualization 6422

What s new in Hyper-V 2012 R2

Bosch Video Management System High Availability with Hyper-V

Windows Server 2008 R2 Hyper-V Live Migration

CompTIA Cloud+ 9318; 5 Days, Instructor-led

Index C, D. Background Intelligent Transfer Service (BITS), 174, 191

Cloud Computing Disaster Recovery (DR)

CompTIA Cloud+ Course Content. Length: 5 Days. Who Should Attend:

Security. Environments. Dave Shackleford. John Wiley &. Sons, Inc. s j}! '**»* t i j. l:i. in: i««;

Real-time Protection for Hyper-V

Best Practices for Deploying System Center Virtual Machine Manager in Multiple Locations

MS Configuring and Administering Hyper-V in Windows Server 2012

MS 20417B: Upgrading Your Skills to MCSA Windows Server 2012

Disaster Recovery Solution Achieved by EXPRESSCLUSTER

Windows Server Failover Clustering April 2010

70-412: Configuring Advanced Windows Server 2012 Services

VMware vcloud Air - Disaster Recovery User's Guide

Grade Disaster Recovery with Azure Site

Part2 Hyper-V Replica and Hyper-V Recovery Manager. Datacenter Specialist

Lab : Planning and Implementing a Virtual Machine Deployment and Management Strategy

Disaster Recovery of Tier 1 Applications on VMware vcenter Site Recovery Manager

VMware vsphere Data Protection

Enterprise Storage Solution for Hyper-V Private Cloud and VDI Deployments using Sanbolic s Melio Cloud Software Suite April 2011

MS-10215: Implementing and Managing Microsoft Server Virtualization. Course Objectives. Required Exam(s) Price. Duration. Methods of Delivery

Implementing and Managing Windows Server 2008 Hyper-V

MS Implementing an Advanced Server Infrastructure

A SWOT ANALYSIS ON CISCO HIGH AVAILABILITY VIRTUALIZATION CLUSTERS DISASTER RECOVERY PLAN

Server Virtualization with Windows Server Hyper-V and System Center

Server-Virtualisierung mit Windows Server Hyper-V und System Center MOC 20409

Implementing and Managing Microsoft Server Virtualization

Implementing an Advanced Server Infrastructure

The VMware Administrator s Guide to Hyper-V in Windows Server Brien Posey Microsoft

VMware System, Application and Data Availability With CA ARCserve High Availability

NIIT Education and Training, Doha, Qatar - Contact: /1798;

AVLOR SERVER CLOUD RECOVERY

MS-6422A - Implement and Manage Microsoft Windows Server Hyper-V

(Formerly Double-Take Backup)

Zerto Virtual Manager Administration Guide

Cookbook Disaster Recovery (DR)

10215A Implementing and Managing Microsoft Server Virtualization

Continuous Data Protection for any Point-in-Time Recovery: Product Options for Protecting Virtual Machines or Storage Array LUNs

Veeam Backup and Replication Architecture and Deployment. Nelson Simao Systems Engineer

Capability VMware Hyper-V

MCSA Instructor-led Live Online Training Program. Course Outline MCSA Deploying and Managing Windows Server 2012

Configuring a VEEAM off host backup proxy server for backing up a Windows Server 2012 R2 Hyper-V cluster with a DELL Compellent SAN (Fiber Channel)

6422: Implementing and Managing Windows Server 2008 Hyper-V (3 Days)

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

TECHNICAL PAPER. Veeam Backup & Replication with Nimble Storage

Technical Considerations in a Windows Server Environment

Implementing Microsoft Azure Infrastructure Solutions

TABLE OF CONTENTS THE SHAREPOINT MVP GUIDE TO ACHIEVING HIGH AVAILABILITY FOR SHAREPOINT DATA. Introduction. Examining Third-Party Replication Models

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

EonStor DS remote replication feature guide

AV-006: Installing, Administering and Configuring Windows Server 2012

CA ARCserve Replication and High Availability Deployment Options for Hyper-V

Implementing Microsoft Azure Infrastructure Solutions

Server Virtualization with Windows Server Hyper-V and System Center

A review of BackupAssist within a Hyper-V Environment. By Brien Posey

Transcription:

Hyper-V Replica Aidan Finn

About Aidan Finn Technical Sales Lead at MicroWarehouse (Dublin) Working in IT since 1996 MVP (Virtual Machine) Experienced with Windows Server/Desktop, System Center, virtualisation, and IT infrastructure @joe_elway http://www.aidanfinn.com http://www.petri.co.il/author/aidan-finn Published author/contributor of several books

Books System Center 2012 VMM Windows Server 2012 Hyper-V

Agenda DR basics Introducing Hyper-V Replica Adding functionality Automation Ongoing management Replica IP addressing And the answers to the inevitable questions 4

DR Basics

Some Essential Terminology Business Continuity Planning (BCP) A plan for disaster recovery Formed at the business level Includes IT s role in the plan, communications, services access, etc. Should also include long term plan for business recovery Recovery Time Objective (RTO) How long will it take to get services back online? Recovery Point Objective (RPO) How much data will be lost by bringing services online in the DR site? 6

What is Backup? A process of copying data to offline storage Think of it as an archive Best practice: Keep short-term data local Quick restoration of most Store long-term data off-site Recover from total data loss Sometimes used to restore from disasters S-l-o-w: Long RTO Infrequent restore points: Long RPO Unreliable: have you tested backups/tapes? Where are the couriers during disaster? 7

What is High Availability (HA)? An automated process Deals with infrastructure failure Example: 1. Host fails 2. Virtual machine fails over to a healthy host 3. Virtual machine starts running No human intervention Very short RPO and RTO Intended for single logical site (such as campus): Very complex and expensive to stretch to multi-site WS2012 R2 HA is not intended for DR 8

What is Disaster Recovery (DR) Replicaion? A process for replicating services & data to another location: Other side of campus Another office or data center A service provider Frequent replication Designed to get services back online very quickly Automatic invocation? Yes: Very short RTO, but risk of false positive that can cause more genuine damage than less possible disaster No: Longer RTO but allows business leaders to judge the scenario. Best practice almost all of the time. 9

Synchronous Replication Data is replicated live from production site Changes are not acknowledged until committed in both sites Requires Expensive storage Sometimes requiring additional licensing Extremely low latency on replication link (usually < 2 MS) Secondary site must be relatively close to primary site 10

Asynchronous Replication Data is replicated frequently instead of constantly Changes are acknowledged after commitment in primary site Replicated some time afterwards Benefits Cheaper storage Low latency links Allows DR site to be further away 11

Examples of Disasters Hurricane Sandy East coast USA, 2012 Typhoon **** - Phillipines, 2013 Floods Australia, **** Hurricane Katrina - USA Gulf Coast, ***** Earthquake San Francisco, 19** Fire Chemical leak 2 days running of sunshine - Ireland, any time of year 12

Every Business Should Have a BCP? Every business is at risk Why doesn t every business have DR systems? Too expensive Dark fiber networking Replicating SANs + licensing Expensive software Too complex Servers, clustering, storage & networking One of the most expensive infrastructure solutions Even large corporations have struggled How can Small/Medium Enterprises (SMEs) have a chance? SMEs have the same need to survive a disaster 13

Introducing Hyper-V Replica

Every Business Should Have a BCP? Every business is at risk Why doesn t every business have DR systems? Too expensive Dark fiber networking Replicating SANs + licensing Expensive software Too complex Servers, clustering, storage & networking One of the most expensive infrastructure solutions Even large corporations have struggled How can Small/Medium Enterprises (SMEs) have a chance? SMEs have the same need to survive a disaster 15

Hyper-V Replica A free DR replication solution built into Windows Server since 2012 Improved in 2012 R2 Replicate VMs from one site to another Asynchronous replication No extra licensing required One of the most popular features in WS2012 Hyper-V Granular control - done on a: Per VM and per virtual hard disk basis Designed for the SME but the Fortune 1000 s want it too 16

Enabling Inbound Replication Configured in Host Settings on replica host 2 types of authentication: HTTP/Kerberos: trusted networks with mutual AD authentication HTTPS/SSL: untrusted networks with no common AD Configure source hosts: Allow all authenticated hosts A single storage location for all replica VMs Fine a very small configuration, such as a lab Per source authorization Configure replica VM location on a per-source basis Enable HTTP or HTTPS HVR firewall rule 17

Replication Process You select which VMs & virtual hard disks to replicate Tip: put the guest OS paging file in non-replicated disk Hyper-V maintains a Hyper-V Replica Log (HRL) file with/for each replicated virtual hard disk Tracks changes to the virtual hard disk HRL file is swapped out at the end of each interval Old HRL is replicated (final changes only and compressed by default) New HRL continues to track changes Interval options: 30 seconds 5 minutes (only option in WS2012) 15 minutes 18

Historical Copies Not limited to just the last replication Hyper-V Replica offers another option Can retain historical copies of a VM Choose to maintain hourly copies of a VM in the secondary site You can choose to use one of the historical copies when you failover the VM in the secondary site Maybe data corruption is a part of the disaster Travel back in time 19

Test Failover Like backups, a BCP that isn t tested is worthless Educate and test Hyper-V offers a test failover process: You can configure a test virtual switch Isolate the test from production systems Creates a linked copy of replica VM Won t interfere with ongoing replications Rapidly test DR, but can also use it to do other kinds of testing 20

Unplanned Failover Used when an unexpected disaster happens: Fire Earthquake You have lost the hosts in the production site Business decides to invoke the BCP Start up VMs in secondary site Some data loss uses data from last replication interval Maximum RPO = replication frequency interval Time to get back online = time to start up VMs & services Tiny RTO 21

Planned Failover Used to avoid an expected disaster: A hurricane Flooding You act before you lose the primary site Shut down the VMs in the production site Failover VMs to secondary site Last bit of data is replicated Replication is automatically reversed! There is No data loss zero RPO Very quick failover short RTO 22

Adding Functionality

Replicating To/From Clusters Imagine the possible complexity: Configure up to 64 destination hosts Configure inbound replication for up to 64 hosts Instead, we enable the Hyper-V Replica Broker once on each cluster Configures a computer account & FQDN for each source and/or destination cluster Gives you a single configuration point & identity for each source and/or destination cluster 24

Using HTTPS No need for common AD Authenticate using X.509 certificates Can use untrusted networks Traffic encrypted using HTTPS Opens up possibilities: Service provider offering hosted DR-as-a-Service Certificate requirements: A common PKI trusted root authority and certificate revocation list (CRL) Install computer certificate for the public name of the host or Hyper-V Replica Broker Select the certificate when configuring replication 25

Extended Replication In WS2012 R2 Hyper-V you are not limited to SiteA SiteB replication You can extend replication from SiteB to SiteC Scenarios: Production in one side of campus, local DR in other side, and remote DR in another city/state Production in branch office, DR in head office, and head office has a DR site too Production on premise in SME, DR in service provider, and service provider has a DR site There is no A-B and A-C replication Extended replication = A B C replication Replication is extended from SiteB to SiteC 26

Automation

Manual Invocation How do you start the VMs after decision is made to invoke the BCP? Do you need to start VMs in specific order? Remember: the day a disaster happens will be the worst and most chaotic day of your career People might be missing or worse Staff probably will focus attention on safety of family first Executives will be screaming at you as if it s all your fault Murphy s Law A small business might be able to do this manually, but medium or larger will require process automation 28

PowerShell You can put together basic or complex automation scripts using PowerShell I have (in Windows Server 2012 Hyper-V book) a PowerShell script: Document failover configuration in a CSV file Script reads in the CSV file Starts up VMs in correct order Uses a pre-configured timeout to know when to stop waiting for a VM to start 29

System Center (Option 1) Model the failover using System Center Orchestrator Will require some clever scripting to avoid nonrecommended complex runbooks Could start a master runbook manually A service-oriented company could publish the process via Service Manager 30

System Center (Option 2) Run a production cloud and manage it using System Center Virtual Machine Manager (SCVMM) 2012 R2 Run a secondary cloud and manage it using another SCVMM 2012 R2 deployment Sign up (requires per-replicated-vm payment) Hyper-V Recovery Manager (an Azure service) Downloads agents to both SCVMM installations Manages direct site-site replication Allows you to create complex runbooks in HRM for automating failover 31

Ongoing Management

Intended Market Hyper-V Replica was designed for the SME Simple to setup and own Designed for commercial broadband (including outages) Simple to monitor Replication information is displayed in the console You can dig deep using PowerShell 33

Replica IP Addressing

VMs Useless in DR Site If Not On Network IP address virtualization Really only an option for massive corporations and telcos Stretched VLANs Simple for server admin Painful for network admins Not an option for service providers every customer using 192.168.1.0/24 Hyper Replica IP address injection OK for small implementations Might cause issues for IP-centric (not DNS) services Hyper-V Network Virtualization VM IP address (Customer Address) does not change Great for multi-tenant service providers 35

I Delayed This Long Enough

Bandwidth There is no right amount of bandwidth You need whatever is enough to replicate your change generated during the replication interval If 50 GB is created in 5 minutes, then you need to replicate 50 GB within the next 5 minutes Use the Capacity Planner For Hyper-V Replica to monitor your environment and determine needs Ideally you have dedicated line for replication traffic Alternatively, use QoS to guarantee other systems their required bandwidth to/from Internet 37

Gotchas Hyper-V Replica will not replicate: VM configuration changes (do this manually) Virtual hard disk size changes (do this manually) Passthrough disks (which are the work of the devil) iscsi or Fibre Channel LUNs that a VM connects to directly 38