Академический Документы
Профессиональный Документы
Культура Документы
Remote Replication
Chapter 14
Chapter Objective
After completing this chapter, you will be able to: o Explain remote replication technologies
o Synchronous and asynchronous
Source site
2009 EMC Corporation. All rights reserved.
Remote site
Synchronous Replication
o A write must be committed to the source and remote replica before it is acknowledged to the host
Source
o Ensures source and remote replica have identical data at all times
o Write ordering is maintained
o Replica receives writes in exactly the same order as the source
Host
1 4 3
Target
o Bandwidth
o To minimize impact on response time, sufficient bandwidth must be provided at all times
Time
Asynchronous Replication
o Write is committed to the source and immediately acknowledged to the host o Data is buffered at the source and transmitted to the remote site later
o Some vendors maintain write ordering o Other vendors do not maintain write ordering, but ensure that the replica will always be a consistent re-startable image
Source
1 2
Host
Data Write
o Finite RPO
o Replica will be behind the source by a finite amount o Typically configurable
Data Acknowledgement
Target
o Buffers
o Need sufficient buffers at the source to hold data before transmission to remote site
Time
o Log Shipping
LVM-based
o Duplicate Volume Groups at source and target sites
o All writes to the source Volume Group are replicated to the target Volume Group by the LVM o Can be synchronous or asynchronous mode
o Limitations
o Extended network outages require large log files o If log files fill up before outage is resolved, full synchronization is required
o Replication process adds overhead on host CPUs o Remote host must be continuously up and available
o Log files are transmitted to the remote host when the DBMS switch log files
o Happens at pre-configured time intervals or when a log file is full
o The remote host receives the logs and apply them to remote database
o Advantages:
o Minimal overhead o Low bandwidth requirement
o Standby database is consistent up to the last applied log
2009 EMC Corporation. All rights reserved.
IP
Original
Logs
Standby
2009 EMC Corporation. All rights reserved.
IP/FC Network
Distance
Replica DR Server
Network links
Source
Target
Write is received by the source array from host/server Write is transmitted by source array to the target array Target array sends acknowledgement to the source array Source array signals write complete to host/server
Network links
Source
Target
o No impact on response time o Extended distances between arrays o Lower bandwidth as compared to Synchronous
2009 EMC Corporation. All rights reserved.
Local Replica
Source Host
2009 EMC Corporation. All rights reserved.
o During business operations changes will/could happen to both the source and remote replicas
o Most remote replication technologies have the ability to track changes made to the source and remote replicas to allow for incremental resynchronization o Resuming remote replication operations will require re-synchronization between the source and replica
o Asynchronous
o Extended distance solutions with minimal RPO (order of minutes) o No Response time elongation o Generally requires lower Bandwidth than synchronous o Must design with adequate cache/buffer capacity
o Disk buffered
o Extended distance solution with RPO in the order of hours o Require lower bandwidth than synchronous or asynchronous
2009 EMC Corporation. All rights reserved.
Disk Buffered
Local Replica Source Site Bunker Site Remote Site Remote Replica
o Synchronous + Asynchronous
Source Data Remote Replica Local Replica
Synchronous
Asynchronous
Remote Replica
REMOTE
2009 EMC Corporation. All rights reserved.
SAN/WAN
Hitachi
o Operation
o Push: Data is pushed from control array to remote array
Control Array
Remote Array
SAN/WAN
C
Control Device
2009 EMC Corporation. All rights reserved.
C
Remote Device
PUSH PULL
Electrical
Optical Lambda
OC3
OC48
STM-16
SDH
2009 EMC Corporation. All rights reserved.
Chapter Summary
Additional Task
#1 IT company
http://education.EMC.com