DEV-42: Achieving Real-time BAM with OpenEdge ®, Sonic ™, and Apama ® Eric DebeijBart Schouw...

Post on 29-Dec-2015

217 views 1 download

Tags:

Transcript of DEV-42: Achieving Real-time BAM with OpenEdge ®, Sonic ™, and Apama ® Eric DebeijBart Schouw...

DEV-42: Achieving Real-time BAM withOpenEdge®, Sonic™, and Apama®

Eric DebeijBart SchouwBusiness Development Manager Senior Product Consultant

© 2008 Progress Software Corporation4 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

The wiper story

© 2008 Progress Software Corporation5 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Today we will show you

What do we mean by Real-time BAM Why would you want to have it? Case study What architectural requirements are needed Can you implement BAM in an existing

environment? Demo time, let’s build something

© 2008 Progress Software Corporation6 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Your hosts today!

© 2008 Progress Software Corporation7 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Today’s Situation

Causes

Big number of Systems and ApplicationsComplex processes and WorkflowFunctions and responsibilities increasingVolumes increasingClients are adding pressure

Result

Fire fighting every day!

Symptoms

No end-to-end visibility of the processIncidents discovered too lateDifficult to quantify the operational impact of a problemResponse time: Not quick enoughRoot cause analysis: Hard to find cause

© 2008 Progress Software Corporation8 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Complex Event ProcessingCustomer Success

Company providing shop floor automation

With an Enterprise Resource Monitoring system

Company providing shop floor automation

With an Enterprise Resource Monitoring system

© 2008 Progress Software Corporation9 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Complex Event ProcessingCustomer Success

© 2008 Progress Software Corporation10 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

So what is BAM!

Monitor Key Objectives

Anticipate operational risks or incidents

Reduce latency between significant events and actions

“Provide business users real-time access to, and analysis of, important business indicators” - Bill Gassman

© 2008 Progress Software Corporation11 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

But……!

BAM can be like a smoke detector

It’s simple and it’s passive – You have to take action!

© 2008 Progress Software Corporation12

BAM

DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

BAM vs realtime BAM

Realtime BAM

TTT

T+xT+xEvent

Correlator(s)

© 2008 Progress Software Corporation13

Let’s realtime BAM these items …

= Route Guidance

= Real Time Information

+ = Real Time Optimized Route Guidance

© 2008 Progress Software Corporation14 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Achieving visibility

© 2008 Progress Software Corporation15 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

So what is CEP adding?

BAM becomes not only realtime but also intelligent

Can take action…proactively

COMPLEX EVENT PROCESSING

© 2008 Progress Software Corporation16

Intelligent BAM = Realtime BAM + ACTION!

DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Intelligent BAM

Event Correlator(s)

© 2008 Progress Software Corporation17

Let’s BAM these intelligent …

Real Time Optimized

Route Guidance

Your rescue!

+

© 2008 Progress Software Corporation18 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

ActionAction

ActionAction

ActionActionEventsEvents

EventsEvents

EventsEvents

Apama Development platform

Event Correlator(s)

Research StudioDeveloper Studio

Apama IDE

Scenario Modeler

Integration Adapter Framework

Enterprise Management & Monitoring Environment

Event Store

Capture for Back testing & Analysis

Business Rules

Business Rules

Business Rules

Business Rules

Business Rules

Business Rules

Business Rules

Business Rules

RDBMS

Dashboard Studio

Dashboards

© 2008 Progress Software Corporation19 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Study: Integrating Apama at OE customersite

© 2008 Progress Software Corporation20 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Study: Architecture

Excel

DB-2

OpenEdge AppServer™

Third party

DB

3th

party

App

DB-1

Env1 Env2

Db triggers

OpenEdge production

Trend / detail database

DWH

© 2008 Progress Software Corporation21 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Demo time!

© 2008 Progress Software Corporation22 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Demo caseEvent Feed: OpenEdge Apama

Monitor ill persons Every ill person gets through the stadia:

• ill, Revalidating, Better An illness report is triggered from OpenEdge The illness report is transported and enriched by

Sonic The illness reports are collected and correlated by

Apama A dashboard gives an overview of ill people grouped

by the regional teams

© 2008 Progress Software Corporation23 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

DemoEvent Feed: OpenEdge Apama

Architecture Define the events of the feed Sending events from OpenEdge Event/xml mapping Define the feed Scenario’s Dashboard Deploy dashboard via Apache Tomcat

© 2008 Progress Software Corporation24

deployment Deployment Model

Use r

Application Serv er Sonic Serv er

OpenEdge Application Sonic 7. *

Apama Serv er

Apama JMS Adapter

Apama CorrelatorApama Dashboard v iewer

Apama Dashboard Serv er

Internet Ex plorer

OE Sonic AdapterAcme.Report

«Topic»

Acme.Report

«Topic»

DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Deployment Structure

© 2008 Progress Software Corporation25 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Define the Events of the EventFeed

Acme.Feeds

Feed: Acme.Report•PersonCode

•TeamCode

•Indication

•DateTime

•ActionDate

•WorkPercentage

© 2008 Progress Software Corporation26 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Sending Events from OpenEdge

In the application code (OpenEdge ABL): Acme:SendReport('A001', 'A', 'Flue', now, NextWeek(), 0).

In Sonic:<?xml version="1.0" ?>

<Report><PersonCode>A109</PersonCode> <TeamCode>A</TeamCode><Indication>Flue</Indication><DateTime>2008-05-02T09:51:33.625+02:00</DateTime> <ActionDate>2008-05-09T09:51:33.625+02:00</ActionDate> <WorkPercentage>50.0</WorkPercentage>

</Report>

© 2008 Progress Software Corporation27 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Event XML mappingApama IAF – Integration Adapter Framework

JMS mapping rules:<mapping-rules>

<map apama="PersonCode“

transport="Body.Report/PersonCode#1/text()#1

type="string” default=""/>

<map apama="TeamCode" transport="Body.Report/TeamCode#2/text()#1" type="string" default=""/>

…..

Apama event:event Report {

string PersonCode;

string TeamCode;

string Indication;

string DateTime;

string ActionDate;

float WorkPercentage;

}

© 2008 Progress Software Corporation28 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Define the Feed

© 2008 Progress Software Corporation29 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Define Scenarios

Sick report scenario Team scenario

© 2008 Progress Software Corporation30 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Build Dashboards

© 2008 Progress Software Corporation31 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Deploy Dashboard via Apache Tomcat

Create deployment package Login into dashboard and deploy

http://vmede:8080

© 2008 Progress Software Corporation32 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

In Summary

Apama delivers visibility to the business

Apama works easily together with OE

Why wait?

© 2008 Progress Software Corporation33 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

For More Information, go to…

http://www.progress.com/apama/products/bam-platform/index.ssp

© 2008 Progress Software Corporation34 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Relevant Exchange Sessions

we were the last

© 2008 Progress Software Corporation35 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Questions?

© 2008 Progress Software Corporation36 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama

Thank You

© 2008 Progress Software Corporation37 DEV-42: Achieving Real-time BAM with OpenEdge, Sonic and Apama