Data Protection for vSphere 101: Keys to Successful Backup...

Post on 19-Jun-2020

9 views 0 download

Transcript of Data Protection for vSphere 101: Keys to Successful Backup...

Data Protection for vSphere 101: Keys to Successful Backup and Replication in a Virtual World

BCO2194

Daniel Miller, VMware, IncPooja Virkud, VMware, Inc

Agenda

2

1 Data Protection Techniques

2 Use Cases

3Product Overview

o vSphere Data Protectiono vSphere Replication

3 Using vSphere Data Protection and vSphere Replication Together

4 Best Practices

Data Protection Techniques

3

HIGH LOW

SLO

WFA

ST

Potential for Data Loss (RPO)

Tim

e to

Rec

over

(R

TO)

SynchronousReplication

TapeBackup

AsynchronousReplication

Snapshots

DiskBackup

How much data can you afford to lose?

How long can you afford to be without the data or service?

Data Protection Use Cases

4

RTO Typical RPO Retention Use Cases

Synchronous Replication

Sub-minute/instant

Zero data loss None • Live migration• High availability• Application mobility

Asynchronous Replication

Minutes to hours Minutes to hours Days • HW failure• Site/disaster recovery• Planned migration• Corruption/data loss

SnapshotsSeconds to

minutesMinutes to hours Days • Test/dev/lab

• Cloning• Patching/maintenance• Corruption/data loss

Backup

Hours DailyWeeklyMonthlyYearly

Months+ • Corruption/data loss• File recovery• Long-term retention• Compliance• Application integration

Virtual Machine Snapshots

• Captures state and data of a virtual machine at a specific point-in-time

• Allows rapid return to VM state and data (at specific point-in-time)

5

Virtual disk files.vmdk

Snapshot

vSphere• Sits in I/O path and causes I/O impact

• Consumes disk space: can impact other VMs hosted on that storage device

• High risk of data loss: if you lose the VM, you lose the snapshot

• No item-level recovery or application-awareness without a backup application

Handle with Care!

vSphere Data Protection Advanced 5.8Simple, Efficient Backup and Replication with Predictable Recovery

vSpherededuplicated data

VMFS, NFS, VSANstorage

VDPAdv

What is it?• vSphere Data Protection is a backup and

replication solution for simplifying and optimizing data protection in vSphere environments

Key Features• Agent-less, disk-based virtual machine backups• Application-aware, granular, agent-based data

protection for physical and virtual applications• End-to-end integration with vSphere and

managed through vSphere Web Client• Single-step recovery• Self-service File-Level Recovery• Powered by EMC Avamar

Quick to setup, Easy to use

• Deploy as a virtual appliance

• Manage backup and replication through vSphere Web Client

• Automatic VM discovery

• Wizard-driven

• Single-step recovery

• Self-service File-Level Recovery (FLR)

Application Awareness for Mission-Critical AppsBackup for Virtual and Physical Applications

In VDP Advanced Only• Agents for Exchange, SQL, SharePoint

• Database-level backup and recovery for Exchange, SQL, SharePoint

• Mailbox-level recovery for Exchange

• Backup for non-virtualized Exchange, SQL, SharePoint apps

• Support for MS Exchange DAGs, SQL Server Clusters

Key Benefits• Application consistency

• Client-side deduplication

• Granular backup and restore

• Log management

vSphere

Virtual

Physical

New in 5.8

New in 5.8

8

Local Data Protection + Offsite Backup Replication

Replicate backup data offsite• Target can be VDP Advanced or EMC Avamar

Restore Anywhere• Access and restore replicated backups at either

primary or DR site

Save network bandwidth costs• Patented deduplication provides network-efficient

replication• No need to configure, manage or pay for WAN

accelerators!

Keep data secure• Data in-flight is encrypted

24 Hour RPO

Site A

Site B

New in 5.8

New in 5.8

VDPAdv

VDPAdv

9

Shorten Backup Windows Using Proxies

10

• External proxies allow up to 24 simultaneous backup workstreams

• Use SCSI-Hot Add for network-efficient, low-impact data transferCLUSTER 1

vSphere

CLUSTER 2

vSphere

CLUSTER N

vSphere

VDPAPROXY

VDPAPROXYVDPA

PROXY VDPA

Less data transferredLess data transferred

. . .

CLUSTER 1

vSphere

CLUSTER 2

vSphere

CLUSTER N

vSphere

. . .

VDPA

New in5.8

New in5.8

Backup vCenter Server

11

vSphere

VDPvCenterServer

VM

All vCenter Server components installedon same virtual machine

vSphere

VDPvCenterServer

VM

All vCenter Server components installedacross multiple virtual machines

vCenterServer

DB

1 Create & schedule backup job containing standalone vCenter Server VM

1 Create separate backup jobs for each vCenter VM

2 Schedule each job in a sequence (database VM, server VM, inventory service VM ..etc.)

3 Ensure each job follows same schedule (daily, weekly, monthly)

4 Perform app-consistent backup for database VM

Recover vCenter Server via ‘Emergency Restore’

12

1 Perform “Emergency Restore” of each vCenter Server VM

4 Check that VDP is accessible via the Web Client

3 Power on VMs in order of (SSO, Web Client, Inv Service, DB, Server Service)

2 Login to host using vSphere Client

vSphere Replication

13

Hypervisor-based Asynchronous Replication

vSphere

Site A (Primary)

vSphere

Site B (Recovery)

vSphere Replication

15-minute RPO and multiple point-in-time recovery

15-minute RPO and multiple point-in-time recovery

Enables replication between

heterogeneousdatastores

Enables replication between

heterogeneousdatastores

Quiesce Windows and Linux machinesQuiesce Windows

and Linux machines

Snapshot-less replication

minimizes impacton VM workloads

Snapshot-less replication

minimizes impacton VM workloads

Cloud DR to vCloud Air

Cloud DR to vCloud Air

SAN Virtual SANDatastore

NASVirtual SANDatastore

• Full/initial Sync– Start fresh or with seed via physical media– Compares disk IDs– Calculates checksum of all blocks at source & target– Exchanges and compares checksums to determine delta– Replicates all changed blocks necessary to align virtual

disks

• Delta sync– Writes tracked by vSCSI filter driver, which is part of the

ESX host– Tracks new blocks as they are written– Bitmap of changed blocks is maintained between

replications – Each replica corresponds to a lightweight delta– During a sync changed blocks are read and sent to the

target– No VM stun & very little IO penalty

vSphere Replication – How it Works

14

What’s New in vSphere Replication

15

Enhanced ReportingNew in

5.8New in

5.8

vCenter Site Recovery Manager (SRM)Automated Disaster Recovery Orchestration

vSphere

vCenter Server Site RecoveryManager vCenter Server Site Recovery

Manager

vSphere

Production Site Recovery Site

Servers Servers

vSphereReplication

Solution Description• SRM is the industry-leading disaster recovery

automation solution for vSphere environments

Key Features• Centralized recovery plans for thousands of VMs• Non-disruptive recovery testing• Automated DR workflows • Integrated with the VMware product stack

Key Benefits• Lowers the cost of DR management by 50% or more• Eliminates complexity and risk of manual processes• Enables fast and highly predictable RTOs• Provides policy-driven DR control for any virtualized app

* Disaster Avoidance

What’s New in vSphere Replication

17

Disaster Recovery to the Cloud

US East Region

US West Region

• US – Nevada• US – Virginia• US – Texas• US – California• EU – United Kingdom

Description

Benefits

Secure replication via an encrypted connection or a dedicated line into the cloud

Pre-packaged (warm) standby capacity on vCloud Air

Self-service protection, failover and failback workflows per VM

Test failover in the cloud

15 min. – 24 hr. recovery point objective (RPO)1

Support for data seeding (ODT)

Primary Site

vCloud Air, Recovery Site

Lower CAPEX for DR site

Self-service protection, failover and failback workflows per VM

Production-level support

What’s New in vSphere Replication

• Inputs for– Change rate– Packet loss– Latency– Average VM size– Capacity utilization

• Solve for– RPO– # of VMs– Network bandwidth

• Use with capacity planning fling

CONFIDENTIAL 18

Sizing Tool

vSphere Data Protection and vSphere Replication – Use Cases

19

RTO RPO Use CasesvSphere

ReplicationMinutes 15 minute to 24

hour intervals• Disaster recovery & testing• Planned migration• HW failure• Logical corruption

vSphere Data Protection

Hours Daily intervals • Local/remote recovery• Long-term retention• Compliance• Application consistency• Granular recovery

vSphere

VDP/VDPA Dedupe Store

vSphere

Primary Site DR site

VDP/VDPA Backup

vSphereReplication

VDP/VDPA Dedupe Store

VDP/VDPA Replication

Protecting the same VMs with both vSphere Data Protection and vSphere Replication

• Leverage the VDPA agents for application consistency

• Disable quiescing with vSphere Replication

CONFIDENTIAL 20

• Only use required RPOs

• Disable MPIT on VR if not required

• Avoid replicating with both products unless absolutely necessary

Impact of RPO on Data Transferred

21

10min RPO 60min RPO

10min

Base

Choosing the Right Product

22

HIGH LOW

SLO

WFA

ST

Potential for Data Loss (RPO)

Tim

e to

Rec

over

(R

TO)

SynchronousReplication

TapeBackup

AsynchronousReplication

Snapshots

DiskBackup

vSphereData

Protection

vSphereReplication

• vSphere Data Protection– RPO: >24 hour– RTO: hours– Retention: Days to months– Application consistency– Self-service file recovery– Protection of vSphere infrastructure

• vSphere Replication– RPO: <24 hours– RTO: minutes– Retention: hours– Full site recovery w/SRM– Cloud DR w/vCloud Air

22

Related VMworld Sessions

23

Data Protection and Replication

Data Protection with VDP Advanced –BCO1454

- Technical Deep Dive- Best Practices

Tuesday 8/26 at 1:00 PM

Data Protection for Virtual SAN –STO3354Tuesday 8/26 at 11:00 AM

Site Recovery Manager and vSphere Replication – BCO2629

- Technical Deep Dive- What’s New

Wednesday 8/27 at 10:00 AMThursday 8/28 at 12:00 PM

Disaster Recovery

Customer Panel: Disaster Recovery Lessons from Real ImplementationsMonday 8/25 at 5:00 PM

Site Recovery Manager and vCloud Automation Center: Self-service DR Protection - BCO1893Tuesday 8/26 at 1:00 PMThursday 8/28 at 1:30 PM

Site Recovery Manager and Stretched Storage: Tech Preview of a New Approach to Active-Active Data Centers – BCO1916Tuesday 8/26 at 2:00 PMWednesday 8/27 at 8:30 AM

Thank You

Fill out a surveyEvery completed survey is entered

into a drawing for a $25 VMware company store gift certificate

Data Protection for vSphere 101: Keys to Successful Backup and Replication in a Virtual World

BCO2194

Daniel Miller, VMware, IncPooja Virkud, VMware, Inc