?
What Is vCenter Site Recovery Manager
vCenter Site Recovery Manager is the Business (کسب و
market-leading disaster-recovery )کار
management solution
بحرا
• Orchestration (SRM Software) ن
• Storage Replication (SRA)
• Host Replication(vSphere Replication)
Disaster
risk assessment Determining
recovery strategies
DRP
BCP
Testing the plan Write the recovery plan
Business Continuity
(تداوم کسب و
)کار
)(Disaster Recovery (تداوم کسب و کار) وBusiness Continuity تعریف
BCP
DRP راهکارها و ابزاری، مجموعه ای از سیاست ها
های که امکان بازیابی یا ادامه بدون وقفه
سرویس دهی در مواقع بحران (بحران طبیعی
CDP
DRP(CDP) یا ایجاده شده توسط انسان) را امکان پذیر می
.کند
راهکار جامع جهت حفظ کسب و کار می باشدBCP
نیروی انسانی، که شامل تمام زیرساختهای اقتصادی
شامل راهکارهای محافظت ازDRP می باشد اما...و
کسب و کار می شود؟IT داده های
DRP :The method and strategy a business implements to ensure that data and IT systems are
protected
CDP :can be configured to protect data by copying changes to a destination target (same site, or
more remote sites, or on the cloud). The destination targets are a determining factor to how
quickly this data can be restored
BCP Process
Phase 1:
Establish the
foundation
Business
Business
Continuity
Continuity
Planning
Planning
Phase 3:
Maintain the Phase 2:
plan Develop and
implement the
plan
CDP
EMC RPA, SRM, Zerto, Veeam DR Solution
Veeam,TSM,Netbackup,….. Backup Solution
Oracle Rac,SQL Always On, Application Software HA
nodes (Clustering)
Platform HA
(VMware HA,MS Hyper-v,
MS Clustering) (Clustering)
Build-in Redundancy Hardware HA
Design Redundancy
Implement Disaster Recovery Plan(DRP)
• Recovery Time Objective (RTO)
• RTO only defines the amount of time a service can remain unavailable
• doesn't account for the data loss
• Recovery Point Objective (RPO)
• RPO defines the amount of data an organization can afford to lose(defined by time)
• Both RPO and RTO are defined by time
Disaster recovery site Type (DR site)
Cold backup sites are mere empty operational spaces
with basic facilities.it is the least expensive sites.(off- مدت زمان
Site Tape Cartridge) عملیاتی شدن
A warm backup site is already stocked with
hardware representing a reasonable facsimile of
RTO 0
that found in your data center.(async replication or
Daily Backup)
A hot backup site is a duplicate of the original site of the افزایش هزینه
organization .it is the most expensive approach to پیاده سازی
disaster recovery
Implement Disaster Recovery Plan(DRP)
• Recovery Time Objective (RTO)
• RTO only defines the amount of time a service can remain unavailable
• doesn't account for the data loss
• Recovery Point Objective (RPO)
• RPO defines the amount of data an organization can afford to lose(defined by time)
• Both RPO and RTO are defined by time
های مبتنی بر زیر ساخت های مجازی سازیBackup Site
Active / Active
VMware vSphere Metro Storage Cluster (vMSC)
Active / Backup Site
Replication is Automatic
Startup is Manual
Active / Standby Site (VMware Site Recovery Manager)
Protected Recovery
X
Site Site
Site Recovery Site Recovery
vCenter Manager
vCenter Manager
Host Replication
Host Replication
Array Replication
Datastore Groups Datastore Groups
Storage Replication
RPO~0
RPO>1min
Sync & Async Dependency with RTT(Round Trip Time) For Sync RTT <= 10 ms
Round Trip Time (RTT)( – )مدت زمان رفت و برگشت یک سیگنالRTT is the length of time it takes for a signal to
be sent plus the length of time it takes for an acknowledgment of that signal to be received.
Synchronize replication
Write Req
Replication Req
1
Source Source 2 Target Target
Host Storage Storage
ACK ACK Host
3 4
Synchronize replication
Asynchronized replication
Write Req
Replication Req
1
Source Source 3 Target Target
Host Storage Storage
ACK ACK Host
2 4
Asynchronized replication
?What are storage consistency groups
Consistency groups are meaningful when you are replicating a set of
disks to another set.
What defines consistency is that at the moment an interruption to the
replication occurs, there is no chance that some disks will be farther
along than others.
For example: a database is writing to two replicated LUNs- one is logs,
one is data. You cut the replication and try to bring up the database on
the target LUNs. If you have no consistency, the database LUN will likely
not be in sync with the log LUN, and your database can't be recovered
Snapshot Type
Copy-on-write (COW):Before a write is allowed to a block, copy-on-write moves the original data
block to the snapshot storage
Redirect-on-write(ROW):New writes to the original volume are redirected to another location set
aside for snapshot
ROW مزایا و معایب عمده
Write • سرعت باال در
• صرف زمان زیاد در موقع حذف و یا
به وضعیت اولیهroll Back
Storage Snapshot • مناسب برای
COW مزایا و معایب عمده
در موقعROW • سرعت کمتر نصب به روش
Write(Write Penalty is 2)
roll • صرف زمان کمتر در موقع حذف و یا
به وضعیت اولیهBack
• مناسب برای نرم افزارهای پشتیبان گیری و
VMware Snapshot
?What is a snapshot
A snapshot preserves the state and data of a virtual machine at a specific point in
time(PIT)
VMware Snapshot Type
Standard Snapshot
Quiesce Snapshot
Quiescing is to pause or altering the state of running processes on a computer.
Allowing existing Write I/O to finish their Write(flush buffer) but preventing new
Write I/O from initiating
Microsoft VSS , IBM DB2 , ORACLE Support Quiesce
For example, there may be outstanding I/O that has not been flushed to be written
out, or a DB transaction may still be in progress
ROW
COW
COW
• Main LUN & Reserved(snapshot) LUN in Same
Main LUN A'
A B C D'
D E F G
G' Pool
• Write penalty 2*ROW
• If there are many changes, the copy-on-write
method can become expensive
Snapshot LUN A D only
Metadata G (no physical data)
• The application(write I/O) freeze is not
allowed to take longer than 60 seconds
• The shadow copy creation can be aborted if
the writers are kept in the freeze state for
longer than 60 seconds or if the providers
take longer than 10 seconds to commit the
shadow copy.
COW (Revers Snapshot)
Changed Data A'
A B C D'
D E F G
G'
Create Snapshot A D only
Metadata G (no physical data)
Delete snapshot • سرعت عمل در
با توجه به نرخRollback • کندتر در
تغییرات
Write penalty 2*ROW •
COW (Delete Snapshot)
Changed Data A' B C D' E F G'
Snapshot A D only
Metadata G (no physical data)
ROW
Main Data A B C D E F G
Create Snapshot A' D' only
Metadata G'(no physical data)
If there are many read I/O requests, the redirect-on-
write method can become expensive.
ROW (Revers Snapshot)
Main Data A B C D E F G
Delete snapshot • کندتر در
Rollback • سریعتر در
Write penalty*1 •
Create Snapshot A' D' only
Metadata G'(no physical data)
ROW (Delete Snapshot)
Main Data A
A' B C D
D' E F G
G'
Create Snapshot A' D' only
Metadata G'(no physical data)
VMware Snapshot(cow)
copy-on-write (COW) mechanism,
in which the virtual disk contains
no data in places, until copied
there by a write. This optimization
saves storage space
Before a write is allowed to a block,
copy-on-write moves the original data
block to the snapshot storage
Content
• Architecture
• Topologies
• Installation
• Planned Migration, Disaster Recovery, Failback,
Reprotect
• Types of replication
• Compatibility matrix
• New features
• Licensing
Architecture
Site A (Primary) Site B (Recovery)
Site Site
vCenter Server Recovery vCenter Server Recovery
Manager Manager
vSphere vSphere
vSphere
Replication
Storage-based
replication
Architecture(ABR Only)
Architecture(HBR Only)
Architecture(HBR Only)
Architecture
VMware SRM Component
VMware Site Recovery Manager(SRM) is Orchestration Software that automates the failover and failback
of virtual machines to and from a secondary site using policy-based management
Array-based Replication (ABR)
Storage Replication Adapter (SRA) is the Code written by storage vendor to allow SRM to
communicate with storage arrays
Host-based Replication(HBR) or VR(vSphere Replication)
Site Recovery Manager Protection Type
Site Recovery Manager offers two ways of protecting a datacenter.
vSphere Replication, which works at a host or server virtual machines
level
better fit for Tier 2 and Tier 3 applications which has some limitations)
Array Base which works at a storage array level
used for protecting Tier 1 which are business critical applications.
vSphere Replication Benefit
better fit for Tier 2 and Tier 3 applications which has some limitations)
Replicate in flexible topologies, e.g., from external SAN/NAS to Virtual SAN—no
need for matching storage at source and target
Provision and manage replication at the VM level—no more replicating LUNs.
Implement with Low Cost
Minimum RPO is 5 minute(ver 6.5)
Not Support Automated Failback
Array-Base Replication Benifed
Used for protecting Tier 1 which are business critical applications.
Support RPO =0
Support Automated Failback
Implement with High Cost(Need SAN Replication License)
Need Same Storage Type in source and target Site
SRM Multi-Site
Shared Recovery: multiple remote sites are protected by a single recovery site.
Shared Protection: a single site fails over some applications/virtual machines to one remote site and
others to one or more additional remote sites.
Shared Recovery Site – Central vCenter Option
SRM Multi-Site
SRM and Stretched Clusters
Replication In a Single vCenter Server
Replication Between Two Sites
Replication to a Shared Target Site
Operational Limits for Site Recovery Manager 6.1
Total number of virtual machines configured for protection
(array-based replication, vSphere Replication, and storage policy
protection combined) cannot exceed 5000
Rule1 HBR(<=2000) + ABR <= 5000
Bidirectional Protection
Rule2
Site(A) + Site(B) <= 5000
Total number of virtual machines configured for storage policy protection 1000
Total number of virtual machines configured for storage policy protection with
1000
stretched storage
The total number of protection groups cannot exceed 250 for all protection types combined
Recovery Maximums for Site Recovery Manager 6.1
Item Maximum
Total number of concurrently executing recovery plans 10
Total number of virtual machine recoveries that you can start simultaneously,
for array-based replication, vSphere Replication, and storage policy protection combined, 2,000
across multiple recovery plans
Contents of the vSphere Replication Appliance
The vSphere Replication appliance provides all the components that vSphere Replication requires.
A plug-in to the vSphere Web Client that provides a user interface for vSphere Replication.
An embedded database that stores replication configuration and management information.
A vSphere Replication Management Server and a vSphere Replication Server that provide the core
of the vSphere Replication infrastructure.
vSphere Replication Client Plug-In
The vSphere Replication appliance adds a plug-in to the vSphere Web Client.
vSphere Replication client plug-in to perform all vSphere Replication actions
■ Configure the connections between vSphere Replication sites.
■ Configure the replication of individual or multiple virtual machines.
■ Monitor and manage the status of the replications that you set up.
■ Recover virtual machines.
vSphere Replication
• vSphere Replication: Name of the VMware vSphere feature that
enables host-based replication.
• vSphere Replication Management Server(vRMS): Virtual
appliance containing both the management component for vSphere
Replication and the component that receives replicated data (vSphere
Replication Server).
• vSphere Replication Server(vRS): Virtual appliance containing the
component that receives replicated data but does not contain the
vSphere Replication
vSphere Replication uses vSphere’s Changed Block Tracking (CBT)
feature, copying only changed blocks to the recovery site. This lowers
bandwidth utilization and makes it easier to achieve lower recovery
point objectives (RPOs) than doing a full-system copy of VMs
VMware Host Base Replication(vR)
• vSphere Replication Agent(vRA): Component built into vSphere that
tracks the changes in a replicated virtual machine and transmits these
changes to a vSphere Replication Management Server or vSphere
Replication Server virtual appliance.
• Network file copy (NFC) protocol is used to commit network based
disk writes by vSphere. The VRS receives replicated blocks and
distributes them via NFC to the vSphere hosts for writing to storage.
VMware Host Base Replication(vR)
• Install SRM (Main Site & Backup Site)
• Deploy VRMS (Main Site & Backup Site)
• Configure VRMS
• Deploy vRS (Backup Site only)
• Pair Sites
• Configure inventory mappings
o Create resource mappings
o Create folder mappings
o create network mappings
• Configure placeholder datastore
• SRA
• PG
• Recover Plan
• Test
Configure inventory mappings
the inventory mappings provide a convenient way to specify how the
resources at the Protected Site are mapped to the resources at the
Recovery Site