25
<Insert Picture Here> Zero Downtime Migration Oracle GoldenGate Use Cases Danairat T. Enterprise Architect, ASEAN [email protected], +66-81-559-1446

Zero Downtime Migration

Embed Size (px)

DESCRIPTION

Danairat T, Oracle Thailand Presentation at IASA seminar 25 June 2012

Citation preview

Page 1: Zero Downtime Migration

<Insert Picture Here>

Zero Downtime MigrationOracle GoldenGate Use Cases

Danairat T.Enterprise Architect, [email protected], +66-81-559-1446

Page 2: Zero Downtime Migration

2

The following is intended to outline our generalproduct direction. It is intended for informationpurposes only, and may not be incorporated into anycontract. It is not a commitment to deliver anymaterial, code, or functionality, and should not berelied upon in making purchasing decisions.The development, release, and timing of anyfeatures or functionality described for Oracle’sproducts remain at the sole discretion of Oracle.

Page 3: Zero Downtime Migration

3

Availability Architecture

Comprehensive protection againstdowntime and data loss:

Server failuresDatabase instance crashesStorage subsystem failuresSystem induced data corruptionsAdministrator errorsNetwork outagesSite failuresSystem maintenanceOne-off patches and CPUsDatabase patch-sets and upgrades

DCDatabase

DRDatabase

SYNC / ASYNC

Monitoring

Page 4: Zero Downtime Migration

4

Backup System

Real-Time Access:High Availability /

Disaster Recovery

Fraud

Detection

Data

Warehouse

Real-Time Information:Business Intelligence / Data Integration

Transaction:

Cash Withdrawal / Purchase

ATM or POS

System

Oracle GoldenGate Everyday Example…

Page 5: Zero Downtime Migration

5

How Oracle GoldenGate Works

LAN/WANInternet

Capture

Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.

SourceOracle & Non-Oracle

Database(s)

TargetOracle & Non-Oracle

Database(s)

Page 6: Zero Downtime Migration

6

How Oracle GoldenGate Works

LAN/WANInternet

CaptureTrail

SourceOracle & Non-Oracle

Database(s)

TargetOracle & Non-Oracle

Database(s)

Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.

Trail: stages and queues data for routing.

Page 7: Zero Downtime Migration

7

How Oracle GoldenGate Works

LAN/WANInternet

CaptureTrail

Pump

Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.

Trail: stages and queues data for routing.

Pump: distributes data for routing to target(s).

SourceOracle & Non-Oracle

Database(s)

TargetOracle & Non-Oracle

Database(s)

Page 8: Zero Downtime Migration

8

How Oracle GoldenGate Works

LAN/WANInternet

TCP/IP

CaptureTrail

PumpTrail

Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.

Trail: stages and queues data for routing.

Pump: distributes data for routing to target(s).Route: data is compressed,encrypted for routing to target(s).

SourceOracle & Non-Oracle

Database(s)

TargetOracle & Non-Oracle

Database(s)

Page 9: Zero Downtime Migration

9

How Oracle GoldenGate Works

LAN/WANInternet

TCP/IP

CaptureTrail

Pump DeliveryTrail

Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.

Trail: stages and queues data for routing.

Pump: distributes data for routing to target(s).Route: data is compressed,encrypted for routing to target(s).

Delivery: applies data with transactionintegrity, transforming the data as required.

SourceOracle & Non-Oracle

Database(s)

TargetOracle & Non-Oracle

Database(s)

Page 10: Zero Downtime Migration

10

How Oracle GoldenGate Works

LAN/WANInternet

TCP/IP

Bi-directional

CaptureTrail

Pump DeliveryTrail

Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.

Trail: stages and queues data for routing.

Pump: distributes data for routing to target(s).Route: data is compressed,encrypted for routing to target(s).

Delivery: applies data with transactionintegrity, transforming the data as required.

SourceOracle & Non-Oracle

Database(s)

TargetOracle & Non-Oracle

Database(s)

Page 11: Zero Downtime Migration

11

Oracle GoldenGate Topologies

UnidirectionalQuery Offloading

Bi-DirectionalLive Standby or

Active-Active for HA

Peer-to-PeerLoad Balancing,

Multi-Master

BroadcastData Distribution

Integration/ConsolidationData Warehouse

CascadingData Marts

Page 12: Zero Downtime Migration

12 12

ContinuousAvailability

• Zero DowntimeMigrationMigrate to Database orupgrade latest applicationversion with no downtime

• Disaster Recovery &Data ProtectionCreate live standby forfailover, avoid and repairblock corruptions

• Data DistributionSynchronize hub & spokeor distributed systems

• Zero DowntimeMigrationMigrate to Database orupgrade latest applicationversion with no downtime

• Disaster Recovery &Data ProtectionCreate live standby forfailover, avoid and repairblock corruptions

• Data DistributionSynchronize hub & spokeor distributed systems

Real Time DataIntegration

• OperationalReportingQuickly report ontransaction system datawith no source impact

• Real Time BusinessIntelligenceUnderstand currentmetrics in historical context

• OperationalReportingQuickly report ontransaction system datawith no source impact

• Real Time BusinessIntelligenceUnderstand currentmetrics in historical context

Query Offloading

• Cost ReductionMove reads to lower costsystems

• Resource UtilizationUse physical standby forreads

• Cost ReductionMove reads to lower costsystems

• Resource UtilizationUse physical standby forreads

Key Areas for Oracle GoldenGate

Page 13: Zero Downtime Migration

13

GoldenGate Usage – Zero Downtime Migration

ManagerManager

- Capture / Extract - Delivery / Replicat - Trail

Initial Instantiation

OLTP Users TestersOLTP users are connected toprimary server. The new

database is empty.

Start GoldenGate captureprocess & store transactions intrail. Eliminates need for point-

of-consistency.

Instantiate new database withprimary data while OLTP users

are active. Can use anymethod preferred.

Once instantiation is complete,deliver the real-time

transactions to new databasehandling collisions.

Now testers can confirm thatthe application will work

correctly with live data and notaffect production.

Once testing is complete, startreplication back to primary

from new database. Enables afallback option.

Switch OLTP users to newdatabase. If problems occur,

can immediate fallback to“old” database.

Page 14: Zero Downtime Migration

14

GoldenGate Usage – Active-Active Disaster Tolerance

ManagerManager

- Capture / Extract - Delivery / Replicat - Trail

XLoad Balanced – No Single Point of Failure

Page 15: Zero Downtime Migration

15

GoldenGate Usage – Active-Active Application Upgrade

Capture Delivery

CaptureDelivery

DBMSA

DBMSB

Stop Application v1 on Server BStop both delivery processes

AppV1

AppV1AppV2

DBUpdate(DDL)

Install the new Appication VersionIntroduce the new DDL to the Database

Test!

TestOpen Delivery process from Server A to B (colmap needed?)Stop Application Server on AStart Application Server on B

AppV2

Install new Application version on server AActivate Delivery process from server B to A

Test!

Test A ServerStart Application Server on A

DBUpdate(DDL)

Page 16: Zero Downtime Migration

19

Oracle GoldenGate Management ConsoleEasy Management of Oracle GoldenGate Solutions

• Manages, defines, configures, andreports on Oracle GoldenGatecomponents

• Key features:• Centralized management of

GoldenGate modules• Rich-client and Web-based

interfaces• Alert notifications and integration

with 3rd-party monitoring products• Real-time feedback• Zero-impact implementation

Page 17: Zero Downtime Migration

20

Oracle GoldenGate VeridataData Comparison without Downtime

• A high-speed, low impact datacomparison solution• identifies and reports data discrepancies

between heterogeneous databases• without interrupting their availability

• Benefits:• Reduce financial/legal risk exposure• Speed and simplify IT work in comparing

data sources• No disruption to business systems• Improved failover to backup systems• Confident decision-making and reporting

Page 18: Zero Downtime Migration

21

GoldenGate Heterogeneous Platforms

Databases O/S and PlatformsCapture: Oracle DB2 Microsoft SQL Server Sybase ASE Teradata Enscribe SQL/MP SQL/MX

Delivery: All listed above, plus: HP Neoview, Netezza, Greenplum, and anyODBC compatible databases ETL products JMS message queues MySQLTimesTen

Windows 2000, 2003, XP

Linux

Sun Solaris

HP NonStop

HP-UX

HP TRU64

HP OpenVMS

IBM AIX

IBM z/OS

Page 19: Zero Downtime Migration

22

Oracle GoldenGate Use CasesEnterprise-wide Solution for Real Time Data Needs

• Standardize on SingleTechnology for Multiple Needs

• Deploy for ContinuousAvailability and Real-time Data

Access for Reporting / BI

• Highly Flexible• Fast Deployments

• Lower TCO & Improved ROI

Log Based, Real-Time Change Data

Capture

HeterogeneousSource Systems

EDWODS

EDW

Disaster Recovery,Data Protection

Zero DowntimeMigration and

Upgrades

OperationalReporting

Real-time BI

Standby(Open & Active)

ReportingDatabaseOGG

ODI

ODI

Query Offloading

Data Distribution

New DB/OS/HW/App

Replica

Page 20: Zero Downtime Migration

23

Horizontal TechnologyFor Industry-Specific Business Needs

Page 21: Zero Downtime Migration

24

GoldenGate for Banking / Financial Services

Key Partners:

Key Customers:

• Industry Challenges• Escalating threats of fraud• Increased competition in risk management• System rationalization and cost reduction• 100% reliability and uptime

• GoldenGate Provides• Continuous availability of transactional and

historical data• Real time data for better intelligence regarding

fraud, risk, and business optimization

• Benefits• Meet the most stringent SLAs for latency,

availability, scalability• IT Managers can sleep better at night• Protect against planned and unplanned

downtime• Lower risk and cost with better, up to date

customer intelligence

Page 22: Zero Downtime Migration

25

GoldenGate for Communications

Key Partners:

Key Customers:

• Industry Challenges• Operational efficiency (OPEX reduction)• Transformation of the network & OSS/BSS to

Next-generation technology• Convergence is driving product bundling• Faster time-to-launch for new services

• GoldenGate Provides• Zero downtime for planned and unplanned

events• Real time data for customer service and

customer analysis• Real time data to enable new services

• Benefits• Introduce new services rapidly• Support Real-time services (gaming,

conferencing)• Handle growth and peaks with reliability• Eliminate downtime

Page 23: Zero Downtime Migration

26

GoldenGate for ECommerce & Retail

Key Customers:

• Industry Challenges• Promotion Optimization• Logistics & Distribution: Real time Warehouse

Management• Align per Customer Costs to Revenues• Cost-effective Systems that Handle Peak

Loads

• GoldenGate Provides• Real time data integration for optimizing

logistics and customer promotions• Query offloading to reduce system costs• Data distribution to support applications in a

hub/spoke business structure

• Benefits• Improved customer reach and shopper to

buyer conversion• Increased operational efficiency• Maintain margins in good and bad times

Page 24: Zero Downtime Migration

27

GoldenGate for Healthcare

Key Partners:

Key Customers:

• Industry Challenges• Paperless Patient Records• Data-Driven Medicine• Staff and Critical Supply Management

• GoldenGate Provides• Continuous availability of data that is a pre-

requisite to going completely electronic• Real time data for intelligence in the business

of healthcare

• Benefits• Protect patient data in the event of system

outages and other failures• Save time for health care providers by

delivering unified view of all current testresults and patient history

• Improve patient outcomes through safetyanalyses such as drug interaction analysis

• business intelligence

Page 25: Zero Downtime Migration

29