• Aucun résultat trouvé

Working with Grid Service and Resource Metadata using Existing Tools and Specifications

N/A
N/A
Protected

Academic year: 2022

Partager "Working with Grid Service and Resource Metadata using Existing Tools and Specifications"

Copied!
17
0
0

Texte intégral

(1)

Working with Grid Services and Resource Metadata using Existing Specifications and Tools

Working with Grid Services and Resource Metadata using Existing Specifications and Tools

Savas Parastatidis Savas@Parastatidis.name http://savas.parastatidis.name IST Workshop, UCL – 16.12.2003

Savas Parastatidis Savas@Parastatidis.name http://savas.parastatidis.name IST Workshop, UCL – 16.12.2003

(2)

Outline

• The Grid

• Service Orientation

• Resources and the need for Metadata

• Grid Resource Metadata

• Conclusions

(3)

“What is the Grid?”

“Neo, the Grid is everything you would like it to be”

Just few…

Virtual organisations

Integration of distributed resources

Universal computer

Interconnection technologies for supercomputers

Or… if you are a technologist

An application domain for the Web Services ideas and technologies

Or… if you are a researcher/academic

• A new set of interesting problems in distributed computing applied at a global scale

A world-wide virtual computer (http://www.ibm.com/grid)

Computational resources

Data resources

Network bandwidth

(4)

Service Orientation

• Built around the concepts of service and message

• A service may be defined as a logical manifestation of some physical resources (like databases, programs,

devices, or humans) that an organization exposes to the network

• A service is an entity that can send and receive messages

• A service adheres to a contract

Describes the format of the messages exchanged

Defines the message exchange patterns in which a service is prepared to participate

(5)

Service Orientation

• Don Box’s four tenets about Service Orientation

Boundaries are explicit

Services are autonomous

Services share schema and contract, not class (abstractions)

Service compatibility is determined based on policy

Source: “A Guide to Developing and Running Connected Systems with Indigo”

http://msdn.microsoft.com/Longhorn/understanding/mag/default.aspx?pull=/msdnmag/issues/04/01/Indigo/default.aspx and various talks

(6)

The Anatomy of a Web Service

• Large grained, loosely coupled

Performance, scalability, maintenance, re-use, etc.

Databases

Humans

Programs

Computational resources Devices

Enterprise Resources Application logic

Interface for humans

Interface for applications

HTML, WAP, WindowsSOAP and WSDL BPEL, Java, .NET

<env:Envelope>

<env:Header>

...

</env:header>

<env:Body>

...

</env:Body>

</env:Envelope>

(7)

Resources

• There is a many-to-many relationship between resources and services

• If resources are exposed outside an organisation’s boundaries there is need for

Ontologies

Relationships

Location information

Lifetime information

Ownership/access restrictions information

Provenance

etc.

Metadata

(8)

Resources in OGSI

• OGSI: Open Grid Services Infrastructure

• Built around the concept of a Grid Service Instance

• A conceptual one-to-one association between a Service Instance and a Resource

Although not a restriction imposed by the specification

• Metadata about resource exposed through Service Data Elements (SDEs)

SDEs are part of a Service Instance’s interface

(9)

Service Data Elements

• A “requirement” due to the additional semantics introduced to services

1-1 association with a resource

Coupling of interface and state

Coupling of interface and identity

“Publicly visible state” of a Grid Service Instance

• Why mandatory?

Better as an optional specification at the Open Grid Services Architecture level

• “Will be introduced in WSDL 2.0”, “The Web Services community needs them”

WS-Attributes will be considered as a separate specification now

(10)

The Grid Resource Metadata Document

• Functionality equivalent to Service Data Elements

• Everything implemented using existing technologies and tooling

• Not Grid-specific (it’s just an XML Schema document)

Management Interface - Drop database - Create database - etc.

Data Access Interface - Query - Update - etc.

Data Abstractions Interface

- Oper1 - Oper2 - etc.

<?xml>

<grm>

</grm>

(11)

Possible Uses

• Infrastructure does not need to be aware of the differences in metadata documents

Generic metadata Web services

Generic tools for Peer-to-Peer metadata propagation

Generic metadata registries

Databases

(12)

Structure

• gri (mandatory)

type

grm-lifetime

Lifetime of the document

resource-lifetime

Lifetime of the resource

set of endpoints

Each endpoint has lifetime related info

e.g., WS-Address

Metadata entries

• Name (mandatory)

Lifetime

More through extensibility

More through extensibility

(13)

Identity

• Grid Resource Identifier (GRI) (like an LSID)

Everlasting, unique resource identifier (Uniform Resource Name, URN)

Can be stored in a database or printed in a journal

Decoupling of identity from interface

urn:lsid:guid1 It’s the resource that is

identified and not a service instance

A service could be seen as a resource

(14)

Demo

• A generic browser

• Few Web Services (in Java and .NET)

(15)

SDEs vs GRM

SDEs

Require additions to WSDL

New SDE-aware tools

Add semantics to a Web service

Requires a particular Web service interface (SDE-specific)

Grid Resource Metadata document

Based on XML-Schema

No additions to WSDL or another specification

Existing tools work

Does not add semantics to a Web service, it’s just a document

Could be published into a registry

Requires a particular Web service interface (Management interface or another interface) but other solutions can be built around it (e.g., P2P, registries, etc.)

(16)

Conclusions

• SDEs were invented to support a perceived requirement due to the semantics associated with Grid Service

Instances

• The Grid Resource Metadata document is a functionally equivalent alternative to SDEs

Without requiring changes to the semantics of the underlying infrastructure or the tooling

Existing technologies to describe metadata does not have to change

Reuse all existing work

• Proposed as an “envelope” for metadata information

• Very simple solution

(17)

People and Links

• Paul Watson (Paul.Watson@newcastle.ac.uk)

• Savas Parastatidis (Savas.Parastatidis@newcastle.ac.uk)

• Jim Webber (JimWebber@hotmail.com)

Web Services Grid Application Framework (WS-GAF) http://www.neresc.ac.uk/ws-gaf

Références

Documents relatifs

The experimental tools used to process the hides were made from long bones and ribs, and they resemble in form edged tools and awls studied by the authors in various Neolithic sites

The broker decomposes the cluster DAG into levels; then, it receives replies from the agents that scheduled the clusters of the first level and builds the final

Using the SAHA-ONKI-HAKO integrated system, a semantic portal can be created very easily by end-users by defining metadata schemas and related vocabularies, by annotating con- tent,

There were used the methods for unbalanced dataset for skin lesions classification, including: data preparation, data augmentation, pre-trained on ImageNet state-

The rapid quantitative growth of scientific publications has pushed the development of various Internet tools for finding the necessary information (for example, the Google

The organization of operational planning in applications for working with mail, events and tasks, such as the classic Microsoft Office Outlook, was simplified to create

If we would replace all textual values by unique ones, such as “text1”, “text2”, “text3”, as shown in Figure 2, it does work, pivot tables however are often based on textual

For example, Bj¨ orne [2] demon- strated a modular event extraction pipeline that uses domain-specific modules (such as a biomedical named entity recognizer) as well as general