Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
VMworld 2014: Data Protection for vSphere 101
1. Data Protection for vSphere 101: Keys
to Successful Backup and Replication
in a Virtual World
BCO2194
Daniel Miller, VMware, Inc
Pooja Virkud, VMware, Inc
2. Agenda
2
1 Data Protection Techniques
2 Use Cases
3
Product Overview
o vSphere Data Protection
o vSphere Replication
3 Using vSphere Data Protection and vSphere Replication Together
4 Best Practices
3. Data Protection Techniques
3
HIGH LOW
SLOWFAST
Potential for Data Loss (RPO)
TimetoRecover(RTO)
Synchronous
Replication
Tape
Backup
Asynchronous
Replication
Snapshots
Disk
Backup
How much data can you afford to lose?
How long can you
afford to be without
the data or service?
4. 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
Snapshots
Seconds to
minutes
Minutes to hours Days • Test/dev/lab
• Cloning
• Patching/maintenance
• Corruption/data loss
Backup
Hours Daily
Weekly
Monthly
Yearly
Months+ • Corruption/data loss
• File recovery
• Long-term retention
• Compliance
• Application integration
5. 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!
6. vSphere Data Protection Advanced 5.8
Simple, Efficient Backup and Replication with Predictable Recovery
vSphere
deduplicated
data
VMFS, NFS, VSAN
storage
VDP
Adv
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
7. 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)
8. Application Awareness for Mission-Critical Apps
Backup 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
8
9. 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
VDP
Adv
VDP
Adv
9
10. 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
VDPA
PROXY
VDPA
PROXY VDPA
Less data transferred
. . .
CLUSTER 1
vSphere
CLUSTER 2
vSphere
CLUSTER N
vSphere
. . .
VDPA
New in
5.8
11. Backup vCenter Server
11
vSphere
VDP
vCenter
Server
VM
All vCenter Server components installed
on same virtual machine
vSphere
VDP
vCenter
Server
VM
All vCenter Server components installed
across multiple virtual machines
vCenter
Server
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
12. 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
13. 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
Enables replication
between
heterogeneous
datastores
Quiesce Windows
and Linux machines
Snapshot-less
replication
minimizes impact
on VM workloads
Cloud DR to
vCloud Air
SAN Virtual SAN
Datastore
NASVirtual SAN
Datastore
14. • 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
15. What’s New in vSphere Replication
15
Enhanced Reporting
New in
5.8
16. vCenter Site Recovery Manager (SRM)
Automated Disaster Recovery Orchestration
vSphere
vCenter Server
Site Recovery
Manager
vCenter Server
Site Recovery
Manager
vSphere
Production Site Recovery Site
Servers Servers
vSphere
Replication
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
17. 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
18. 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
19. vSphere Data Protection and vSphere Replication – Use Cases
19
RTO RPO Use Cases
vSphere
Replication
Minutes 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
vSphere
Replication
VDP/VDPA
Dedupe Store
VDP/VDPA
Replication
20. 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
21. Impact of RPO on Data Transferred
21
10min RPO 60min RPO
10min
Base
22. Choosing the Right Product
22
HIGH LOW
SLOWFAST
Potential for Data Loss (RPO)
TimetoRecover(RTO)
Synchronous
Replication
Tape
Backup
Asynchronous
Replication
Snapshots
Disk
Backup
vSphere
Data
Protection
vSphere
Replication
• 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
23. Related VMworld Sessions
23
Data Protection and Replication
q Data Protection with VDP Advanced –
BCO1454
- Technical Deep Dive
- Best Practices
Tuesday 8/26 at 1:00 PM
q Data Protection for Virtual SAN –
STO3354
Tuesday 8/26 at 11:00 AM
q Site Recovery Manager and vSphere
Replication – BCO2629
- Technical Deep Dive
- What’s New
Wednesday 8/27 at 10:00 AM
Thursday 8/28 at 12:00 PM
Disaster Recovery
q Customer Panel: Disaster Recovery
Lessons from Real Implementations
Monday 8/25 at 5:00 PM
q Site Recovery Manager and vCloud
Automation Center: Self-service DR
Protection - BCO1893
Tuesday 8/26 at 1:00 PM
Thursday 8/28 at 1:30 PM
q Site Recovery Manager and Stretched
Storage: Tech Preview of a New
Approach to Active-Active Data Centers
– BCO1916
Tuesday 8/26 at 2:00 PM
Wednesday 8/27 at 8:30 AM
25. Fill out a survey
Every completed survey is entered into a
drawing for a $25 VMware company store
gift certificate
26. Data Protection for vSphere 101: Keys
to Successful Backup and Replication
in a Virtual World
BCO2194
Daniel Miller, VMware, Inc
Pooja Virkud, VMware, Inc