Fault recovery in ws diamond using the sh bpel engine
This presentation is the property of its rightful owner.
Sponsored Links
1 / 15

Fault Recovery in WS-Diamond using the SH-BPEL Engine PowerPoint PPT Presentation


  • 87 Views
  • Uploaded on
  • Presentation posted in: General

Fault Recovery in WS-Diamond using the SH-BPEL Engine. Outline. WS-Diamond and Orchestration Self-Healing BPEL (SH-BPEL) Recovery Scenarios Recovery Using SH-BPEL Future Work. Example of Interactions among WS-BPEL Processes. CUSTOMER. SHOP. WAREHOUSE. Send Order. Receive Order. Split.

Download Presentation

Fault Recovery in WS-Diamond using the SH-BPEL Engine

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Fault recovery in ws diamond using the sh bpel engine

Fault Recovery in WS-Diamond using the SH-BPEL Engine


Outline

Outline

  • WS-Diamond and Orchestration

  • Self-Healing BPEL (SH-BPEL)

  • Recovery Scenarios

  • Recovery Using SH-BPEL

  • Future Work


Example of interactions among ws bpel processes

Example of Interactions amongWS-BPEL Processes

CUSTOMER

SHOP

WAREHOUSE

Send Order

Receive Order

Split

Split Order

Check Availability

On Supplier

Check Availability

On Warehouse

Check Availability

Calculation

Calculate Cost

Supply


Orchestration diagnosis and recovery

Diagnoser

WS-BPEL

Management

Interface

Recovery

Selector

Orchestration, Diagnosis, and Recovery

Event Logs

Web Service 1

Symptoms

Web Service 2

Fault

Notification

Repair Actions

Web Service N

SH-BPEL

Other Alarms

Event Logs


Process level recovery actions using sh bpel

Process-Level Recovery Actions Using SH-BPEL

  • Standard recovery mechanisms

    • Provided by the language

    • Specified by the designer

    • Fault handler, compensation handler, event handler

  • Pre-Processing recovery mechanisms

    • Based on existing WS-BPEL constructs

    • Inserted by designers using tags

    • Process variable modification, single task or scope retrying, alternative paths specification, return back to defined safe points

  • Extended recovery mechanisms

    • Realized by external (with respect to the WS-BPEL engine) recoverymodules

    • Recovery modules interact with both the WS-BPEL engine and invoked Web services

    • Substitution, Redo, Retry, ecc…


Sh bpel engine

SH-BPEL Engine

  • The purpose is the creation of a Self-Healing extension of BPEL engines (SH-BPEL)

  • SH-BPEL allows standard, pre-processing, and extended recovery actions

  • It is realized without modifying existing BPEL engine code

  • It is composed of a set of interfaces and modules that enable

    • The communication of SH-BPEL with the Diagnoser and the Repair Action Selector

    • The communication between extended recovery modules and the traditional BPEL engine


Sh bpel the architecture

SH-BPEL: The Architecture

Standard

BPEL Engine

B-API

PM-API

E-API

Message Monitor

SH-BPEL API

Message Monitor

Process Manager

M-API


Sh bpel the process manager

SH-BPEL: The Process Manager

BPEL Interface Mediator

Management

Engine

Web Service

Invoker

Substitution

Manager

Management Interface

Web Service

Retriever

Mediation

Service

Process Manager


Case 1 customer fault

Case 1: Customer Fault

CUSTOMER

SHOP

WAREHOUSE

  • The CUSTOMER is declared faulty

  • The Recovery Selector stops the SHOP

  • The CUSTOMER is repaired

  • The Recovery Selector sets the order variable of SHOP inserting the correct value

  • The Recovery Selector resumes the SHOP process from the receive order activity

Send Order

Receive Order

Split

Split Order

Check Availability

On Supplier

Check Availability

On Warehouse

Check Availability

Calculation

Calculate Cost

Supply


Case 2 shop fault

Case 2: Shop Fault

CUSTOMER

SHOP

WAREHOUSE

  • The SHOP is declared faulty

  • The Recovery Selector stops the SHOP and the WAREHOUSE

  • The split activity is repaired

  • The Recovery Selector retries the split activity

  • The Recovery Selector retries all the activities up to the calculate cost activity and then resumes the process

Send Order

Receive Order

Split

Split Order

Check Availability

On Supplier

Check Availability

On Warehouse

Check Availability

Calculation

Calculate Cost

Supply


Case 3 warehouse fault

Case 3: Warehouse Fault

CUSTOMER

SHOP

WAREHOUSE

  • The WAREHOUSE is declared faulty

  • The Recovery Selector stops the SHOP and the WAREHOUSE

  • The Recovery Selector substitutes the WAREHOUSE

  • The Recovery Selector redoes the check availability activity

  • The Recovery Selector redoesall the activities up to the calculate cost activity and then resumes the process

Send Order

Receive Order

Split

Service

Split Order

Check Availability

On Supplier

Check Availability

On Warehouse

Check Availability

Calculation

Service

Calculate Cost

Supply


Demo structure case 1 and case 3

WS-BPEL

Management

Interface

Demo Structure (Case 1 and Case 3)

SHOP

Client

WSDM

Invocation

Subscription

SH-BPEL

Administrator

Notification

WAREHOUSE 1

WAREHOUSE 2

Stop

Repair

WSDL1≠ WSDL2

Resume

SH-BPEL


Web service substitution mediator configuration

WSDL Matcher

Matching Engine

Similarity Engine

Web Service Substitution: Mediator Configuration

Warehouse 1

WSDL

URBE

Registry

Warehouse 1 WSDL

Mediation

Service

Warehouse 2 WSDL

Warehouse 1

WSDL

Mapping

Document

Warehouse 2

WSDL


Web service substitution mediator execution

Web Service Substitution:Mediator execution

Input message

(Warehouse 1 WSDL)

Input message

(Warehouse 2 WSDL)

Mediation Service

Translation Engine

Output message

(Warehouse 1 WSDL)

Output message

(Warehouse 2 WSDL)

External Data

Retriever


Future work

Future Work

  • Introduce Semantics to

    • Enhance recovery actions

    • Enhance service mediation

  • Define patterns and strategies to recover from common faulty situations


  • Login