OGSA-DAI Architecture EPCC, University of Edinburgh Amy Krause International Summer School on Grid Computing - July 2003 Using OGSA-DAI.

Slides:



Advertisements
Similar presentations
Open Grid Service Architecture - Data Access & Integration (OGSA-DAI) Dr Martin Westhead Principal Consultant, EPCC Telephone: Fax:+44.
Advertisements

Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
Connect. Communicate. Collaborate Click to edit Master title style MODULE 1: perfSONAR TECHNICAL OVERVIEW.
Amy Krause Applications Consultant, EPCC Tom Sugden Applications Consultant, EPCC OGSA-DAI Client Toolkit Principles.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Distributed Heterogeneous Data Warehouse For Grid Analysis
Inside the GDS The Engine, Activities, Data Resource Implementations and Role Mapping EPCC, University of Edinburgh Tom Sugden First.
Data Grids: Globus vs SRB. Maturity SRB  Older code base  Widely accepted across multiple communities  Core components are tightly integrated Globus.
NextGRID & OGSA Data Architectures: Example Scenarios Stephen Davey, NeSC, UK ISSGC06 Summer School, Ischia, Italy 12 th July 2006.
Writing Perform Documents EPCC, University of Edinburgh Amy Krause ( Tom Sugden First International Summer.
GDSF Configuration EPCC, University of Edinburgh Amy Krause International Summer School on Grid Computing - July 2003 Using OGSA-DAI.
17 July 2006ISSGC06, Ischia, Italy1 Agenda Session 26 – 14:30-16:00 An Overview of OGSA-DAI OGSA-DAI today – and future features How to extend OGSA-DAI.
OGSA : Open Grid Services Architecture Ramya Rajagopalan
Database Taskforce and the OGSA-DAI Project Norman Paton University of Manchester.
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
GT Components. Globus Toolkit A “toolkit” of services and packages for creating the basic grid computing infrastructure Higher level tools added to this.
DAIS Grid1 Database Access and Integration Services on the Grid * * Authors: N. Paton, M. Atkinson, V.
OGSA-DAI Architecture The OGSA-DAI Team
XML Registries Source: Java TM API for XML Registries Specification.
Application code Registry 1 Alignment of R-GMA with developments in the Open Grid Services Architecture (OGSA) is advancing. The existing Servlets and.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
OGSA-DAI in OMII-Europe Neil Chue Hong EPCC, University of Edinburgh.
The Anatomy of the Grid Introduction The Nature of Grid Architecture Grid Architecture Description Grid Architecture in Practice Relationships with Other.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
1 Grid DAIS: Database Access and Integration Services Greg Riccardi Florida State University
1 1 EPCC 2 Curtin Business School & Edinburgh University Management School Michael J. Jackson 1 Ashley D. Lloyd 2 Terence M. Sloan 1 Enabling Access to.
OGSA Hauptseminar: Data Grid Thema 2: Open Grid Service Architecture
Extreme! Computing Lab, Dept. of Computer Science, Indiana University 1 Programming the Grid with Components Madhu Govindaraju Aleksander Slominski Dennis.
Grids - the near future Mark Hayes NIEeS Summer School 2003.
An information and monitoring system for static and dynamic information about grid resources, applications, networks … RDBMS Servlet aware of API during.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Grid Services I - Concepts
INFSO-RI Enabling Grids for E-sciencE OGSA DAI Data Access and Integration Marek Ciglan Institute of Informatics, Slovac Academy.
The OGSA-DAI Client Toolkit The OGSA-DAI Team
Performance Measurement Points Sockets, plain text and grid services Paul Mealor.
Transition and Evolution Moving to Grid Services.
Mike Jackson EPCC OGSA-DAI Architecture + Extensibility OGSA-DAI Tutorial GGF17, Tokyo.
Amy Krause EPCC OGSA-DAI An Overview OGSA-DAI Technology Update GGF17, Tokyo (Japan)
Reliable File Transfer: Lessons Learned Bill Allcock, ANL Ravi Madduri, ANL.
Experiences with OGSA-DAI : Portlet Access and Benchmark Deepti Kodeboyina and Beth Plale Computer Science Dept. Indiana University.
Prof S.Ramachandram Dept of CSE,UCE Osmania University
1 Service Creation, Advertisement and Discovery Including caCORE SDK and ISO21090 William Stephens Operations Manager caGrid Knowledge Center February.
This product includes material developed by the Globus Project ( Excercise 3 Inspection: Add Service Data.
OGSA-Basic Services Prof S.Ramachandram. Outline  Introduction  Common Management Model  Policy Architecture  Security Architecture  Metering and.
OGSA-DAI & DAIT projects Update for TAG Prof. Malcolm Atkinson Director 30 th October 2003.
OGSA-DAI Users’ Meeting Introduction Malcolm Atkinson Director 7 th April 2004.
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
1 Service oriented computing Gergely Sipos, Péter Kacsuk
The OGSA-DAI Project Databases and the Grid Neil Chue Hong Project Manager EPCC, Edinburgh
GT3 Architecture and Functionality. Core OGSI Implementation Security Services System-Level Services Container Hosting Environment Base Services Resource.
OGSA. Introduction Built next generation of service Based on web service technology 3 main areas: – Manage creation, destruction & lifecycle management.
WP3 OGSA Notification and RGMA Datagrid meeting 13/5/2003.
CMS LNL OGSA INFRASTRUCTURE EVALUATION Specification & Applications Giuliano Rorato INFN – Laboratori Nazionali di Legnaro.
GT3 Index Services Lecture for Cluster and Grid Computing, CSCE 490/590 Fall 2004, University of Arkansas, Dr. Amy Apon.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
1 OGSA-DAI: Service Grids Neil P Chue Hong. 2 Motivation  Access to data is a necessity on the Grid  The ability to integrate different data resources.
DataGrid is a project funded by the European Commission EDG Conference, Heidelberg, Sep 26 – Oct under contract IST OGSI and GT3 Initial.
This product includes material developed by the Globus Project ( Exercise 8 Transience: Create and Destroy FileShares.
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
OGSA-DAI.
Amy Krause EPCC OGSA-DAI An Overview OGSA-DAI on OMII 2.0 OMII The Open Middleware Infrastructure Institute NeSC,
Sabri Kızanlık Ural Emekçi
UK e-Science OGSA-DAI November 2002 Malcolm Atkinson
OGSA Data Architecture Scenarios
RELATIONAL GRID MONITORING ARCHITECHTURE
The Anatomy and The Physiology of the Grid
The Anatomy and The Physiology of the Grid
Presentation transcript:

OGSA-DAI Architecture EPCC, University of Edinburgh Amy Krause International Summer School on Grid Computing - July 2003 Using OGSA-DAI Release 3

2OGSA-DAI Training Workshop, Release 3 Overview  GridServices recap  OGSA-DAI overview  Scenarios  Components: –Design –Configuration  Component Interaction

3OGSA-DAI Training Workshop, Release 3  Exploits existing web services properties –Interface abstraction (GWSDL resp. WSDL v1.2) –Protocol, language, hosting platform independence  Enhancement to web services –State Management –Event Notification –Referenceable Handles –Lifecycle Management –Service Data Extension See: The OGSI Specification (version 1.0 at GGF8) OGSI Recap

4OGSA-DAI Training Workshop, Release 3 Globus OGSI Implementation  Globus Toolkit 3 Release – June 03

5OGSA-DAI Training Workshop, Release 3 J2EE wrappers also included with JBoss as EJB container WSDD The GT 3 Java Container

6OGSA-DAI Training Workshop, Release 3 Globus Server Side Model!? You don’t have to be able to read this but understand that there is a set of classes that Globus define that support Grid Service instances

7OGSA-DAI Training Workshop, Release 3 Anatomy Of A Grid Service Hosting Environment Implementation Service Data Access Lifetime Management GridService (required) Other Interfaces (Optional) Service creation (Factory) Service discovery (Registry) Notification Handle Management Other functions e.g. Workflow Auditing Resource Management Element Service Data Grid Service Handle

8OGSA-DAI Training Workshop, Release 3 OGSA Port Types

9OGSA-DAI Training Workshop, Release 3 OGSA-DAI Port Types

10OGSA-DAI Training Workshop, Release 3  Service (Component) is implemented as a Java class  Implements the portType interfaces and extends some base class public class GDSService extends GridServiceImpl implementsGDSPortType  Here GT3.0 GridServiceImpl implements common GridService interface function  Other common functions are reused through delegation  This class is instantiated in order to create a service instance Java Services

11OGSA-DAI Training Workshop, Release 3  OGSA - Data Access and Integration –Jointly funded by the UK DTI eScience Programme and industry  Provides data access and integration functions for computing Grids using the OGSI framework.  Closely associated with GGF DAIS working group  Project team members drawn from –Commercial organisations and –Non-commercial organisations  Project runs until July 2003 –Support DB2, Oracle, MySQL, Xindice The OGSA-DAI Project

12OGSA-DAI Training Workshop, Release 3 Phase 1  Phase 1 – March to September 2002 –GGF DAIS Workgroup Grid Database Spec –Architectural Framework –Release 0 - Software Prototypes EPCC (XML Database) – OGSI compliant IBM UK (Relational Database) – non-OGSI –Functional Scope for Phase 2

13OGSA-DAI Training Workshop, Release 3 Phase 2  Release 1 – Jan 2003 –Basic infrastructure and services. Combine the efforts of Phase 1 and get the team going in one direction  Release 2 – Apr 2003 –More functionality and changes to match Grid Service Specification as was then (now OGSI)  Release 3 – July 2003 –Final release of Phase 2 to coincide with the full Globus GT3 release

14OGSA-DAI Training Workshop, Release 3 Timeline Globus Tech Preview 5 Globus Toolkit 3 - Alpha OGSA-DAI Release 1 - Alpha Grid Services Spec – Draft 4 Grid Services Spec – Draft 5 Globus Tech Preview 4 OGSI Spec – v1.0 - Significant changes to OGSI Globus Toolkit 3 - Beta A M J J A S O N D J F M A M J J A S O Globus Toolkit 3 - Release OGSA-DAI Release 3 - Release OGSA-DAI Release 2 – Alpha update

15OGSA-DAI Training Workshop, Release 3 Grid Technology Repository  Place for people to publish and discover work related to Grid Technologies  International community-driven effort  OGSA-DAI registered with the GTR –Visible UK contribution –Free publicity  More information from: –

16OGSA-DAI Training Workshop, Release 3 “Buy not Build”  OGSA/OGSI  Query Language  Data Format  Data transport  Data Description Schema  Replication  …

17OGSA-DAI Training Workshop, Release Feet Client Consumer DBMS Grid Data Resources

18OGSA-DAI Training Workshop, Release Feet With OGSA-DAI Services Client Consumer GDS GDSFDAISGR DBMS Grid Data Resources

19OGSA-DAI Training Workshop, Release 3 Database (Xindice MySQL Oracle DB2) 1a. Request to Registry for sources of data about “x” 1b. Registry responds with Factory handle 2a. Request to Factory for access to database 2b. Factory creates GridDataService to manage access 2c. Factory returns handle of GDS to client 3a. Client queries GDS with SQL, XPath, XQuery etc 3b. GDS interacts with database 3c. Results of query returned to client as XML SOAP/HTTP service creation API interactions Analyst Registry DAISGR Factory GDSF Grid Data Service GDS Consumer OR 3d. Results of query delivered to consumer via FTP, GFTP, …

20OGSA-DAI Training Workshop, Release 3 Location Meta Data Notification OGSA Lifetime Drivers Query (Create Retrieve Update Delete) Data Format OGSA-DAI Basic Services OGSA-DAI Distributed Query Delivery Database, Communication, OS… Technology GDS DAISGRGDSF OGSA-DAI Basic Services

21OGSA-DAI Training Workshop, Release 3 Analyst Registry DAISGR Factory GDSF registerServicefindServiceData  Data resource publication through registry  Data location hidden by factory  Data resource meta data available through Service Data Elements Location

22OGSA-DAI Training Workshop, Release 3 Grid Data Service XindiceMySqlOracleDB2  Data source abstraction behind GDS instance –Plug in “data resource implementations” for different data source technologies –Does not mandate any particular query language or data format Heterogeneity

23OGSA-DAI Training Workshop, Release 3 Grid Data Service Analyst Producer/ Consumer Request Deliver  Delivery configured as part of request  Asynchronous delivery with varying modes/transports –“Zero copy deliver”  OGSA-DAI will not specify transport mechanism but support existing Scale

24OGSA-DAI Training Workshop, Release 3 Grid Data Service Analyst Request Doc Response Doc Query Update Delivery  Data source abstraction behind GDS instance –Document based interface Document sharing, operation optimization –Combines statement with other, plugin, operations/activities delivery, data transformation, data caching –Ongoing activity is represented in state of the service running query, cached data, referenced data Flexibility

25OGSA-DAI Training Workshop, Release 3 Analyst Registry Factory Grid Data Service Notification Dynamism

26OGSA-DAI Training Workshop, Release 3 Management, Ownership, Accounting etc.  We rely on OGSA/I for much common distributed computing function  Any OGSA-DAI specific function will be compatible with OGSA/I approach  Not much has been done to date

27OGSA-DAI Training Workshop, Release 3 GDS Client GDS Client 1 Operation GDS Client 2 DB Operation DB 4 Operation DB GDS 3 Operation DB GDS Client 5 Operation DB GDS GDS Composition

28OGSA-DAI Training Workshop, Release 3  Simple synchronous interaction with a data source using a GDS as a proxy. SGR – ServiceGroupRegistration portType GS – GridService portType F – Factory portType GDS – GDS portType DB GDS GDS Instance RsRs Q 3 Registry Client & Consumer F Factory 12 GS Release 1 GS SGR

29OGSA-DAI Training Workshop, Release 3  Asynchronous delivery – Pull  Asynchronous delivery – Push Client Consumer DB GDS GDT GDS Instance RaRa Q RsRs DT GSH/R + data id D + GDH Client Consumer DB GDS GDT GDS Instance RaRa Q + D + GSH/R RsRs DT GSH/R Release 3

30OGSA-DAI Training Workshop, Release 3 Notation

31OGSA-DAI Training Workshop, Release 3 Overview – Release 3 (R3)

32OGSA-DAI Training Workshop, Release 3  An analyst wants to perform a SQL query across a dataset with a known name and schema –Container starts –Analyst Starts –Analyst identifies factory that supports required statement type –Analyst uses factory to create GDS instance and obtains GSH –Analyst maps GSH to GSR using factory –Analyst formulates a GDS perform document containing the query –Analyst passes GDS perform document to GDS instance –GDS instance returns data in response –Analyst removes GDS instance Scenario 1 (synchronous delivery)

33OGSA-DAI Training Workshop, Release 3 Scenario 2 (asynchronous delivery)  An analyst wants to perform an XPath query across a dataset with a known name and schema –Container starts –Analyst Starts –Analyst identifies factory that supports required statement type –Analyst uses factory to create GDS instance and obtains GSH –Analyst maps GSH to GSR using factory –Analyst formulates a GDS perform document containing the query and the URL of the consumer –Analyst passes GDS perform document to GDS instance –GDS instance returns report to analyst –GDS instance delivers data to specified consumer –Analyst removes GDS instance

34OGSA-DAI Training Workshop, Release 3 Container Start A RDBMS (MySQL) Northern Hemisph ereIR Container C1 GDT NSnk GS GDSF1 F GS HR DSGR1 SGR GS NSrc GDSF2 F GS HR XMLDB (Xindice) SouthernHe misphereIR C SG create

35OGSA-DAI Training Workshop, Release 3  Allows OGSA-DAI services to: –Make clients aware of their existence. –Make clients aware of their capabilities, services or the data resources they manage. – Be shared amongst multiple clients.  Allows clients to: –Search for DAI services meeting their requirements. DAIServiceGroupRegistry

36OGSA-DAI Training Workshop, Release 3 PortTypes  Most-derived portType: –DAIServiceGroupRegistry.  Aggregates OGSI portTypes: –GridService: Query registered services via findServiceData. –NotificationSource: Subscribe to changes in DAISGR state via subscribe. –ServiceGroup: Group together DAI services. –ServiceGroupRegistration: Add and remove DAI services to and from the DAISGR via add and remove.

37OGSA-DAI Training Workshop, Release 3  Exposes a data resource to clients.  Allows clients to request creation of Grid Data Services which can be used to interact with the data resource. GridDataServiceFactory

38OGSA-DAI Training Workshop, Release 3 GridDataServiceFactory PortTypes  Most-derived portType: –GridDataServiceFactory.  Aggregates OGSI portTypes: –GridService: Query the data resource exposed by the GDSF via findServiceData. –Factory: Create a GDS to allow interaction with a data resource via createService. –NotificationSource: Subscribe to changes in DAISGR state via subscribe.

39OGSA-DAI Training Workshop, Release 3  Most-derived portType: –GDSPortType – GridDataService  Aggregates OGSI and OGSA-DAI portTypes: –GridService: Query the data resource exposed by the GDSF via findServiceData. –GridDataPerform: Interact with the data resource represented by the GDS via perform. –GridDataTransport Give data to or receive data from the GDS data either in one complete chunk or in separate sub-chunks via putFully, putBlock, getFully and getBlock. GridDataService PortTypes

40OGSA-DAI Training Workshop, Release 3 Behind the scenes: Data Resources  Data Resources in OGSA-DAI represent a data source/sink  Data Resources are typified by: –Way of communicating with the data resource –Location, i.e. properties about the container managing access to the data source/sink and information about its capabilities –The actual data source/sink –The resource, an instantiation/view/sample obtained from the data source/sink

41OGSA-DAI Training Workshop, Release 3 Data Resources in OGSA-DAI  An OGSA-DAI Factory is configured with exactly one data resource –Done in the factory configuration file –Data resource confined to a static named object defined in the Factory configuration file –In the future hope to make this more dynamic  A GDS created by a factory –Can only be associated with the data resource known to the factory –Can only be associated with one data resource

42OGSA-DAI Training Workshop, Release 3 WSDD Container Config  Creates persistent registry  Creates persistent factory –Defines configuration files to read in OGSA-DAI Container GDSF DR GDSF Config file GDSR Regist. list DAISGR DR GDSF

43OGSA-DAI Training Workshop, Release 3 WSDD Container Config

44OGSA-DAI Training Workshop, Release 3 Factory Configuration XML  Defines components that constitute a data resource –DataResourceManager: contains DBMS specifics, such as driver class and physical location, and can implement connection pooling –RoleMaps: maps grid credentials to database roles –DataResourceMetadata: metadata such as product information and relational or XMLDB specific information –ActivityMaps: activities i.e. operations supported by the data resource; each activity is mapped to its implementing class and a schema

45OGSA-DAI Training Workshop, Release 3 <dataResourceConfig xmlns=" A sample config file. Factory Configuration XML Skeleton

46OGSA-DAI Training Workshop, Release 3 Driver Manager  DriverManager objects encapsulate the data resource, e.g. – Provide connection pooling to databases – Allows a single collection of objects to be shared across any number of GDS instances – GDS connection capabilities to generate dynamic information capabilities, e.g. obtain the database schema  GDSF constructs and populates these objects  The DriverManager mapping element relates the data resource defined in the GDSF configuration file to a Java implementation class  Currently have generic classes for –JDBC databases –XML:DB databases (i.e. Xindice)

47OGSA-DAI Training Workshop, Release 3 Data Resource Implementation Mapping

48OGSA-DAI Training Workshop, Release 3 <driverManager driverManagerImplementation="uk.org.ogsadai.porttype.gds. dataresource.SimpleJDBCDataResourceImplementation"> org.gjt.mm.mysql.Driver jdbc:mysql://localhost:3306/ogsadai Factory Configuration: DriverManager

49OGSA-DAI Training Workshop, Release 3 MySQL 4 MySQL <databaseSchema callback="uk.org.ogsadai.porttype.gds. dataresource.SimpleJDBCMetaDataExtractor" /> Factory Configuration: DataResourceMetadata

50OGSA-DAI Training Workshop, Release 3 Activities  Activities are tasks/operations that can be performed by a GDS on a data resource –Clearly data resources can support subset of activities, e.g. cannot run an SQL query on a Xindice database –The Factory identifies the activities supported by the data resource at configuration time

51OGSA-DAI Training Workshop, Release 3 Activity Mapping  The Activity Map file relates each named activity to –a Java implementation class –XML Schema that corresponds to activity  Maps activities to data resources –Unless you are writing your own activity you should not need to modify this file

52OGSA-DAI Training Workshop, Release 3 Activity Mapping II

53OGSA-DAI Training Workshop, Release 3 Activity Map Example <activityMap name="sqlUpdateStatement" implementation="uk.org.ogsadai. ….SQLUpdateStatementActivity" schemaFileName=" <activityMap name="sqlStoredProcedure" implementation="uk.org.ogsadai. ….SQLStoredProcedureActivity" schemaFileName=" <activityMap name="deliverFromURL“ class="uk.org.ogsadai. ….DeliveryFromURLActivity“ schemaFileName=" /> <activityMap name="deliverToURL" class="uk.org.ogsadai. ….DeliveryToToURLActivity“ schemaFileName=" deliver_to_url.xsd" />

54OGSA-DAI Training Workshop, Release 3 <roleMap name="SimpleRolemapper" implementation="uk. ….SimpleFileRoleMapper“ configuration="examples/ExampleDatabaseRoles.xml" /> Factory Configuration: RoleMaps  Rolemapper maps grid credentials to database roles  Java implementation SimpleRolemapper is provided with the release: –maps the distinguished name of the user to a username and password –Username and password are provided in a separate file

55OGSA-DAI Training Workshop, Release 3 Factory Registration  Through meta-data (SDEs) factory exposes –details from the configuration file, i.e. data manager information activities supported relational metadata: database schema –Metadata about components (not shown earlier)  Registration file allows GDSF to register with a DAISGR

56OGSA-DAI Training Workshop, Release 3 Factory RegistrationList <gdsf:gdsfRegistration name="defaultRegistration“ gsh=" DataServiceRegistry"/>

57OGSA-DAI Training Workshop, Release 3 Analyst Starts and Identifies Factory A C1 GDT NSnk GS DAISGR1 SGR GS NSrc C SG Analyst Configuration has GSH of DAISGR read

58OGSA-DAI Training Workshop, Release 3 Registry Query  Query for registered –GridServices –GridDataServices –GridDataServiceFactories  XPath queries possible, for example  Registry must be able to apply this and resolve it to a matching factory instance  Factory registers its GSH on startup (if specified in the configuration)

59OGSA-DAI Training Workshop, Release 3 A1 RDBMS (mySQL) Northerm Hemisphe reIR GDS1 GDT GDS GS C1 GDT NSnk GS GDSF1 F GS GSH createService (terminationTime, creationParameters) create Analyst Uses Factory Instance To Create GDS Instance

60OGSA-DAI Training Workshop, Release 3 GDSF Creation Parameters  In Release 3 the creation parameters are empty  GDSF is associated with exactly one Data Resource  GDSF will create a GDS configured for this Data Resource

61OGSA-DAI Training Workshop, Release 3 GDSF Configures GDS Instance  GDS is configured using information from the GDSF configuration  Interfaces used to configure GDS are not exposed –They are particular to the implementation of GDSF and GDS  Client requests actions to be taken by the GDS on the data resource by using a GDS-Perform document

62OGSA-DAI Training Workshop, Release 3 A1 RDBMS (mySQL) DB1 GDS1 GDT GDS GS C1 GDT NSnk GS GDSF1 F GS GSH Analyst maps GDS GSH

63OGSA-DAI Training Workshop, Release 3 GDS-Perform document  GDS Perform document contains activities and an optional documentation element  Output from one activity can be used by another activity  Any hanging outputs will be delivered with the SOAP response (synchronous)  Using delivery activities, the output of a query can be delivered asynchronously (via HTTP, FTP, GridFTP)

64OGSA-DAI Training Workshop, Release 3 Analyst Formulates Query As GDS Perform Document <gridDataServicePerform xmlns=" Select with data delivered with the response request stored then executed. select * from littleblackbook where id=10

65OGSA-DAI Training Workshop, Release 3 GDS Perform Document Schema  The WSDL for the GDS portType specifies the general schema that the perform method accepts  The complex type ActivityType forms a base for extension by all activities  The GDS configuration defines the operations that a GDS will perform  The GDS will generate the GDS perform document schema on request based on the specified configuration

66OGSA-DAI Training Workshop, Release 3 A1 RDBMS (mySQL) FRED GDS1 GDT GDS GS C1 GDT NSnk GS GDS perform (performDocument) Analyst Passes Request to GDS and Retrieves Data From Response

67OGSA-DAI Training Workshop, Release 3 GDS Response Documents GDS response document contains:  A named response element referencing a request  For each activity in the request, a result element, referencing the name of the activity, which contains the result data –sqlQueryStatement –xPathStatement –zipArchive –…

68OGSA-DAI Training Workshop, Release 3 <gridDataServiceResponse xmlns=" <!-- DOCTYPE RowSet PUBLIC '-//Sun Microsystems, Inc.//DTD RowSet//EN‘ ' -->... The Data In The Response

69OGSA-DAI Training Workshop, Release 3 Analyst Removes GDS Instance  This is done either –by the GDS instance itself when the lifetime expires, i.e. the container removes any Grid services whose lifetimes have expired –directly through the “Destroy” method

70OGSA-DAI Training Workshop, Release 3  Have assumed that OGSA/OGSI is a good thing –OGSA-DAI –Have adopted the OGSI approach  Have first concentrated on data access –Data integration, for example, distributed query, pipelines, comes later  Working Closely with GGF DAIS Working Group on Grid Database Service Specification  Intentions to be a reference implementation To Date

71OGSA-DAI Training Workshop, Release 3 OGSA-DAI  Releases  Support from the UK Grid Support Centre