WS – PGRADE/gUSE Tutorial MTA SZTAKI Laboratory of Parallel and Distributed Systems (LPDS) M. Kozlovszky Senior Research fellow

Slides:



Advertisements
Similar presentations
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
Advertisements

1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 2 Getting Started.
1 CEOS WGISS Meeting, May 8-12, 2006, Budapest MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences
1 P-GRADE Portal and GEMLCA Legacy Code Architecture Peter Kacsuk MTA SZTAKI
1 Advanced Tools for Account Searches and Portfolios Dawn Gamache Cindy Bylander.
1 NatQuery 3/05 An End-User Perspective On Using NatQuery To Extract Data From ADABAS Presented by Treehouse Software, Inc.
Chair of Software Engineering Einführung in die Programmierung Introduction to Programming Prof. Dr. Bertrand Meyer Exercise Session 5.
Database Performance Tuning and Query Optimization
ETS4 - What's new? - How to start? - Any questions?
Campaign Overview Mailers Mailing Lists
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
INTRODUCTION Lesson 1 – Microsoft Word Word Basics
Benchmark Series Microsoft Excel 2013 Level 2
HORIZONT TWS/WebAdmin TWS/WebAdmin for Distributed
Sample Service Screenshots Enterprise Cloud Service 11.3.
12th EELA Tutorial, Lima, FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America.
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Mobility Tool Fremtidens afrapportering 2013 – Erasmus Mobilitet / IP 2014 – Erasmus+ aktioner.
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Services Course Windows Live SkyDrive Participant Guide.
Executional Architecture
1 How Do I Order From.decimal? Rev 05/04/09 This instructional training document may be updated at anytime. Please visit and check the.
1 BRState Software Demonstration. 2 After you click on the LDEQ link to download the BRState Software you will get this message.
To the Assignments – Work in Progress Online Training Course
Chapter 12 Working with Forms Principles of Web Design, 4 th Edition.
TIDE Presentation Florida Standards Assessments 1 FSA Regional Trainings Updated 02/09/15.
P. Kacsuk, G. Sipos, A. Toth, Z. Farkas, G. Kecskemeti and G. Hermann P. Kacsuk, G. Sipos, A. Toth, Z. Farkas, G. Kecskemeti and G. Hermann MTA SZTAKI.
P-GRADE and WS-PGRADE portals supporting desktop grids and clouds Peter Kacsuk MTA SZTAKI
WS-PGRADE: Supporting parameter sweep applications in workflows Péter Kacsuk, Krisztián Karóczkai, Gábor Hermann, Gergely Sipos, and József Kovács MTA.
WS-PGRADE Akos Balasko LPDS MTA SZTAKI. Content General Overview Parts of System Activities (of advanced and of common user) Simplified Graph of the hierarchy.
1 portal.p-grade.hu Further information on P-GRADE Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
WS – PGRADE Tutorial MTA SZTAKI Laboratory of Parallel and Distributed Systems (LPDS) M. Kozlovszky Research fellow
07/06/11 New Features of WS-PGRADE (and gUSE) 2010 Q Q2 Miklós Kozlovszky MTA SZTAKI LPDS.
SCI-BUS is supported by the FP7 Capacities Programme under contract nr RI Creating the Autodock gateway from WS-PGRADE/gUSE and making it cloud-enabled.
From P-GRADE to SCI-BUS Peter Kacsuk, Zoltan Farkas and Miklos Kozlovszky MTA SZTAKI - Computer and Automation Research Institute of the Hungarian Academy.
INFSO-RI Enabling Grids for E-sciencE Supporting legacy code applications on EGEE VOs by GEMLCA and the P-GRADE portal P. Kacsuk*,
Introduction to WS-PGRADE and gUSE Tutorial Akos Balasko 04/17/
WS-PGRADE portal and its usage in the CancerGrid project M. Kozlovszky, P. Kacsuk Computer and Automation Research Institute of the Hungarian Academy of.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Code Applications Tamas Kiss Centre for Parallel.
WS – PGRADE/gUSE Tutorial MTA SZTAKI Laboratory of Parallel and Distributed Systems (LPDS) M. Kozlovszky Senior Research fellow
1 P-GRADE Portal: a workflow-oriented generic application development portal Peter Kacsuk MTA SZTAKI, Hungary Univ. of Westminster, UK.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
Parameter Study Principles & Practices. What is Parameter Study? Parameter study is the application of a single algorithm over a set of independent inputs:
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Services for advanced workflow programming.
1 P-GRADE Portal: An easy to use graphical interface for Globus and EGEE Grids.
1 Practical information for the GEMLCA / P-GRADE hands-on Tamas Kiss University of Westminster.
SHIWA and Coarse-grained Workflow Interoperability Gabor Terstyanszky, University of Westminster Summer School Budapest July 2012 SHIWA is supported.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to P-GRADE Portal hands-on Miklos Kozlovszky MTA SZTAKI
SHIWA: Is the Workflow Interoperability a Myth or Reality PUCOWO, June 2011, London Gabor Terstyanszky, Tamas Kiss, Tamas Kukla University of Westminster.
Application Specific Module Tutorial Zoltán Farkas, Ákos Balaskó 03/27/
1 P-GRADE Portal hands-on Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
1 Further information and next steps Further information and next steps Gergely Sipos MTA SZTAKI
07/02/2012 WS-PGRADE/gUSE in use Lightweight introduction Zoltán Farkas MTA SZTAKI LPDS.
WS-PGRADE/gUSE in use Advance use of WS- PGRADE/gUSE gateway framework Zoltán Farkas and Peter Kacsuk MTA SZTAKI LPDS.
Grid Execution Management for Legacy Code Architecture Exposing legacy applications as Grid services: the GEMLCA approach Centre.
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
SHIWA Simulation Platform (SSP) Gabor Terstyanszky, University of Westminster EGI Community Forum Munnich March 2012 SHIWA is supported by the FP7.
Usage of WS-PGRADE and gUSE in European and national projects Peter Kacsuk 03/27/
RI EGI-TF 2010, Tutorial Managing an EGEE/EGI Virtual Organisation (VO) with EDGES bridged Desktop Resources Tutorial Robert Lovas, MTA SZTAKI.
New developments of gUSE & WS-PGRADE to support e-science gateways Peter Kacsuk and Miklos Kozlovszky MTA SZTAKI - Computer and Automation Research Institute.
Convert generic gUSE Portal into a science gateway Akos Balasko.
Tamas Kiss University Of Westminster
How to connect your DG to EDGeS? Zoltán Farkas, MTA SZTAKI
Introduction to gUSE and WS-PGRADE portal
Grid Application Support Group Case study Schrodinger equations on the Grid Status report 16. January, Created by Akos Balasko
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
Lightweight introduction
Lightweight introduction
MIK 2.1 DBNS - introduction to WS-PGRADE, 2013
Introduction to the SHIWA Simulation Platform EGI User Forum,
Presentation transcript:

WS – PGRADE/gUSE Tutorial MTA SZTAKI Laboratory of Parallel and Distributed Systems (LPDS) M. Kozlovszky Senior Research fellow

2 Contents History, family of products P-GRADE Portal, WS-PGRADE, gUSE WS-PGRADE in a nutshell Architecture, high level structures, Workflow handling WS-PGRADE features Parameter Study (PS) support Repository Internal Storage (home dir) Automated workflow submission & Timing Web services Embedded Workflows DB support Conditional job submission Job’s history, logging and statistics Howto use WS-PGRADE /Basic + Advanced tasks/

3 Family of P-GRADE Portal products P-GRADE portal Creating (basic) workflows and parameter sweeps for clusters, service grids, desktop grids P-GRADE/GEMLCA portal (University of Westminster) To wrap legacy applications into Grid Services To add legacy code services to P-GRADE Portal workflows WS-PGRADE/gUSE ( Web Services Parallel Grid Runtime and Developer Environment/Grid User Support Environment) architecture ) Creating complex workflow and parameter sweeps for clusters, service grids, desktop grids, databases Creating complex applications using embedded workflows, legacy codes and community components from workflow repository

4 P-GRADE Portal software family P-GRADE Portal 2.4 NGS P-GRADE portal P-GRADE Portal 2.5 P-GRADE Portal 2.8 P-GRADE Portal WS-PGRADE Portal 3.1 WS-PGRADE Portal 3.2 GEMLCA Grid Legacy Code Arch. GEMLCA, storage concepts Basic concepts WS-PGRADE Portal 3.3 P-GRADE Portal Open source

5 References and WS-PGRADE/gUSE installations WS-PGRADE Portal service is available for GILDA - Training VO of EGEE and other projects SEE-GRID - South-Eastern European Grid VOCE - Virtual Organization Central Europe of EGEE HunGrid - Hungarian Grid VO of EGEE NGS - UK National Grid Service Desktop Grids: SZTAKI DG Users and projects using WS-PGRADE/gUSE EDGeS, EDGI projects: Integrating EGEE with BOINC and XtremWeb technologies ProSim project: In silico simulation of intermolecular recognition,JISC ENGAGE program University of Westminster Desktop Grid: Using AutoDock on institutional PCs CancerGrid project: Predicting various properties of molecules to find anti-cancer leads, eScience gateway for chemists SHIWA (SHIWA Simulation platform v2.0)

6 WS-PGRADE/gUSE in a nutshell General purpose, workflow-oriented portal. Supports the development and execution of workflow-based applications Based on Liferay Services supported by the portal: Web services DB connectors Embedded workflows Job level Parameter Study Conditional jobs Recursive graph Multi-generator Multi-collector CROSS product Parameter Study support DOT product Parameter Study support Simultaneous use of various clusters, service and desktop Grids at workflow level DCIsSupported gLite ARC Unicore LCG2 GT2, GT4 Desktop Grids Clusters Clouds

7 WS-PGRADE architecture Graphical User Interface: WS-PGRADE Workflow Engine Workflow storage File storage Application repository Logging gUSE information system Submitters Liferay/Gridsphere portlets Autonomous Services: high level middleware service layer Resources: middleware service layer Local resources, service grid VOs, Desktop Grid resources, Web services, Databases gUSE Meta-broker Submitters File storage Submitters

8 Concrete Workflow Algorithms, executable Resource references, Inputs Graph Jobs, Edges, Ports Template Constraints, Comments, Form Generators Workflow Instance Running state, Outputs Repository Item Application OR Project OR, Workflow part (G,T,CW) Important high-level graph structures in WS-PGRADE Legend: a b a must reference b a b a may reference b

9 Concrete Workflow Algorithms, Resource references, Inputs Graph Jobs, Edges, Ports Template Constraints, Comments, Form Generators Workflow Instance Running state, Outputs Repository Item Application OR Project OR, Workflow part (G,T,CWI) New Edit, Copy Delete New Configure, Copy, Delete New Submit New Workflow handling by Developer Export Import Observe, Download, Suspend, Delete Edit 1. Create and edit the Graph structure 2. Add name to the graph and configure it (job, port, resources, etc.) 3. Submit the Concrete Workflow, observe its status and fetch its result 4. Restrict some parameters/features of the workflow and create a template 5. Add name to the template and configure it (job, port, resources, etc.) 8. Redefine the originally used graph within the workflow 6. Export workflow, template, graph, to the repository (reuse it later by you or by end users) Graph2 Jobs, Edges, Ports 7. Reuse an Application, Template, graph or Workflow from repository

10 Concrete Workflow Algorithms, Resource references, Inputs Template Constraints, Comments, Form Generators Workflow Instance Running state, Outputs Repository Item Application OR Project OR, Workflow part (G,T,CW,WI) Configure, Delete Submit Workflow handling by end user Import Observe, Download, Suspend, Delete 1. Import an Application/Template 2. Set the available parameters on the end- user View 3. Submit the Concrete Workflow, observe its status and fetch its result

11 Contents History, family of products P-GRADE Portal, WS-PGRADE, gUSE WS-PGRADE/gUSE in a nutshell Architecture, high level structures, Workflow handling WS-PGRADE features Parameter Study (PS) support Repository Internal Storage (home dir) Workflow activation & Timing Web services Embedded Workflows Cloud jobs DB support Conditional job submission Job’s history, logging and statistics Howto use WS-PGRADE /Basic + Advanced tasks/

12 Repository usage & services Share with others the developed Graphs Workflows - Configured graphs Templates - Restricted workflows Applications - Semantically tested, trusted Workflows containing the definitions of the eventually referenced Embedded Workflows (including their transitive closures) Projects - Applications which are not ready/fully functional yet Build up a science/application gateway for end-users Restrict certain workflow parameters Provide easy workflow configuration/parameter setup interface Repository is acting like an interface between developers and end users Note: Exported/imported “Projects” are not checked for completeness and correctness “Applications” are checked. Name collisions are checked and handled by the system.

13 Repository Export Step 1: The button Export of the requested WF is selected Step 2: Decide about the way of exporting (in case of Application and Project the Embedded Workflows will be exported with) Step 3: Enter free input text which appearing in the Import List will describe and identify the object for the user. Step 4: Execute the Export Way of working is similar in case of Graph and Template just “Export type” can not be select there

14 Repository views Materials are classified by their type Latest available lists Application Project Concrete Template Graph To import

15 Columns of individual instances, please note, that outputs can be downloaded separately Internal Storage (user workspace) Columns of bulk download: All or proper parts of all instances of a given WF can be downloaded Information about the quota of the user allotted storage capacity in the Portal server

16 Upload Implementation to the internal Storage Step 1: Select the compressed file in the client machine containing the requested Workflow Step 2(option): Check the kind of name(s) you want to redefine Step 3 (If Step 2 performed): Enter the new name(s) which will not collide Step 4: Confirm the operation

17 Workflow submission A workflow can be submitted by 3 different way: 1.Interactively started by the user hitting the button Submit belonging to the given concrete workflow on the portlet Workflow/Concrete (default) 2.Started by a –crontab like - predefined time schedule. The corresponding timetable can be set in the portlet Workflow/Timing 3.Started by an external event. The corresponding event to be waited for and the name of the Workflow can be defined in the portlet Workflow/Remoting

18 Workflow Submission(1) Interactively by the user Step 1: The workflow is selected by button “Submit” Step 2: The submission can be confirmed or refused after the optional filling of a free description field identifying Workflow Instance for the user

19 Workflow Submission(2) (on HP-SEE portal yet not enabled) Start automatically by an internal timer List of scheduled Workflows Definition of a new element to be added Checklist to select an existing Workflow to be added Tool to define submission time Confirm button to append a new element to the list Item can be revoked deleting it from the list The items will leave the list on schedule time expiration even if the Workflow submission has failed by any cause Start a workflow at a predefined time Valid certificate should be available (if grid is used) Crontab like working Single run

20 Workflow Submission(3) (on HP-SEE portal yet not enabled) Start by external event Two parts must be defined: On the Portal Server Side - the name of the Workflow and - the identifier “Remote Key” On the Client Side inside of a WSDL description - the URN of service call - the name of the service - the owner of the workflow (user) - the identifier “Remote Key” - a free string to be associated to Workflow Instance Note, that a Service call referencing a common Remote Key used in more than one Portal Server Side description submits all the associated Workflows

21 Workflow Submission(3) Start by external event – Portal Side Name of WF to be appended to the list of remotely callable WF- s Definition of Keyword to identify the call Any Workflow can be deleted from the listeners. The delete button can accessed only in the not hidden state List of listening Workflows Button to hide the stored Keyword and the button Delete Append button Button to see a stored Keyword Check list can select each of the available workflows

22 Workflow Submission(3) Start by external event – Client side: WSDL URL of the Portal SERVER Predefined name of the Service pUserOwner of the Workflow (Portal User) pIDRemote Key has been defined to identify the call pTextFree string to identify the Workflow instance The client should provide a Service call conforming the WSDL.

23 Web service support Principle: Job is a web service user can reach an existing remote service with the following attributes: 1.Type: Base standard type of the Web Service. The administrator of the portal server sets the list of standards the portal can understand. The default value is Axis. 2.Services: Selection list of services of the given type having been explored by the Portal Server 3.Methods: Selection list functions the selected service implements Concrete WF List Selected WF Selected Job Job Executable Job Inputs & Outputs JDL/RSLJob Config. History Job is WorkflowJob is ServiceJob is Binary

24 Web service support (contd.) Step 1. Select Service as Job interpretation class Step 2. Select type of Service to be understood Step 3. Select one from the found services Step 4. Select a Method among the interface routines of Service

25 Embedded workflow support Principle: Job is an embedded workflow Original Workflow Embedded Workflow To ensure the compatibility of interfaces the embedded workflow must be defined by a Template The dummy job whose execution will be substituted by the call of the embedded one

26 Embedded workflow support Focus on the caller Job Step 2. Embedded (called) Workflow is selected by the check list showing the possible templated Workflows Focus has been set by selecting a job Step 1. Select (embedded) Workflow as Job interpretation class

27 Cloud supported job Step 1. Select Cloud as Job interpretation class Step 3. Select one from the found clouds

28 DB support (Datasource: SQL Database).mdb Departments 24ML 26FK 15MA AgeGenderName Person External File name SQL Upload Remote Value SQL URL (UDBC) USER PASSWORD SELECT Age from Person where Gender =“M” Step 1 (offline) Create Database on a remote site Step 2 (online) Port configuration: set Query Step 3(online) Port configuration: File generation from result set

29 Conditional job submission Rule: To any input port a boolean conditional expression may be attached. They will be evaluated upon the value(s) of the referenced port(s). The false value inhibits the execution of the actual and subsequent jobs. The state of the failed job is indicated as “Term_false” the eventual subsequent jobs will remain in “Init” state. Expression Syntax: | where : == | != | contain The comparison of the file value (regarded as a string) associated to the current port and of other operand which may be a string or the string file content of a different port results true or false depending on the string operation, where == means equal, != means not equal, and contain means, that the left operand contains the right operand. AND operation is assumed for more than one ports associated with conditional expressions: B1 B2 Do not execute if B1 AND B2 = FALSE

30 Job’s history / Usage Logging

31 Howto use WS-PGRADE Basic tasks Create Graph (or reuse an existing one) Create Concrete Workflow from Graph Setup Concrete Workflow (ports, jobs) Submit and check the running Workflow

32 Graph Editor - Graph Creation There are two ways to create a Workflow Graph (WfG): Opening the Graph Editor (with the proper button) in the portlet Workflow/Graph Clone an existing one (Saving the actual Graph with a new name)

33 Graph Editor detailed - Build up a WF Graph New Job New Port Right Click Port Property Select Output Port name can be changed Comment can be inserted Close by OK New Job New Port Press mouse…,and drag to Input Port

34 Howto use WS-PGRADE Basic tasks Create Graph (or reuse an existing one) Create Concrete Workflow from Graph Setup Concrete Workflow (ports, jobs) Submit and check the running Workflow

35 Development cycle – Creating the Concrete Workflow Create Concrete Workflow from Graph, from template, or from another workflow give a name to the Concrete Workflow give notes

36 Howto use WS-PGRADE Basic tasks Create Graph, or reuse an existing one Create Concrete Workflow from Graph Setup Concrete Workflow (ports, jobs) Submit and check the running Workflow

37 Setup Concrete Workflow Setup all the job properties Execution model: Workflow, Service, Binary Type:gLITE,ARC,GEMLCA,GT-4,GT-2,Local Grid resource Type of binary SEQ, MPI, Java Number of MPI Nodes Executable Additional parameters Setup port properties

38 Workflow configuration Hierarchy Concrete WF List Selected WF Selected Job Job ExecutableJob Inputs & OutputsJDL/RSLJob Config. History Job is WorkflowJob is ServiceJob is Binary

39 Howto use WS-PGRADE Basic tasks Create Graph, or reuse an existing one Create Concrete Workflow from Graph Setup Concrete Workflow (ports, jobs) Submit and check the running Workflow

40 Concrete WF List Workflow History File Selected Job Job Exec Conf Port Configurations JDL/RSL file Workflow instance List Workflow Instance Job List Details Configure Short Details Std Out Job Job Instance List View Contents Job Instance Output FileSTD Error File STD Out FileLog File Std Err Output Log Job List Info, Submit, Delete/Abort All Suspend/Resume/Delete, Visualize Job Executable WF visualization Job Inputs & Outputs JDL/RSL Job Config. History Locate Item in graph Locate Item Basic Workflow management with WS- PGRADE Portal In case of PS Workflows the list “Job Instance” may contain more than one elements with different “PID” -s

41 To become a user of HP-SEE’s P-GRADE/gUSE Portals Become user of SEE-GRID if you are still not… Request an account: Request an account on the SZTAKI’s multigrid portal: Portal installations Available DCIs

Thank you Miklos Kozlovszky

43 HP-SEE Portal ( Obuda University, Budapest) based on WS-PGRADE/gUSE Infrastructure Client machines with browsers Proxy download ARC based HPC services (NIIF’s infrastructure) MyProxy server ARC Proxy MyProxy name: ARC:summerathens MyProxy password: ARC:… ls-hpsee.nik.uni-obuda.hu gLite based HPC services (ACAD’s infrastructure) gLite Tutors generated and uploaded your proxy