WS-JDML: A Web Service Interface for Job Submission and Monitoring Stephen M C Gough William Lee London e-Science Centre Department of Computing, Imperial.

Slides:



Advertisements
Similar presentations
CSF4 Meta-Scheduler Tutorial 1st PRAGMA Institute Zhaohui Ding or
Advertisements

National Institute of Advanced Industrial Science and Technology Advance Reservation-based Grid Co-allocation System Atsuko Takefusa, Hidemoto Nakada,
GridSAM Overview Grid Job S ubmission A nd M onitoring Service What is GridSAM? Funded by the OMII Managed Programme (Started in Sept, 04) Client Perspective.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
0 - 0.
Experiences with Converting my Grid Web Services to Grid Services Savas Parastatidis & Paul Watson
Dynasoar Dynamic Deployment of Web Services on a Grid or the Internet or Why its good to be Jobless Paul Watson School of Computing Science.
Enterprise Java and Data Services Designing for Broadly Available Grid Data Access Services.
Eldas 1.0 Enterprise Level Data Access Services Design Issues, Implementation and Future Development Davy Virdee.
Current status of grids: the need for standards Mike Mineter TOE-NeSC, Edinburgh.
OMII-UK Steven Newhouse, Director. © 2 OMII-UK aims to provide software and support to enable a sustained future for the UK e-Science community and its.
Configuration management
Software change management
1 Online communication: remote login and file transfer.
1 CS 446 – Tutorial 6 Frid. Nov. 6 th, 2009 Implementation Tutorial.
31242/32549 Advanced Internet Programming Advanced Java Programming
A Prototype Implementation of a Framework for Organising Virtual Exhibitions over the Web Ali Elbekai, Nick Rossiter School of Computing, Engineering and.
1 Web Services Based partially on Sun Java Tutorial at Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL.
Improving the way we learn
Chapter 14 The User View of Operating Systems
A3.1 Assignment 3 Simple Job Submission Using GT 4 GRAM.
CSF4, SGE and Gfarm Integration Zhaohui Ding Jilin University.
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
A Computation Management Agent for Multi-Institutional Grids
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Distributed components
Workload Management Workpackage Massimo Sgaravatto INFN Padova.
Workload Management Massimo Sgaravatto INFN Padova.
Globus Computing Infrustructure Software Globus Toolkit 11-2.
Resource Management Reading: “A Resource Management Architecture for Metacomputing Systems”
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Track 1: Cluster and Grid Computing NBCR Summer Institute Session 2.2: Cluster and Grid Computing: Case studies Condor introduction August 9, 2006 Nadya.
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
Workload Management WP Status and next steps Massimo Sgaravatto INFN Padova.
Grid Resource Allocation and Management (GRAM) Execution management Execution management –Deployment, scheduling and monitoring Community Scheduler Framework.
Grid Computing I CONDOR.
Through the development of advanced middleware, Grid computing has evolved to a mature technology in which scientists and researchers can leverage to gain.
COMP3019 Coursework: Introduction to GridSAM Steve Crouch School of Electronics and Computer Science.
Grid Workload Management & Condor Massimo Sgaravatto INFN Padova.
Scalable Systems Software Center Resource Management and Accounting Working Group Face-to-Face Meeting October 10-11, 2002.
Condor Birdbath Web Service interface to Condor
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
London e-Science Centre GridSAM A Standards Based Approach to Job Submission A. Stephen M C Gough Imperial College London A Standards Based Approach to.
London e-Science Centre GridSAM Job Submission and Monitoring Web Service William Lee, Stephen McGough.
Application code Registry 1 Alignment of R-GMA with developments in the Open Grid Services Architecture (OGSA) is advancing. The existing Servlets and.
Application portlets within the PROGRESS HPC Portal Michał Kosiedowski
Grid Compute Resources and Job Management. 2 Local Resource Managers (LRM)‏ Compute resources have a local resource manager (LRM) that controls:  Who.
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
GridSAM - A Standards Based Approach to Job Submission Through Web Services William Lee and Stephen McGough London e-Science Centre Department of Computing,
Todd Tannenbaum Computer Sciences Department University of Wisconsin-Madison Condor RoadMap.
 Apache Airavata Architecture Overview Shameera Rathnayaka Graduate Assistant Science Gateways Group Indiana University 07/27/2015.
Institute For Digital Research and Education Implementation of the UCLA Grid Using the Globus Toolkit Grid Center’s 2005 Community Workshop University.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
1 Condor BirdBath SOAP Interface to Condor Charaka Goonatilake Department of Computer Science University College London
© Geodise Project, University of Southampton, Geodise Middleware & Optimisation Graeme Pound, Hakki Eres, Gang Xue & Matthew Fairman Summer 2003.
Grid Security: Authentication Most Grids rely on a Public Key Infrastructure system for issuing credentials. Users are issued long term public and private.
July 11-15, 2005Lecture3: Grid Job Management1 Grid Compute Resources and Job Management.
Predictable Workflow Deployment Service Stephen M C Gough Ali Afzal, Anthony Mayer, Steven Newhouse, Laurie Young London e-Science Centre Department of.
© Geodise Project, University of Southampton, Geodise Middleware Graeme Pound, Gang Xue & Matthew Fairman Summer 2003.
Service Proforma Middleware Workshop. Notes Please complete as much of this proforma as possible – it will help make the workshop more informative & productive.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
Grid Compute Resources and Job Management. 2 Grid middleware - “glues” all pieces together Offers services that couple users with remote resources through.
Matthew Farrellee Computer Sciences Department University of Wisconsin-Madison Condor and Web Services.
EGI Technical Forum Amsterdam, 16 September 2010 Sylvain Reynaud.
Status of Globus activities Massimo Sgaravatto INFN Padova for the INFN Globus group
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
© Geodise Project, University of Southampton, Workflow Support for Advanced Grid-Enabled Computing Fenglian Xu *, M.
SOAP, Web Service, WSDL Week 14 Web site:
CUPS Print Services.
Presentation transcript:

WS-JDML: A Web Service Interface for Job Submission and Monitoring Stephen M C Gough William Lee London e-Science Centre Department of Computing, Imperial College London

2 What Services do we need to make the Grid Work? One of the key services required is job submission –The ability to transparently submit a job to a resource (potentially through a DRM) where it will run Many DRM systems exist (Condor, Globus, SGE etc…) –Each have their own way to define a job (language) –Each have their own submission mechanism (command line, API, Service)

3 The Problem Submitting jobs requires –Knowledge of the job definition procedure –The ability to interface with the appropriate DRM The Solution –One common Job description language that can be used with all resources (eg RSL) –A generic submission system for jobs Using community based standards that are in common use

4 Generic Job Submission Web Services JDML WS-JDML

5 Web Service We are using a plain Vanilla Web Service –Dont rely on any proposed WS standards –Dont need anything more than core standards for this simple service Developed in Java Our work has been deployed into the J2EE enterprise platform –This enables Scalability Fault tolerance

6 Job Description Markup Language JDML Originally developed from Condor ClassAds Developed for the European DataGrid project Used within the Imperial College ICENI project This work is now feeding into the Global Grid Forum Job Submission Description Language standardisation work JDML will morph to become JSDL

7 JDML (2) JDML documents are written in sections –What job to run –The environment to run the job in –Where to get files from –Where to send files to at the end JDML is strongly typed Consists of name/value pairs

8 JDML (3) Can have DRM specific sections –It must be safe to ignore this section and the job still work correctly –Seen as a set of hints to the DRM File transfer is defined for multiple protocols –Grid FTP, HTTP, copy etc… –Each file may have multiple of these definitions DRM can select the appropriate ones to use

9 WS-JDML Architecture

10 Job Submission Port Type Takes a JDML document describing the job to run Validates the JDML so that an immediate response can be given Validates user credentials, passed as part of the SOAP header, using WS-Security Job is then placed into queue before being processed into a DRM specific version and deployed locally

11 Job Submission Port Type (2) Various results –Unrecognised Job Term The JDML contains some term that the Service doesnt understand –Invalid Job Term The JDML has a term which has the wrong type or an invalid value –Successful Submission URI to identify the job instance is returned

12 Job Monitoring Port Type This port provides a means to observe the current status of a job and manipulate the output transfer mechanism Requires the URI representing a job provided from job submission Current job status is returned –pending, scheduled, running, suspended, done, exit –Not all DRMs support all states

13 Job Monitoring Port Type (2) File Transfers Port provides the ability to –Get portions of the files specified in the JDML transferred –Override the transfer methods given in the JDML –Indicate that files should be transferred back as attachments to the SOAP document Allows easy monitoring of the job progress

14 Deployment DRM Specific Translators have been obtained from existing code within the ICENI project –These include Shell, SGE, Globus and Condor Web Service architecture has been deployed in Java J2EE 1.4 platform –This provides a number of support features for the services.

15 Demo Hopefully jobservicehttp://rhea.lesc.doc.ic.ac.uk:9999/jdml- jobservice Need to run over SSH

16 Further Work Job State Transition –The ability to represent the status of a job running within a resource Notification –Currently to monitor a job requires the polling of the monitoring port Would be better if notifications to a sink service through say WS- Notification Job Term Semantics –Definition of job terms using natural language –No formal model makes JDML transformation error prone –Develop an Ontology for Job submission terms

17 What do you use to build your service? Widely Implemented Standard Specification (1pt) – Implemented draft specification (2pt) – Implemented draft specification (3pt) –<Specification in standards body but alternatives exist. Industry is divided. One/few implementations exist. (e.g., Transactions, coordination, notification, etc.). Implemented proposal (4pt) –An implementation of an idea, a proposal but not submitted to standards body yet (e.g., WS-Addressing, WS-Trust, etc.) Non-implemented proposal (5pt) – Concept (6pt) – TOTAL: SOAP, WSDL, WS-Security = 3

18 Service Dependencies What else does your service depend on (i.e. external dependencies)? –RDBMs / J2EE EJBs –Logging (Java Logging) –Message Queue (JMS) What does your implementation depend on? –Java –J2EE 1.4 compliant

19 AAA & Security What authentication mechanism do you use? –WS-Security What authorisation mechanism do you use? –Flexible composition of authorisation plugins. What accounting mechanism do you use? –Java logging Does service interaction need to be encrypted? If these are not used now, will they be in the future?

20 Exploiting the Service Architecture What features from your plumbing do you use in your service? –Event notification –Meta-data

21 Service Activity Multiple interaction or single user? –Multiple Throughput (1/per day or 100/per second?) Typical data volume moved in Typical data volume moved out

22 Service Failure Required Reliability –Failure semantics? Positive ack (might need WS-ReliableMessaging) Required Persistence –Job entered into the queue is always persisted Required Availability –One of many or unique requirement

23 Required Service Management Remote access to: –Usage statistics –Job Progress –Job Diagnostic and repair interfaces

24 Acknowledgements Director: Professor John Darlington Research Staff: –Anthony Mayer, Nathalie Furmento –Stephen McGough, James Stanton –Yong Xie, William Lee –Marko Krznaric, Murtaza Gulamali –Asif Saleem, Laurie Young, Gary Kong Contact: – –