Module 11 Local Replication
Module 11 Local Replication
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
Upon completion of this module, you should be able to: Describe various uses of local replica Describe how consistency is ensured in file system and database replication Describe host-based, array-based, and network-based local replication technologies Explain restore and restart considerations Describe local replication in a virtualized environment
EMC Proven Professional
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
What is Replication?
Replication
REPLICATION
EMC Proven Professional Source Replica (Target)
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
Alternate source for backup Fast recovery Decision support activities Testing platform Data Migration
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
Replica Characteristics
Recoverability/Restartability
Replica should be able to restore data on the source device Restart business operation from replica
Consistency
Replica must be consistent with the source
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
Understanding Consistency
Consistency ensures the usability of replica Consistency can be achieved in various ways for file system and
database
Offline Online
File System
Flushing host buffers a) Using dependent write I/O principle Holding I/Os to source before creating replica
Database
Shutdown database
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
Flush Buffer
Source
Replica
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
C C
Consistent
Inconsistent
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
10
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
11
Logical Volume
Physical Volume 1
Volume group
Physical Volume 2
Host
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
12
FS Snapshot Metadata Production FS Metadata 1 Data a 2 Data b Bit 1-0 2-0 3-1 4-1 BLK 1-0 2-0 3-2 4-1
(CoFW) principle Uses bitmap and block map Requires a fraction of the space used by the production FS
3 Data C
4 Data D 1 Data d 2 Data c 3 no data
EMC Proven Professional
N Data N
4 no data
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
13
Replication performed by the array operating environment Source and replica are on the same array Types of array-based replication
Full-volume mirroring Pointer-based full-volume replication Pointer-based virtual replication
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
14
Full-Volume Mirroring
Attached
Read/Write Not Ready
Target BC Host
Storage Array
Detached - PIT
Read/Write Read/Write
Source Mirroring ceases Production Host EMC Proven Professional Storage Array
Target BC Host
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
15
Provides full copy of source data on the target Target device is immediately accessible by the BC host after the
replication session is activated PIT is determined by time of session activation Target device is at least as large as the source device Two modes
Full copy mode After session starts, all the data from source is copied to the target in the background
Copy on First Access (deferred)
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
16
Write to Source C
A B C C
C Target BC Host
When a write is issued to the source for the first time after replication
session activation:
Original data at that address is copied to the target Then the new data is updated on the source This ensures that original data at the point-in-time of activation is
EMC Proven Professional
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
17
Write to Target
A B C
B
B C
When a write is issued to the target for the first time after replication
session activation:
The original data is copied from the source to the target Then the new data is updated on the target
EMC Proven Professional
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
18
A B C
Target BC Host
When a read is issued to the target for the first time after replication
session activation:
The original data is copied from the source to the target and is made
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
19
Targets do not hold data, but hold pointers to where the data is
located
At the start of the session the target device holds pointers to data
on source device Target requires a small fraction of the size of the source volumes
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
20
When a write is issued to the source for the first time after replication
session activation:
Original data at that address is copied to save location The pointer in the target is updated to point to this data in the save
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
21
When a write is issued to the target for the first time after replication
session activation:
Original data from the source device is copied to the save location The pointer is updated to the data in save location
of the original data is created in the save location before the new write is updated on the save location
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
22
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
After PIT
Source Target
1 0
0 0
0 1
1 1
0 0
1 0
0 0
0 1
1
0
0
1
unchanged
changed
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
23
Solution
Restore data from target to source (Logical corruption) Restore would typically be done incrementally Applications can be restarted even before synchronization is complete
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
24
Full-Volume Mirroring
Pointer-based FullVolume Replication Full copy mode no impact CoFA mode some impact
No impact
Accessibility to target
Immediately accessible
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
25
Network-based Local Replication: Continuous Data Protection Replication occurs at the network layer between the hosts and
storage arrays
Ideal for highly heterogeneous environment
CDP appliance
EMC Proven Professional Write splitter
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
26
SAN
CDP Appliance
Storage Array EMC Proven Professional Production Volume Replica CDP Journal
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
27
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
28
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
29
I/Os
Virtualization Appliance
Storage Pool
SAN
LUN
LUN
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
30
VM Snapshot
Captures the state and data of a running VM at a specific PIT Uses a separate delta file to record all the changes to the virtual
disk since the snapshot session is activated Restores all settings configured in a guest OS to the PIT
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
31
VM Clone
versa
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
32
Concept in Practice
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
33
EMC SnapView
SnapView Snapshot
Logical view of the production volume Uses CoFW principle
SnapView Clone
Full volume copies that require same disk
Clone
Clone
space as the source Becomes a PIT copy once the clone is fractured from the source
Source LUN
Snap
Snap
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
34
EMC TimeFinder
TimeFinder/Snap
Creates space-saving, logical PIT (snapshots) Allows creating multiple snapshots from a single source
TimeFinder/Clone
Creates PIT copy of the source volume Uses pointer-based full-volume replication technology Allows creating multiple clones from a single source device
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
35
EMC RecoverPoint
Provides continuous data protection and recovery to any PIT Uses splitting technology at server, fabric, or array to mirror a
write to a RecoverPoint appliance Provides automatic RecoverPoint appliance failover Family of product includes
RecoverPoint/CL
RecoverPoint/EX
RecoverPoint/SE
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
36
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
37
Save location is not required to activate session C. Less storage space is required for creating replica D. No performance impact on source due to replication
B.
Size of the target is at least the same as the source C. Target can be accessed only after synchronization and detachment from source EMC D. Proven Professional Target contains only pointers to save location at all time
B.
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
38
Amount of space that is configured for the replica Type of write splitter used in replication Amount of space that is configured for the journal Rate of changes happening to the replica
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
39
creation B. Current guest OS configurations are preserved C. Guest OS configurations are duplicated to a new VM D. Guest OS settings are lost and need manual configuration
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
40
Scenario
Organizations mission critical data is stored on RAID 1 volumes Database application uses 1TB storage Average data that changes in 24 hours is 60 GB
Requirements
Task
Need solution to address logical corruption of database Maximum RPO of 1 hour Solution should support restore request for up to 8 hours old data Minimize the amount of storage used for data protection
requirement with minimum amount of storage EMC Proven Professional Estimate the physical storage required by this solution
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Reserved.
41