enable goldengate monitoring with oem 12c/jagent

29
Enable Oracle GoldenGate Monitoring for The Masses using Oracle Enterprise Manager 12c IOUG Collaborate 2015 Session: 219 Date: 4/14/2015 @ 11 am Room: Banyan B

Upload: bobby-curtis

Post on 17-Jul-2015

724 views

Category:

Technology


11 download

TRANSCRIPT

Page 1: Enable GoldenGate Monitoring with OEM 12c/JAgent

Enable Oracle GoldenGate Monitoring for

The Masses using

Oracle Enterprise Manager 12c

IOUG Collaborate 2015

Session: 219

Date: 4/14/2015 @ 11 am

Room: Banyan B

Page 2: Enable GoldenGate Monitoring with OEM 12c/JAgent

@dbasolved

http://dbasolved.com

Work: [email protected]

Personal: [email protected]

Bobby CurtisDouglasville, Georgia

Infrastructure Principle

IOUG (RACSIG/DI SIG), RMOUG, GAOUG

Page 3: Enable GoldenGate Monitoring with OEM 12c/JAgent

Part of Accenture’s Infrastructure Services:

- 52,000 Oracle professionals

- 17,000 Infrastructure Services professionals

Oracle Database & Engineered Systems Solutions:

- Database Migrations

- Oracle Applications on Engineered Systems

- Cloud-based solutions leveraging Engineered Systems

Oracle “Specialized” in the following areas:

- Oracle Database, Oracle Database Security, Oracle Real Application Cluster (RAC),

Oracle Data Warehouse, Oracle Database Performance Turning, Oracle Linux

- Egineered Systems: Oracle Exadata, Oracle Exalogic, Oracle Exalytics

Accenture Enkitec Group

Page 4: Enable GoldenGate Monitoring with OEM 12c/JAgent

Accenture Enkitec Group• Our Accenture Enkitec Group resources are members of several Oracle

Database groups such as Oak Table, Oracle ACE, etc and speak frequently

at events across the globe (Oracle Use Groups (OUG), Oracle Open World

(OOW), etc..

• Our team have authored several widely used books specific to Oracle

Database topics ranging from Exadata, performance & tuning to best

practices.

Page 5: Enable GoldenGate Monitoring with OEM 12c/JAgent

Accenture EnkitecGroupE4The only conference with a focus on the Oracle Exadata platform

REGISTER TODAYJune 1–2, 2015Dallas, Texaswww.enkitec.com/e4/register

Page 6: Enable GoldenGate Monitoring with OEM 12c/JAgent

What is GoldenGate?

Page 7: Enable GoldenGate Monitoring with OEM 12c/JAgent

GoldenGate Use CasesUnidirectionalQuery Offloading

Zero-Downtime Migration

Data Integration Cloud or

On-Premise

Bi-DirectionalActive-Active for Multi-

Master/HA

Cloud or On-Premises

Data Distributionvia Messaging

Cloud Apps Integration

Big Data DeliveryReal/Time and Batch Delivery

Structured Data to Data Reservoir

Page 8: Enable GoldenGate Monitoring with OEM 12c/JAgent

CaptureTrail

FilesPump

DeliveryTrail

Files

Capture (extract): committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. As

of V.11.2.1, GoldenGate offers two options for capture for Oracle; Classic & Integrated Capture

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 transaction integrity. New with

GoldenGate 12c, Integrated Delivery (replicat).

MGRMGR

GoldenGate Use Case Example

Page 9: Enable GoldenGate Monitoring with OEM 12c/JAgent

What tools available for monitoring?

Page 10: Enable GoldenGate Monitoring with OEM 12c/JAgent

13%

42%26%

19%

Monitoring Tool

Command Line

Scripts

GG Monitor

OEM

DISCLAIMER: Percentages are based on speakers understanding of what is mostly used in community (not an actual survey/example only)

%

More Approaches: http://www.slideshare.net/BobbyCurtisMBA/how-many-ways-to-monitor-oracle-golden-gatecollaborate-14

Page 11: Enable GoldenGate Monitoring with OEM 12c/JAgent

Monitoring of GoldenGate?

Page 12: Enable GoldenGate Monitoring with OEM 12c/JAgent

Oracle Enterprise Manager 12c Timeline

OEM

2011 - 2012

OEM

2013

12.1.0.1 12.1.0.2 12.1.0.3 12.1.0.4

12.1.0.1

OGG Plug-in

12.1.0.2

OGG Plug-inOGG ME

Version 1

OEM

2014

OEM

2014 2015

Buggy

Perl ScriptMulti-Function

Page 13: Enable GoldenGate Monitoring with OEM 12c/JAgent

Oracle Enterprise Manager 12c Plug-Ins

Oracle GoldenGate Plug-in

(12.1.0.1)

Used embedded JAgent

Buggy Berkley Database Issue

Poor Metrics

No real functionality

Up/Down Status Only

Oracle GoldenGate Plug-in (12.1.0.2)

Uses decoupled JAgent (12.1.3.0)

New Functionality Up/Down Status

Start/Stop Processes

Access Logs (Report Files and Error

Log)

Updated Metrics

Page 14: Enable GoldenGate Monitoring with OEM 12c/JAgent

What does the plug-in provide?

Page 15: Enable GoldenGate Monitoring with OEM 12c/JAgent

Info All

GGSCI (wilma.acme.com) 12> info all

Program Status Group Lag at Chkpt Time Since

Chkpt

MANAGER RUNNING

JAGENT RUNNING

REPLICAT RUNNING RGG12C 00:13:50 00:00:00

Description 'Integrated Replicat'

GGSCI (fred.acme.com) 3> info all

Program Status Group Lag at Chkpt Time Since

Chkpt

MANAGER RUNNING

JAGENT RUNNING

EXTRACT RUNNING EGG12C 00:00:01 00:00:01

Description 'Integrated Extract'

EXTRACT RUNNING PGG12C 00:00:00 00:00:00

Description 'Data Pump'

Page 16: Enable GoldenGate Monitoring with OEM 12c/JAgent

Report Files

*******************************************************************

****

Oracle GoldenGate Capture for Oracle

Version 12.1.2.1.0

OGGCORE_12.1.2.1.0_PLATFORMS_140727.2135.1_FB

O

Linux, x64, 64bit (optimized), Oracle 12c on Aug 7 2014

10:40:21

Copyright (C) 1995, 2014, Oracle and/or its affiliates. All

rights reserved.

Starting at 2015-04-07 08:55:07

*******************************************************************

****

………………

GGSCI> view report egg12c

Page 17: Enable GoldenGate Monitoring with OEM 12c/JAgent

Start/Stop Processes

GGSCI> stop extract egg12c

or

GGSCI> start extract pgg12c

Page 18: Enable GoldenGate Monitoring with OEM 12c/JAgent

Statistics

GGSCI> stats extract egg12c

GGSCI> stats extract pgg12c

Page 19: Enable GoldenGate Monitoring with OEM 12c/JAgent

Statistics (cont.)

Page 20: Enable GoldenGate Monitoring with OEM 12c/JAgent

Parameter Files

GGSCI> edit params egg12c

Page 21: Enable GoldenGate Monitoring with OEM 12c/JAgent

Topology View

Maybe next release!

Page 22: Enable GoldenGate Monitoring with OEM 12c/JAgent

Requirements, besides plug-in!

Page 23: Enable GoldenGate Monitoring with OEM 12c/JAgent

(Eddie)

Administrators

Note: SYSMAN can be used, but not advised

Page 24: Enable GoldenGate Monitoring with OEM 12c/JAgent
Page 25: Enable GoldenGate Monitoring with OEM 12c/JAgent

Credentials

Page 26: Enable GoldenGate Monitoring with OEM 12c/JAgent

When working!

Page 27: Enable GoldenGate Monitoring with OEM 12c/JAgent

Extra: Customizing

Page 28: Enable GoldenGate Monitoring with OEM 12c/JAgent

Extra: Customizing

Page 29: Enable GoldenGate Monitoring with OEM 12c/JAgent