Sei sulla pagina 1di 35

STO6137

Site Recovery Manager and Policy Based DR:


Deep dive with Engineering
GS Khalsa, VMware, Inc
Aleksey Pershin, VMware, Inc

#STO6137
Disclaimer
• This presentation may contain product features that are currently under development.
• This overview of new technology represents no commitment from VMware to deliver these
features in any generally available product.
• Features are subject to change, and must not be included in contracts, purchase orders, or
sales agreements of any kind.
• Technical feasibility and market demand will affect final delivery.
• Pricing and packaging for any new technologies or features discussed or presented have not
been determined.

CONFIDENTIAL 2
Agenda

1 Why SPPGs? What are they?

2 Deep Dive and Demos

3 Recap

4 Q&A

CONFIDENTIAL 3
Key Components Of SRM

Protected Site Recovery Site

Site Site
vCenter Server Recovery vCenter Server Recovery
Manager Manager

vSphere vSphere

Storage Storage
What is a protection group?
• Group of VMs that will be recovered together
– Application
– Department
– System type
– ?

• Different depending on replication type


• A VM can only belong to one Protection Group

Protection
Group

CONFIDENTIAL 5
vSphere Replication Protection Groups
• Group VMs as desired into Protection Groups
• What storage they are located on doesn’t matter

Protection Group 1 – Web App Protection Group 2 – Email

Protection Group 3 – SharePoint

CONFIDENTIAL 6
Array Based Protection Groups
Consistency Group Protection Group 1 – Web App
LUN 1

Datastore A

LUN 2

Datastore B

LUN 3

Datastore C

Protection Group 2 – Email


LUN 4

Datastore D

LUN 5 Protection Group 3 – SharePoint


Datastore F

7
Challenges
• Requires explicit management
– Primarily via UI/Limited API

• Operational overhead/complex orchestration to:


– Protect/Unprotect VMs
– Add/Remove datastores from Protection Groups

CONFIDENTIAL 8
Profile Driven Protection
Description
• New style of Protection Groups
leveraging storage profiles
• Level of indirection compared to
traditional protection groups
Profile Driven
Protection Group

Benefits

• Policy based approach reduces


OpEx by handling VM protection
lifecycle automatically
• Simpler integration of VM
provisioning, migration, and
decommissioning (no
orchestration) with other solutions
such as vRealize Automation

CONFIDENTIAL 9
What else is new in SRM 6.1?
• Stretched Storage Support
– STO6047 “Zero Downtime Application Mobility with Site Recovery Manager”
– Wednesday, 2:00-3:00

• NSX Integration
– STO6328 “What’s New in Disaster Recovery with VMware Site Recovery Manager and VMware NSX”
– Tuesday, 2:30-3:30

• A whole bunch of small improvements


– STO5605 “What’s New in Site Recovery Manager”
– Wednesday, 11:00-12:00

• DR automation for vCloud Air – using vCloud Air as a recovery site


– STO6089 “Automation for vCloud Air Disaster Recovery - VMware Technical Preview”
– Thursday, 12:00-1:00

CONFIDENTIAL 10
Deep Dive and Demo
Storage Profiles
• Storage Profiles (a.k.a. storage policy) is
a construct in vCenter
– An indirection layer between VMs and storage
• A storage profile is backed by a set of datastores Tag Storage Profile
– Datastores can be referenced by tags
– Datastores can be referenced by storage capabilities
• Array specific
• Requires VASA support from the array
• When a VM is associated with a storage profile, Datastore A Datastore B
vCenter picks a datastore from the profile’s
datastore set
– Association is per-VM and per-disk
– The user can override the datastore
selection manually Tag Tag
• vCenter can perform a compliance check to ensure
that VMs are still stored on the correct datastores

CONFIDENTIAL 12
Storage Profiles: Demo

CONFIDENTIAL 13
Storage Profile Protection Groups (SPPGs)
• A new type of protection groups in SRM 6.1
– Legacy VM-based protection groups are fully supported

• When creating an SPPG, the user specifies a set of storage profiles


• SRM will automatically discover and protect all corresponding datastores
• SRM will automatically discover and protect all associated VMs
• SPPGs support only array based replication
– vSphere Replication is supported only through legacy VM-based protection groups

CONFIDENTIAL 14
Inventory Mappings
• Inventory mappings is a way to map vCenter inventory between sites
• Network, resource pool, folder mappings should be configured before creating SPPGs
– These mappings are the same as in SRM today and are shared with VM protection groups
– The UI can automatically configure mappings using name matching
– The UI can automatically configure mappings in the reverse direction
– Name matching and reverse mappings are not updated dynamically

• Storage profile mappings should be configured before creating SPPGs


– These mappings are used only for SPPGs

• SRM has a way to deal with missing mappings detected during a failover
– The failover will fail and the mapping UI will show missing mapping “placeholders”
– The user needs to configure the missing mappings and rerun the failover
– This can be done even if the protected site is not available!

• Network mappings can be configured to change IP addresses based on subnet masks

CONFIDENTIAL 15
Inventory Mappings: Demo

CONFIDENTIAL 16
Storage Profile Protection Groups: Demo

CONFIDENTIAL 17
Recovery Plans
• 2 types of recovery plans in SRM 6.1
– Legacy recovery plans that can contain only
legacy datastore/VM based protection groups
– New recovery plans that can contain only
SPPGs
• When creating a recovery plan the user
chooses which protection groups should
belong to the recovery plan
– All VMs in the selected protection groups will
be a part of the recovery plan
• Both types of recovery plans support the
same customization features
– VM priority tiers
– Dependencies between VMs
– Per-VM IP customization settings
– Per-VM scripts and callouts

CONFIDENTIAL 18
Automatic Protection SPPG
• SRM monitors VMs in all storage profiles assigned
to an SPPG
– Any new VMs will be automatically protected
– Any removed VMs will be automatically unprotected
– The new VMs will be automatically added to the Storage Profile
corresponding recovery plans
– The user will need to customize IP addresses,
dependencies and scripts later Tag
• Use IP customization rules based on subnet masks Match
Association
– The recovery placement of the new VMs will be determined Tag
by the inventory mappings
• SRM monitors datastores in all storage profiles
Datastore
assigned to an SPPG
Placement
– Any new datastores will be automatically protected
• Even if a datastore has no VMs on it, it can still be protected
– Any removed datastores will be automatically unprotected

CONFIDENTIAL 19
Automatic Protection: Demo

CONFIDENTIAL 20
Recovery Workflows
• SPPGs will support the same recovery workflows as legacy datastore/VM based groups
• Planned migration (a.k.a. planned failover)
– Used when the protected site is still available
– Guarantees no data loss
• Disaster recovery
– Used when the protected site is likely down
– Tries to avoid data loss but continues with the recovery if there are any errors
• Forced failover
– Used when the protected site is definitely down
– Faster RTO than disaster recovery – does not try to contact the protected site
• Test failover (and cleanup)
– Allows testing a failover without disrupting the production workloads
– Uses an isolated network at the recovery site
• Reprotect
– Reverses the direction of protection and replication after a failover

CONFIDENTIAL 21
Test Failover: Demo

CONFIDENTIAL 22
SPPGs and Legacy Protection Groups: Side-By-Side
Legacy Datastore/Vm Based Groups SPPGs
• Support for vSphere Replication • Automatic protection
• Per-VM overrides for inventory mappings • Streched storage support
• Support for non-replicated devices – Using xVC-vMotion for planned migration
– Dropping non-replicated disks during recovery • NSX integration
– Attaching custom .vmdk and .iso images – Support for stretched networks (across sites)
• RDMs • Dynamic reprotect (more details later)
• Inventory elasticity (more details later)
Common Features
• Support for array-based replication
• Recovery workflows
• Priority tiers, VM dependencies, IP customization, scripts and callouts
• Inventory mappings (with IP customization rules based on subnet masks)

CONFIDENTIAL 23
Mounting Datastores at the Recovery Site: Legacy Groups
All datastores in a protection group are mounted on all hosts in all clusters that contain
all placeholder VMs for this protection group
– The initial placement for placeholder VMs is determined by resource pool mappings
– Placeholder VMs can be moved to different resource pools after protection

Protected Cluster Recovery Cluster


Resource pool Mapping Resource pool

Protection

Failover

CONFIDENTIAL 24
Mounting Datastores at the Recovery Site: SPPGs
A datastore is mounted on all hosts in all clusters at the recovery site which contain
resource pool mappings from those clusters at the protected site which contain hosts
that can see the datastore
Protected Cluster Recovery Cluster 1 Recovery
Mapping Cluster 2
Resource pool 1 Resource
pool
Mapping
Resource pool 2 Resource
pool

Failover

CONFIDENTIAL 25
SPPGs and Legacy Protection Groups: Reprotect
Legacy Datastore/Vm Based Groups SPPGs
• Reprotect for legacy groups == reverse • SPPG reprotect == protect again
• Reprotect reverses replication only for those • Reprotect reverses replication for all
datastores (consistency groups) that were datastores (consistency groups) that were
explicitly protected in this protection group recovered through this SPPG
• Reprotect protects only those recovered • All VMs (all recovered and any new VMs)
VMs that were recovered through this associated with the target storage profiles
protection group will be automatically protected in the
opposite direction
• Any new VMs residing on the recovered
VMs will be considered “piggyback” VMs • Any new datastores (consistency groups)
and will need to be protected explicitly after referenced by the target storage profiles will
reprotect is complete be automatically protected in the opposite
direction

CONFIDENTIAL 26
Tag Management
• SRM will capture all tags assigned to datastores at the protected site
• SRM will assign the same tags to the recovered datastores at the recovery site
• The user must create the same tags and categories at both sites (by names)
– If the sites are federated, the tags and categories will be automatically transferred

• SPPGs will assume that target storage profiles use the same tags to reference datastores
• SRM will automatically associate recovered VMs with the target storage profiles
• SRM will verify that the recovered datastores are referenced by the target storage profiles
– If not, the failover workflow will fail

CONFIDENTIAL 27
Tag Management
Created by the user
SPPG Matched by name
Category Category

Mapping
Source Storage Profile Target Storage Profile

Tag Tag

Match Match
Matched by name
Tag Tag

Association Association
Datastore Datastore
Placement Placement
Failover

CONFIDENTIAL 28
Inventory Elasticity
• SPPGs are completely elastic (no user action necessary) in respect to the following changes:
– Protected VMs
• New VMs need to be associated with the source storage profiles
• IP customization needs to be configured manually – use either rules based on subnet masks
or NSX stretched networks
– Protected datastores
• New datastores need to be assign the correct tags to be referenced by the source storage profiles
– Hosts in the clusters at the protected site
• DRS will automatically redistribute VMs to the new hosts
– Hosts in the clusters at the recovery site
• SRM will automatically mount the recovered datastores on the new hosts
• SPPGs are elastic (with some minimal user action) in respect to the following changes:
– Clusters at the protected site
• The user needs to configure resource pool mappings from the new clusters
– Clusters at the recovery site
• The user needs to configure resource pool mappings to the new clusters
– Tags and tag categories
• The user needs to create the matching tags/categories at the recovery site (or federate the two sites)

CONFIDENTIAL 29
Recap
Key Takeaways
• Storage profile based protection groups provide true “Policy-based DR”
– Automatically protect new VMs and datastores
– Elastic in respect to inventory and capacity changes at both sites
• SPPGs can drastically reduce DR-related operational expenses
– Simplify DR management
– Reduce time and effort – both in setup and maintenance
• Enable other new features
– Stretched Storage
– NSX integration
• Other SRM sessions
– STO6047 “Zero Downtime Application Mobility with Site Recovery Manager”
– STO6328 “What’s New in Disaster Recovery with VMware Site Recovery Manager and VMware NSX”
– STO5605 “What’s New in Site Recovery Manager”
– STO6089 “Automation for vCloud Air Disaster Recovery - VMware Technical Preview”
• More ways to talk – group discussions
– STO6555-GD – Meet the Site Recovery Manager Engineering Team with Aleksey Pershin
– STO6554-GD – Disaster Recovery with GS Khalsa
CONFIDENTIAL 31
CONFIDENTIAL
32
Questions

CONFIDENTIAL
33
CONFIDENTIAL
34
STO6137

Site Recovery Manager and Policy Based DR:


Deep dive with Engineering
GS Khalsa, VMware, Inc
Aleksey Pershin, VMware, Inc

#STO6137

Potrebbero piacerti anche