demystifying soa management

32
Vision ~ Knowledge ~ Results SOA Suite, BPM, WebCenter, Java - Lean, Agile, Scrum, Results Demystifying SOA Management Customer Case: Implementing BTM on SOA Suite10g Tony van Esch, Oracle Technology Specialist Whitehorses The Netherlands Oracle OpenWorld October 4 th , 2011 Moscone West

Upload: tony-van-esch

Post on 04-Jul-2015

65 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Demystifying soa management

Vision ~ Knowledge ~ Results

SOA Suite, BPM, WebCenter, Java - Lean, Agile, Scrum, Results

Demystifying SOA ManagementCustomer Case: Implementing BTM on SOA Suite10g

Tony van Esch, Oracle Technology Specialist

Whitehorses – The Netherlands

Oracle OpenWorld – October 4th, 2011 – Moscone West

Page 2: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

About me

● 10+ years Oracle experience

● OCP 10g Database + AS

● Consultant at Whitehorses

(@WhitehorsesNL)

● Pragmatic

● Middleware, High Availability, Scalability

Page 3: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Agenda

CustomerCase

Proof of Concept

FinalImplementation

Future

Page 4: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Customer case

● Who: Dutch government organisation

● What: Gain non-intrusive insight in SOA execution

● Why: Accountability toward partners

● How: “Runtime Governance” needed

Page 5: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Customer Case - Architecture

SOASuite

Siebel

B2B

Search

Legacy

AQ

OWSM

OESB

BPELPartners

PartnersRules

DMS

Page 6: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Customer Case: old situation

ESB

Siebel Db

Business Services

Monitoring SOA execution

UI EM

Rules DMS Search

Console Console ConsoleConsoles

Page 7: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Customer Case: wish

ESB

Business Services

Monitoring SOA execution

Console

Siebel Db Rules DMS Search

observer

Page 8: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Business Transaction Management

Process Engine Service Bus

End-to-End, Transaction Monitoring

Collect. Manage. Report.

Page 9: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

producer

Collect: Stealth tracking

● No code changes

● Non invasive

● Minimal overhead

JRockit

Weblogic

ESB

BTMObserver

Proxy service

Business service

consumer

Page 10: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

BTM: Collect

● Always On, Real-time tracking

● Across all SOA infrastructure and

applications

● Collects payload content

● Harvest flow metrics

● No modifying or tagging messages

Page 11: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

BTM: Manage

• Performance: throughput, latency

• Availability

• Exceptions: technical, business

Page 12: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Oracle BTM: console

baselines andthresholds

Performance MetricsSLA

Page 13: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

BTW Reporting

•Business content

• Time range

• Specific faults

•Response times

Online

•BI Publisher 10g or 11g

•BTMCLIPublish

Page 14: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

BTM Browser

Page 15: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Customer Case: Two stages

Proof of Concept

• New product

• No knowledge

• High stakes

Finalimplementation

• Lessons Learned

Page 16: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Stage 1: Proof of Concept

● Initial design with BTM 10g (Amberpoint)

● No High Availability

● One simple, medium and complex flow

● Stealth mode observer

● Proxy implementation with OSB 10g

Page 17: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Three challenges

● OC4J: not instrumented

● AQ: not instrumented

● Dependencies: manual correlation between

processes

Page 18: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Challenge 1: OC4J

SOASuite Server 2

BTM Server 2BTM Server 1

Weblogic Server(1) Weblogic Server(2)

OBTM-Services (WL-Cluster)

Sphere Perf

EXM

Monitor 1 Monitor 2 Monitor 3 Monitor 4

SOASuite Server 1

Weblogic Server(1) Weblogic Server(2)

OSB-Domain (WL-Domain)

OSB Console

OSB Server 1 OSB Serve3 2

BTM

OsbserverBTM

Osbserver

AdminServer

Page 19: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Challenge 2: OC4J

● No observer available for OC4J

● Need for instrumented proxy: OSB

Page 20: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

JRockit

Weblogic

Challenge 2: AQ

AQ original AQ copy

SOASuite

OSB

Siebel

BTMObserver

DMS

Proxy service

Dummy Business service

Page 21: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

● Handling AQ queues without tampering

– Created copy queues

– Messages were replicated to copy queues

– OSB proxy consumes from copy queues

● Extra challenges

– No native AQ support in Weblogic10g

– No container managed connections

– Endpoints BPEL compiled in process

Challenge 2: AQ

Page 22: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Challenge 3: Dependencies

● First auto discovery of services

● Then manual correlation

– Which attribute(s) correlate the messages

– Use xpath

– One on one dependency mapping

Page 23: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Lesson learned POC

● Choosen path is correct: delivers & more

● Need for improvements on BTM10g

– Built-in reporting not flexible

– Limited instrumented platforms

– performance

● Don’t treat BTM as standalone add-on

Page 24: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Stage 2: final implementation

● High availability

● performance

– Switched BTM nodes from win32 > Linux 64bit

– Policy tuning (multiple monitoring groups)

– Sizing

● Stability

– migrate to BTM 11g

– Dedicated separate OSB for AQ

Page 25: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Recap… before

SOASuite Server 2

BTM Server 2BTM Server 1

Weblogic Server(1) Weblogic Server(2)

OBTM-Services (WL-Cluster)

Sphere Perf

EXM

Monitor 1 Monitor 2 Monitor 3 Monitor 4

SOASuite Server 1

Weblogic Server(1) Weblogic Server(2)

OSB-Domain (WL-Domain)

OSB Console

OSB Server 1 OSB Serve3 2

BTM

OsbserverBTM

Osbserver

AdminServer

Page 26: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

SOASuite Server 2

BTM Server 2BTM Server 1

Weblogic Server(1) Weblogic Server(2)

OBTM-Services (WL-Domain)

Sphere

SLMEXM Monitor 1

Monitor 2 Monitor 3 Monitor 4

SOASuite Server 1

Weblogic Server(1) Weblogic Server(2)

OSB-Domain (WL-Domain + Cluster)

OSB Console

OSB Server 1 OSB Serve3 2

BTM

OsbserverBTM

Osbserver

AdminServer

Weblogic Server(3)

OSB-Domain (WL-Domain)

OSB Console

OSB Server 3

BTM

Osbserver

Load Balancer

Monitor 5

Monitor 6

Load Balancer

And, after…

Page 27: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Sizing

● 2,5m messages per month

● #logged messages: 2,5 *6 = 15m

● #logged message props: 15M * 3 = 45m

● Size messages: 15M * 6k = 90G

● Size props: 45m * 1k = 45G

● Total size db with 1 month retention: 135G

Page 28: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Reporting

● New release supports BI publisher

● Basic reporting implemented

– Using BTMCLI to extract data from BTM

– Data is loaded in flat table to facilitate simple

querying.

– Reporting on #processed btx per hour.

● Full reporting planned with OBI EE

Page 29: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Results

Problem

● message flow statistics

● Message tracking

● Problem resolution

● Non invasive

● Soasuite10g

uninstrumented

● AQ

Solution

BTM reporting

BTM console: search

content

BTM console / alerting

Observer

OSB proxy

Upgrade 11g

Page 30: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

BTM delivers

● Non invasive monitoring

● Monitor uninstrumented components via

proxy config

● Low performance overhead

● Scalable

● Visibility

Page 31: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Future enhancements….

Performance & scalability– Monitored Components: 10,000

• >6x improvement over 11.0

– Services: 5000 - 6000

– Request Throughput: Essentially unlimited

– Transaction Definitions: 100 to 500

• 25x increase from 11.0

Integration- RUEI- EMGC

Extending Platform support- EJB 3.0- WAS 7- Fusion Apps: ADF BC- Jboss 5- .NET 4- BusinessWorks 5.8

Page 32: Demystifying soa management

Whitehorses B.V. - Recognised Oracle Integration Specialists: @WhitehorsesNL

Demos

● Moscone South SR 224; Demo #8064

● Online: bit.ly/demoBTM

Contact me…

[email protected]

● twitter.com/TonyvanEsch