1 / 20

On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows

On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows. Aleksander Slomiski Department of Computer Science Indiana University www.extreme.indiana.edu. Workflow.

konala
Download Presentation

On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Department of Computer Science Indiana University www.extreme.indiana.edu

  2. Workflow • WfMC defined a workflow as “The automation of a business process, in whole or parts, where documents, information or tasks are passed from one participant to another to be processed, according to a set of procedural rules” • This definition is document office automation oriented • Workflow Management System (WFMS): “a system that defines, creates and manages the execution of workflows through the use of software, running on one or more workflow engines, which is able to interpret the process definition, interact with workflow participants and, where required, invoke the use of IT tools and applications”.

  3. Historical Perspective • ’65-’75 Decompose Applications • Data And Code Separated • ’75-’85 Database Management • DBMS Used To Share Data • ’85-’95 User Interface Management • UIMS User Interface Separated • ’95-’05 Workflow Management • Isolate Business Process “Workflow Management” Aalst, van Hee

  4. Categories Of Workflows Scientific Business Value  Repetition  “Production Workflows” Leyman, Roller

  5. Orchestration and Web Services • WSFL • IBM: Web Services Flow Language, May 2001 • XLANG • Microsoft, May 2001 • GSFL • Grid Services Flow Language, July 2002 • WSCL / WSCI / W3C WS Choreography WG • HP WS Conversation Language, March 2002 • Web Service Choreography Interface, August 2002 • BEA, SAP, Sun, Intalio • BPEL4WS / OASIS WSBPEL • Replaces WSFL and XLANG, August 2002

  6. BPEL4WS • OASIS WSBPEL group: • BEA, Choreology Ltd, Collaxa, EDS, HP, IBM, Intalio, NEC, Novell, Microsoft, Oracle, SAP, Sun, Sybase, Workflow Management Coalition (WfMC), and many more ... • Unique mix of two different paradigms • XLANG: hierarchical structure with specialized control constructs • WSFL: graph structure with control patterns based on transition and join conditions.

  7. BPEL4WS Overview • Specifies how to connect multiple web service to provide new web service • The same language is defined to define executable and abstract process (contract) • Executable process describes everything needed to execute workflow • Abstract process describes required observable behavior of workflow based on message exchange (this allows to verify contracts between business partners) • Provide support for basic Web Service activities: invoke, receive, reply • Implicit lifecycle: workflow process instance is created when a message is marked as "start" and arrives to workflow engine

  8. Motivation:XML/Web/Grid Services Fusion Transport (ex. HTTP) Security (XML dsig.) WSRF Notification GridWS/XMLServices RPC style WSRFFramework Reliable Messaging Type Mapping Future?WS-Stuff

  9. Integration Goals • Leverage Web Services Workflow Specification • BPEL4WS suitable with built-in extensibility • Compatibility with BPEL 1.1 • Extend Not Replace! • Can execute BPEL 1.1 examples without any change • Seamless integration with WS-RF (OGSI) • Grid/Semantic Web can use GPEL as “executable”

  10. Additional Goals • Fully Observable State • Monitoring tools • Steering: Dynamically Modifiable • Modular extensibility • For example: module to work with XCAT components • Easy to integrate inside portals

  11. Example Workflow Process Web Services (Partners) Grid Services (Grid Partners) Receive Component Services (Create, Connect) Web Service Invoke Invoke CoG Services (security, GridFTP) WSRF Service Reply Pub/Sub Messaging Another BPEL Process

  12. BPEL And OGSI Integration • Leveraging BPEL abstractions • BPEL Partner is known by interface (PortType) • Very powerful integration mechanism! • Understands natively GSH/Locator as service reference • Handle automatically GSH to GSR conversion • Supports Explicit and Implicit Lifecycle • GPEL workflow engine is also OGSI Factory

  13. Issues in OGSI Integration • GSH/GSR and WS-Addressing • Endpoint Reference (EPR) is not GSH or GSR … • Semantic differences: EPR has WS-Police, … • BPEL and OGSI Factory • BPEL Engine acts as factory • BPEL has already implicit creation model • BPEL Engine that is NOT OGSI Factory • Will not fit into common OGSI usage pattern • OGSI Factory is optional …

  14. WSRF support • WS-Addressing (WSA) • Workflow Instance identification • WSA is already used by BPEL … • No need to do conversions • WS-Resource properties • Similar to OGSI SDEs • WS-Notification • Monitoring workflow state

  15. Integration with Today Grid • GridFTP, GSI Security, Condor, … • Add set of pseudo partners (services) • No need to extend BPEL syntax! • They represent built-in functionality (handy!) • Can be implemented as real Web Services • Will make easy to write workflow that is: • Working on Grid (CoG services) • Manipulating components (XCAT) • Large data transfers (GridFTP, RFT service) • … • Similarly could have OGSI partners • Natively understands GSH/GSR/locator • Maintains soft state etc.

  16. Very Long Running Processes • Some processes are short lived and some not • Long running simulations • Iterative Computation • Permanent searches • Workflow Engine must be able to survive host restart • All state stored in database • Lends itself to scalability: per instance state is easy to share

  17. Synchronous vs. Asynchronous • <receive/>  <reply/> • Typical binding is SOAP/HTTP • Use WS-Addressing <ws:ReplyTo/> • User can specify its return address!!! • Receive connection can be one and closed! • Reply can be executed

  18. Reliability (Under Development) • Use WS-ReliableMessaging • WS-RM enabled Workflow endpoint • Invoking external services with WS-RM • What if workflow engine is restarted? • Allow to annotate partners • Designate operations as idempotent • Allow to specify exponential back-off retries

  19. Additional Issues • Workflow Monitoring • How much state exposed as XML is needed? • Need a common framework to filter • WS-Notification Topics? • Fault Tolerance • Selection of alternative services • Dealing with “unexpected” exceptions • Supporting Large Data and Streaming • Suitable metaphor (in BPEL)?

  20. Summary • BPEL can be adapted to work in Grids • Key: deployment is not part of BPEL • However there are many levels of adaptation … • There are issues beyond OGSI/WSRF • Supporting large data and streaming • Dealing with faults and error recovery • Monitoring and managing workflows • Workflow deployment • Security • …

More Related