Brian Bowman
Sr. Solutions Engineer bowman@progress.com
Introduction to Replication
Replication Overview OpenEdge Replication Process Failover, Secondary Replication and Failback Sample Image: details Please Questions
replace it (Insert, Picture, )
Introduction to Replication
Introduction to Replication
Fact Replication is the process of sharing information between databases (or any other type of server) to ensure that the content is consistent between systems.
Source: about.com
Introduction to Replication
Pr SAN Veritas bkup & ov o Pr ide rest Pro rs pp tA EMC 4GL Ne HP Triggers nic Leg So ato Fathom After Replication Imaging Solari IBM s
5
Introduction to Replication 2007 Progress Software Corporation
Introduction to Replication
Types of Replication
Log based replication
Backup and restore After imaging Application triggers
Introduction to Replication
Introduction to Replication
Automated data replication of your mission critical database to a hot stand-by. Software that improves application availability with no application changes. Once installed, it just works!
11
Introduction to Replication
Introduction to Replication
Replication Overview Sample OpenEdge Replication Process Image: Failover, Secondary Replication, and Please Failback details replace it Summary
(Insert, Picture, )
12
Introduction to Replication
13
Introduction to Replication
Hardware
Primary Server 1 or 2 Secondary Servers
Software
Progress 9.1E for Fathom Replication 3.0A OpenEdge 10.0B+ for OpenEdge Replication (failback capabilities enable in 10.1A) After-imaging must be enabled
No Application Changes Needed!
14
Introduction to Replication 2007 Progress Software Corporation
Definitions
Source database
Normal production Original source of updates
Target database
Standby database Target location in OpenEdge Replication
15
Introduction to Replication
Definitions
Primary Replication
Normal processing Primary machine performs updates Secondary machine receives updates
Failover
Primary machine fails Secondary machine becomes primary
16
Introduction to Replication
Definitions
Secondary Replication
Failed over mode Secondary machine performs updates Primary machine receives updates
Failback
The process to get primary machine back to its original state and the secondary machine to take on its original role to be the backup
17
Introduction to Replication
Definitions
Transition
Process where the databases change roles Configured to be either manual or automatic
Synchronization
Process to make sure the database on primary and secondary are identical This is performed
During database and replication startup Failure recovery processing
18
Introduction to Replication
Secondary
Database Broker Processes
AI Extents
Repl Queue
Target Database
Repl Server
Repl Agent
2007 Progress Software Corporation
19
Introduction to Replication
Configures and manages remote agents Sends all database activity to its replication agents Controls replication agents
Repl Queue
Repl Server
20
Introduction to Replication
Target Database
21
Introduction to Replication
Repl Agent
Source Database
Target Two
Target Database
Repl Agent
22
Introduction to Replication
Source Database
Repl Agent
Target Database
23
Introduction to Replication
Secondary
Database Broker Processes
X
Repl Agent
Target Database
24
Introduction to Replication
Plugs into after-image sub-system TCP connection between server and agent Queue for transfers on source Agent periodically (every 10 blocks) polls server for heart beat (asynchronous mode) Agent will also communicate a synchronization point (ie. extent switch) back to the server
25
Introduction to Replication
Secondary Machine
Replication Replication Agent Agent
DB Shared Memory
DB Buffer Pool
BI
DB
AI
BI
DB
AI
26
Introduction to Replication
Additional Considerations
Schema changes are replicated AI extents must be managed
AI Management Utility!!!
Ensure that you have enough AI extents space - extents will remain locked until they are replicated in entirety
Machine Setup
The target machine must have disk space comparable to the source machine
28
Introduction to Replication
Progress Requirements
Progress 9.1E for Fathom Replication 3.0A OpenEdge 10.0B+ for OpenEdge Replication (failback capabilities enable in 10.1A) After-imaging must be enabled
29
Introduction to Replication
Introduction to Replication
Replication Overview Sample OpenEdge Replication Process Image: Failover, Secondary Replication, and Please Failback replace it Summary
(Insert, Picture, )
30
Introduction to Replication
Replication Modes
Secondary Replication
Primary
Primary Replication
31
Introduction to Replication
Primary Replication
Secondary
Secondary
Primary
32
Introduction to Replication
Secondary
Primary
33
Introduction to Replication
Primary
Source fails
Secondary
Transition to source
34
Introduction to Replication
Manual
Transition target to production
dsrutil target -C transition agent Auto Database is automatically transitioned to production Start target database server
35
Introduction to Replication
Primary
Source fails
Secondary
Primary
Source fails
Restore backup
Secondary
Primary
Source fails
Secondary
Primary
Source fails
Secondary
Transition based on the properties files Transition will occur based on the following criteria:
Source or target Online or offline Is Replication Server or Agent running? Has failure just occurred?
40
Introduction to Replication
Replication Modes
Secondary Replication
Primary
Primary Replication
41
Introduction to Replication
Primary Replication
Secondary
Auto DB control
Shutdown after transition Auto restart
42
Introduction to Replication
43
Introduction to Replication
How It Works
Automatic failover Real-time data replication Query access reporting on the target database No application changes are required
44
Introduction to Replication
Hard
Easy Inexpensive
45
Introduction to Replication
Expensive
Overall Cost
In Summary
Protect your business Protect your data Protects your future with OpenEdge Replication
46
Introduction to Replication
Questions?
47
Introduction to Replication
48
Introduction to Replication