implementing a holistic bc/dr strategy with vmware · strategy with vmware roberto barbero solution...

42
© 2014 VMware Inc. All rights reserved. Implementing a Holistic BC/DR Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014

Upload: others

Post on 25-Jul-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

© 2014 VMware Inc. All rights reserved.

Implementing a Holistic BC/DR Strategy with VMware

Roberto BarberoSolution ArchitectVMware vForum, 2014

Page 2: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

What’s on the agenda?

• Defining the problem

• Definitions

• VMware technologies that provide BC and DR

– vSphere HA and App HA

– vSphere FT

– vSphere Data Protection / Advanced

– vCenter Availability

– vSphere Replication

– vCenter Site Recovery Manager (SRM)

– vCenter Infrastructure Navigator (VIN)

• Find out more

Page 3: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

IT Business Continuity

Page 4: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Is It a Real Problem?

Page 5: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Is It a Real Problem?

Page 6: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Is It a Real Problem?

UK Bank group

An outage in June 2012 affected millions of

customers from receiving or making

payments and lasted for almost an entire

week.

£125 Million

Page 7: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

What’s the Difference?

Disaster

Avoidance

Disaster

Recovery

Planned vs.

Unplanned

Page 8: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Disaster Recovery vs. Business Continuity

Example: Tuesday, August 23, 2011 at 1:51 PM EDT - Magnitude 5.8 earthquake near Mineral, Virginia

Disaster recovery required?

No

Interruption to business continuance?

YES!

Page 9: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Fault Tolerance vs. High Availability

• Fault tolerance

– Ability to recover from component loss

– Example: Hard drive failure

• High availability

Uptime percentage in one year Downtime in one year

99 3.65 days

99.9 8.76 hours

99.99 52 minutes

99.999 “five nines” 5 minutes

X

Page 10: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

RTO, RPO, and MTD

• Recovery Time Objective (RTO)

– How long it should take to recover

• Recovery Point Objective (RPO)

– Amount of data loss that can be incurred

• Maximum Tolerable Downtime (MTD)

– Downtime that can occur before significant loss is incurred

– Examples: Financial, reputation

Page 11: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Making an Application Service Highly Available

• vSphere HA

• NEW: vSphere App HA

Page 12: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

VMware vFabric™ tc Server

vSphere App HANew

Policy-based

Protect off-the-shelf apps

Page 13: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere App HA

vSphere HA Cluster

vFabric Hyperic

Virtual Appliance

vSphere App HA

Virtual Appliance

Hyperic Agents

Running in VMs

vCenter

Server

vSphere vSphere vSphere vSphere

New

Page 14: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere App HANew

Page 15: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere HA – Keep In Mind…

• RTO – measured in minutes (not seconds)

• Requires shared storage

• Best practices

– Use admission control – percentage policy

– Test post-failure performance with host maintenance mode

– Isolation response – leave powered on

– Network and storage redundancy

Page 16: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere Fault Tolerance (FT)

• Zero recovery time, data loss

– Host hardware failure only

– Does not protect against OS and application failure

• Works fine with HA, App HA

• Why not FT?

– Resource requirements – does workload really need it?

– VM has multiple CPUs

– No VM snapshots – backups require agent

Page 17: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Data Protection (Backup and Restore)

• Agents? No Agents? – Both!

– No agents for majority of workloads – keep it simple

– Agents for certain apps

• vSphere Data Protection (VDP) Advanced

– Backup and recovery for VMware, from VMware

– Based on proven, mature EMC Avamar™

– Agent-less VM backup and restore

– Agents for granular tier-1 application protection

Page 18: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere Data ProtectionNew

Page 19: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

VDP Advanced – Keep In Mind…

• Engineered for SMB environments

• Uses VADP – VM snapshots, CBT

• Utilizes Windows VSS in VMware Tools

• Works fine with HA, not with FT

• RDM – virtual yes, physical no

• Is it DR?

– Maybe – depends on RTO, RPO

– Needs replication offsite, right?

Page 20: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

VDP Advanced – Keep In Mind…

• Best Practices

– Prepopulate DNS, always use FQDN

– Manage VM snapshots

– Avoid deploying to slow storage

– Do not power-off, always shut down gracefully

– Do not schedule backups during maintenance window

Page 21: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vCenter Availability

• Run vCenter Server application in a VM

• Run vCenter Server database in a VM

• Run both in same VM?

• Protect with vSphere HA

– vCenter and DB VM restart priority set to High

– Enable guest OS and App monitoring

• App HA can protect SQL Server database

Page 22: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vCenter Availability

• Back up vCenter Server VM and database

– Image-level backup for vCenter Server VM

– App-level backup using agent for database backup

• Why not FT for vCenter Server?

– vCenter Server requires minimum of 2 vCPUs

– FT does not protect against application failure

• Replicate vCenter Server, database VMs?

Page 23: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere Replication – DR

• Native tool built into the platform

• Per-VM hypervisor replication, managed in VC

Selectable RPO from 15 min up

to 24 hours

Selectable destination

datastore (Disk-type agnostic)

Page 24: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Replication Across Sites

vCenter Server

ESXi

NFC

VRA

ESXi

NFC

VRA

ESXi

NFC

VRA

StorageStorage

(VMDK1)

vCenter Server

ESXi

NFC

VRA

ESXi

NFC

VRA

ESXi

NFC

VRA

VR

ApplianceVR

Appliance

StorageStorage

VMDK1

vCenter Server vCenter Server

Page 25: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Four Steps for Full Recovery

Right-click, select “Recover”

Select a target folder

Select a target resource

Click Finish

Will validate your choices as you go

Page 26: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

New Feature – Retain Historical Replicas

vSphere

VR Agent

After recovery, use the snapshot manager to revert

to earlier points

Retention of

multiple points

in time allows

reversion to

earlier known

good states

Page 27: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

MPIT Presented as VM Snapshots after Failover

Use the snapshot manager to revert to earlier points, an interface

all administrators have been comfortable with for many years.

Page 28: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere Replication – Interoperability

Fault tolerance –

Doesn’t work with VR

• FT conflicts at the

vSCSI disk filter level.

VDP

• Mostly no problem!

• If using VSS… ensure

you are using 5.5!!

HA, vMotion, DRS

Storage vMotion

and Storage DRS

• Now supported!

Page 29: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

SRM

• A Disaster Recovery engine

• A tool that uses externally replicated data (VR or array based) to speed the RTO of a BCP

• A product that allows for DR to be tested, automated, planned, repeatable and customizable

What is it?

• A replication engine

• A tool for systems that need near-instant RPO

• A disaster avoidance stretched cluster

What is it not?

Page 30: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Key Components of SRM

Replication

vCenter Server

SRM Server

One vCenter Server

(Windows or VCVA) per

site, same versions

One SRM Server per

site, same versions

vSphere hosts,

recommend same

versions per site (pre

vSphere 5.x only if using

array replication)

vSphere Essentials Plus and higher editions supported

vCenter Server

Page 31: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

SRM Replication Options

• SRM can utilize BOTH array based

AND vSphere Replication

• SRM will “see” existing standalone

vSphere

Replication protected VMs

• SRM can install vSphere

Replication from scratch

if needed

HubLUN 2

Web

Multi-tier App

DB

App

vSphere Replication

Storage-based Replication

LUN 1

Web

DB

App

Multi-tier App

Page 32: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Recovery Workflows

• User defined recovery plan

• Minimize errors

Failover Automation

• Isolated test environment

• Increase confidence in DR process

Non-disruptive Failover Testing

• Zero data loss

• Operational migration

Planned Migration

• Re-protect VM’s, migrate back

Failback Automation

Page 33: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

SRM Interoperability

• Works with VR –and- ABR

• Backups, VADP or other

are fine

• HA is no problem at all

• vMotion and DRS are fine

• Storage vMotion and

Storage DRS – Sort of…

– Replication Dependent

• FT is “yellow”

– Array replicated only and the

FT status is not recovered

• Web vs vSphere Client

Page 34: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

SRM – A Few Best Practices

Big ones:

Storage Layout

Test Network Configuration

Test often!

Size vCenter correctly

Biggest one:

Do a Business Impact Analysis

RPO, RTO, Cost of downtime, interdependencies, criticality of applications, priorities, units of failover, overlooked externalities, executive buy-in, …..

Page 35: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Protection Groups (PGs)

• More PGs = more granular testing/failover

– DR testing is easier – fewer resource requirements

– Fail-over only what is needed

– More configuration/complexity

• Less protection groups = less complex

– Fewer LUNs, PGs, recovery plans

– Less flexibility

Fewer LUNs/PGs

Less complexity

Less flexibility

More LUNs/PGs

More complexity

More flexibility

Majority of outages

are partial (not entire

data center) – design

accordingly

Page 36: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Test Network

– Use VLAN or isolated network for test environment

• Default “Auto” setting does not allow VM communication between hosts

– Different vSwitch can be specified in SRM for test versus run

• Specified in Recovery Plan

Page 37: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

vSphere Infrastructure Navigator

Page 38: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

VMware – Multiple Levels of Protection

SQL

vSphere HA/FT

Site A

Page 39: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

VMware – Multiple Levels of Protection

SQL

vSphere HA/FT

VDPA

Site A

Page 40: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

VMware – Multiple Levels of Protection

SQL

vSphere HA/FT

VR/SRMSQL

VDPA

Site A Site B

Page 41: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Find Out More

• Take an online hands on lab

• Ask for a demo

• Install 60-day evaluation

http://labs.hol.vmware.com/

Page 42: Implementing a Holistic BC/DR Strategy with VMware · Strategy with VMware Roberto Barbero Solution Architect VMware vForum, 2014. ... – Backup and recovery for VMware, from VMware

Thank You