• No results found

replication solution Using CDC and Data Replication October 19, 2010

N/A
N/A
Protected

Academic year: 2021

Share "replication solution Using CDC and Data Replication October 19, 2010"

Copied!
32
0
0

Loading.... (view fulltext now)

Full text

(1)

I t d i

th

l

l ti

RMS d t

Introducing the only real-time RMS data

replication solution

p

Using CDC and Data Replication

October 19, 2010

John Apps, OpenVMS Ambassador, HP

Hein van den Heuvel, HvdH Performance Consulting Brian Schenkenberger, TMESIS

(2)

Agenda

™ Connect

™ Offloading Data for BI – Enabling Technologies

™ RMS CDC – Attunity Stream for RMS

™ RMS Data Replication – Attunity RMS-CDC for SSIS

™ Demo - end to end!

(3)

Attunity - CONNECT

™ ODBC, JDBC, OLEdb… data access ™ DB2, Oracle, Enscribe, … RMS

™ Heterogeneous queries / optimizer

™ Bindings ( Tuning, Log level, Optimizer settings, Codepages ) ™ Deamons

™ Workspaces ( Server Processes, OpenVMS Usernames ) ™ Workspaces ( Server Processes, OpenVMS Usernames )

™ Prestarted, re-usable, log files, tcpi

™ Datasources ( Dictionaries / Directories ™ Tables

(4)

Metadata Import

™ Automatically define relational schema based on existing

d metadata

™ Automated imports available from:

™ COBOL (COPY books) ™ BASIC (MAP files) ™ FORTRAN

™ Oracle CDD ™ DIBOL

™ DATATRIEVE

(5)

Agenda

™ Connect

™ Offloading Data for BI – Enabling Technologies

™ RMS CDC – Attunity Stream for RMS

™ RMS Data Replication – Attunity RMS-CDC for SSIS

™ Demo - end to end!

™ Summary + Q&A

(6)

Offloading RMS Data for BI

™

Copy RMS data into a relational database

™

As frequently as needed

™

With little impact on the OpenVMS system

™

With little impact on the OpenVMS system

SQL, JDBC, & Reporting tools SQL, JDBC, & Reporting tools

RMS Relational

Database Replication

/ETL Server

Incremental CDC Initial full load

(7)

Customer Example:

Southeastern Freight Lines

g

Privately-held trucking company, specializing in next day and second day

se ice The compan ’s dedication to service. The company’s dedication to process improvement is represented by

over 285 quality awards.

(8)

Customer Example:

Express-Scripts – large pharmacy

p

p

g p

y

(9)

Enabling Technologies

Ch C (C C) d h l

Change Data Capture (CDC) is a data integration technology that captures and delivers only the changes made to enterprise data sources. It enables real-time and efficient data integration/replication.

CDC

Data Replication creates a copy of one data source in another, periodically or in real-time. Replication employs CDC to replicate changes from source to target efficiently and in Replication CDC to replicate changes from source to target efficiently and in

(10)

Drivers for CDC and Replication

1 Demand for real-time data

1. Demand for real-time data

2 Increasing data volumes

2. Increasing data volumes

3 Shrinking batch windows

3. Shrinking batch windows

4 Pressure to reduce cost

4. Pressure to reduce cost

(11)

Use Cases for CDC and Replication

1. Offload Production Data for BI

™ Create a copy for reporting

™ Stage data for data warehousing

2. Maintain Consistency across Operational DBs

™ Keep data integrity ™ Keep data integrity

™ For application integration and MDM (master data management)

3. Data Migration/Upgrade

™ Sync with production following initial set-up ™ Enable fail-back

(12)

Challenges for CDC and Replication

1. Low Impact on existing applications

™ Achieving minimal/no changes to existing applications ™ Achieving low overhead on resources

2. Data mapping challenges

™ Defining a relational schema for the RMS structures

A l i RMS h i l h l i l bl

™ Applying RMS changes appropriately to the relational tables

™ Arrays (of records) in records; Variant records.

™ Funky data types (notably Dates!) ™ Funky data types (notably Dates!)

3. Complexity/Cost

(13)

Agenda

™ Connect

™ Offloading Data for BI – Enabling Technologies

™ RMS CDC – Attunity Stream for RMS

™ RMS Data Replication – Attunity RMS-CDC for SSIS

™ Demo - end to end!

™ Summary + Q&A

(14)

CDC Approaches and Technologies

Traditional approaches – Intrusive/High Impact:

™ Use timestamps in extracts and file dumps

™ Extract and compare current data to its history

™ Connx uses Checksums on RMS Indexed files buckets to detect changes.

™ Use custom-built triggers

Attunity approach Non Intrusive: Attunity approach – Non Intrusive:

™ Log-based CDC

™ Low impact Non-intrusive ™ Low impact. Non intrusive. ™ Efficient.

(15)

Attunity Stream for RMS

Log-based CDC for RMS files

ETL/BI OpenVMS (Alpha/Itanium) Windows, UNIX

(16)

RMS – CDC - Key Capabilities

™ Log-based CDCg

™ Filter Changes (by file, operation, …)

™ Flexible Change Delivery (periodic continuous) ™ Flexible Change Delivery (periodic, continuous) ™ Interfaces to ETL and EAI Tools

l bl l d

(17)

CDC for RMS

™ Unique service intercepts $RMS system services

™ Provides system wide capture of RMS changes

™ Cobol, Basic, Datatrieve, DCL, Utilities... Any and all RMS record operation.

™ Record based (log : header + record data )

H d S # Ti Fil ID P ID RFA O i Si

™ Header : Sequence#; Timestamp; FileID; ProcessID; RFA; Operation; Size.

™ No changes required to any RMS programs ™ Supports all RMS file types

S O VMS l

™ Support OpenVMS clusters

™ Independent of RMS (AI/BI) Journaling. RU-J not supported. ™ High performance, low impact

™ Per node Logger not noticeable (3%?)

™ Shared Agent example usage: 1/4 CPU for 10 Million changes in 3 GB Logs.

™ Easy Configuration

™ GUI b d ith i d i th Att it St di

17

(18)

RMS CDC Architecture - Overview

Change OpenVMS (Alpha/Itanium) Windows, UNIX

RMS Change Tables CDC Capture CDC Router JMS Publisher Legacy

Process 1 Process 2 Process 3

Attunity

RMS Application

RMS Interceptp RMS Loggergg CDC Agentg

(19)

RMS CDC Architecture – RMS Intercept

™ RMS Intercept – forms an envelope around the $RMS

system service. Captures changes only for specified list of files. By file-id (from filename) or by name (“next version”)

Legacy

Process 1 Process 2 Process 3

Attunity

RMS Application

RMS Interceptp RMS Loggergg CDC Agentg

(20)

RMS CDC Architecture – RMS Logger

™ RMS Logger – a separate process (1 per node) which reads

the intercepted changes from the intercept and writes them to the transient storage

Legacy

Process 1 Process 2 Process 3

Attunity

RMS Application

RMS Interceptp RMS Loggergg CDC Agentg

(21)

RMS CDC Architecture – Transient

Storage

g

™ Transient Storage – a sequence of typically-fixed

size-sequential files holding the captured changes. When one fills up, a new one is created. (ALQ, DEQ, Max.). Utility to

Legacy

Process 1 Process 2 Process 3

control attributes and force new logs if so desired (Daily?)

Attunity

RMS Application

RMS Interceptp RMS Loggergg CDC Agentg

(22)

RMS CDC Architecture – CDC Agent

™ Attunity RMS CDC Agent – Async to the capture process, it

reads changes from the transient storage and propagates them to the change processor off platform. Single active agent per

Legacy

Process 1 Process 2 Process 3

‘solution’ (router on linux/windows). Failover as needed.

Attunity

RMS Application

RMS Interceptp RMS Loggergg CDC Agentg

(23)

Agenda

™ Offloading Data for BI – Enabling Technologies

™ RMS CDC – Attunity Stream for RMS

™ RMS Data Replication – Attunity RMS-CDC for SSIS

™ Demo - end to end!

™ Summary + Q&A

(24)

Attunity RMS-CDC for SSIS

™ Complete solution for data replication

™ Initial Load + Incremental Load

™ Supports any target (e.g. Oracle/Rdb, SQL Server,...) ™ Monitoring and Control

™ Leverage CDC for incremental load

™ Log-based RMS CDC

™ S nch oni ed ith Initial Load ™ Synchronized with Initial Load ™ Granular scheduling

™

Easy to Use

(25)

Attunity RMS-CDC for SSIS

Product Components

RMS

26

(26)

Attunity Stream for

Multiple Consumers

Targets RMS RMS OpenVMS MQ ETL/Staging Server CDC R t Change Tables SQL Server Attunity CDC Agent RMS MQ Router DW ETL SSIS SQL T Logs SQL Tables TablesSQL Attunity CDC Agent Informatica, Oracle Client ODS g Oracle

Tables OracleTables Oracle Server Agent , DataStage ETL Audit Oracle Server Oracle Log Miner Audit D/R StreamFlow Oracle Oracle

(27)

Agenda

™ Introduction

™ Connect

™ RMS CDC – Attunity Stream for RMS

™ RMS Data Replication – Attunity RMS-CDC for SSIS

™ Demo - end to end!

™ Summary + Q&A

(28)

Agenda

™ Offloading Data for BI – Enabling Technologies

™ RMS CDC – Attunity Stream for RMS

™ RMS Data Replication – Attunity RMS-CDC for SSIS

™ Demo - end to end!

(29)

Summary

™ Offload RMS data for reporting and BI

™ Simplify data migration and modernization projects

™ Synchronize RMS with other data sources

™ Extract RMS data efficiently and in real-time

™ Eliminate batch windows required to move RMS data

(30)

Summary – About Attunity

Real-time data integration & event capture Corporate • +15 years of expertise in data/legacy integration

• Worldwide operations with offices in US, Europe and Asia

Products

CDC and Operational Data Replication

• Data Connectivity and Federation Products • Data Connectivity and Federation

• Legacy Adapters and Web Services

Customers

+400 direct customers worldwide

• Technology of choice for HP, Microsoft, Oracle, IBM, ...

(31)

Next Steps…

1 A k ti

1. Ask questions

2. Get started today with an evaluation

3. Check our introductory pricing for existing customers

(32)

References

Related documents

If you haven’t already done so, download the Attunity Replicate software from: 

9 Configure AlwaysOn Failover Cluster Instances (SQL Server) using IIDR-CDC on window 2012 Figure 8: Failover Cluster Manager – Adding Generic Service.. Choose the right CDC

There are multiple approaches to replicating SQL Server data: you can choose to perform replication at the database level using SQL Server utilities, in the storage hardware itself,

Students will learn how to create a data warehouse with Microsoft SQL Server 2014, implement ETL with SQL Server Integration Services, and validate and cleanse data with SQL

Delegates will learn how to create a data warehouse with Microsoft SQL Server 2014, implement ETL with SQL Server Integration Services, and validate and cleanse data with SQL

Students will learn how to create a data warehouse with SQL Server 2012, implement ETL with SQL Server Integration Services, and validate and cleanse data with SQL Server Data

Students will learn how to create a data warehouse with Microsoft SQL Server 2014, implement ETL with SQL Server Integration Services, and validate and cleanse data with SQL Server

Students will learn how to create a data warehouse with Microsoft SQL Server 2014, implement ETL with SQL Server Integration Services, and validate and cleanse data with SQL