Middleware independent I nformation Service Harry Enke, - - PowerPoint PPT Presentation

middleware independent i nformation service harry enke
SMART_READER_LITE
LIVE PREVIEW

Middleware independent I nformation Service Harry Enke, - - PowerPoint PPT Presentation

Middleware independent I nformation Service Harry Enke, Astrophysical Institute Potsdam AstroGrid-D Stellaris, an interoperable Information Service 1 H. Enke, ISGC 2008 Outline 1. Why middleware independent components? 2. Stellaris as


slide-1
SLIDE 1

1 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Middleware independent I nformation Service Harry Enke, Astrophysical Institute Potsdam AstroGrid-D

slide-2
SLIDE 2

2 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Outline

  • 1. Why middleware independent components?
  • 2. Stellaris as middleware independent information

service

Intro RDF + SPARQL Components

  • 3. UseCases / Examples

Job information Resource information Integration of Resources into the Grid (Robotic Telescopes)

  • 4. Summary

Thanks to M. Hoegqvist, I. Nickelt and the AstroGrid-D team

slide-3
SLIDE 3

3 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Why middleware independent components?

Many users and Virtual Organisations are using more than one middleware. Communities have to broker agreements with providers using different middleware. Information from different middleware components may not be consistent. Interfacing with non grid-components may be necessary.

slide-4
SLIDE 4

4 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Why middleware independent components?

Both user and VOs want

  • information on available resources or

brokering facilities for storage and compute requirements

  • information about charges (fees)
  • information about their jobs

(runtime and accounting)

  • access and store metadata for their data sets

in a middleware-independent form.

slide-5
SLIDE 5

5 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Metadata Requirements

Metadata Requirements for a Community Grid Resource metadata Activity State Application metadata Scientific metadata

slide-6
SLIDE 6

6 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Requirements for a CG information service

AstroGrid-D‘s requirements for Stellaris

  • A uniform interface compatible with existing tools, based
  • n standards
  • support for flexible and extensible metadata schemes,
  • integration of the following metadata types:

Resource metadata Activity State Application metadata Scientific metadata

  • authentication and authorization for access control.
slide-7
SLIDE 7

7 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

The Stellaris I nformation Service

Stellaris is a database application

  • Data is represented in RDF format
  • Data is uploaded and retrieved via web based

protocols (http(s), soap)

  • SPARQL is a query language for data extraction

(SPARQL Protocol and RDF Query Language is a recursive acronym)

  • Fine grained access control is possible through

grid security mechanisms

  • Persistent storage on disk by RDBMS
slide-8
SLIDE 8

8 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: RDF example

A simple RDF tuple (graph) subject predicate

  • bject
slide-9
SLIDE 9

9 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: RDF I ntroduction

RDF is a recommendation of W3C. Numerous tools and interfaces available from the semantic web community. Stellaris uses RDF/XML syntax.

A general XSLT from XML to RDF is available. Stellaris does translation on the fly.

The RDF data model makes statements about resources. A statement is divided into the

  • resource (subject) itself, a
  • predicate describes an unidirectional relation to an
  • object

This (subject, predicate, object)-tuple is often called a RDF triple.

slide-10
SLIDE 10

10 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: RDF I ntroduction

Subject and predicate are URI (Uniform Resource Identifiers), while the object can be literal (a value) or an URI. RDF-URI are globally unique identifiers. Combining multiple RDF-Statements generates RDF-Graphs

  • r contexts.

Contexts are organized as tree-like structures within Stellaris. Besides from RDF/XML syntax the Notation 3 (N3) format is supported as well.

slide-11
SLIDE 11

11 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

RDF vs XML

  • XML is a document format

A XML document can be interpreted in many different ways

  • RDF is an information model

RDF can be represented in an XML format A RDF document has only one interpretation, independent of the representation

slide-12
SLIDE 12

12 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: Vocabulary / Schema

  • RDF is semi-structured data, which allows for

easy changes of vocabulary without changing the stored data

  • Vocabulary used with Stellaris:

Well known XML schemata Dublin Core, GLUE Additional: custom vocabulary defined by community, VO, application

  • r user

RTML: Robotic Telescope Markup Language

slide-13
SLIDE 13

13 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: SPARQL example

slide-14
SLIDE 14

14 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: SPARQL query

Create an object (referencing various schema)

@prefix file: <http://www.gac-grid.de/schema/files#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rtml: <http://www.rtml.org/v3.1a#> <http://storage.gac-grid.de/test/eaglenebula.fits> rdf:type <file:DataObject>; file:owner "Telescope user"; file:location <http://telescopes.aip.de/pictures/eaglenebula.fits>; file:filesize "259342"; rtml:Telescope <rtml://de.aip.Robotel/STELLA> .

slide-15
SLIDE 15

15 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: SPARQL query

Do a query: (return location, owner and telescope of the file referenced by URI)

PREFIX file: <http://www.gac-grid.de/schema/files#> . PREFIX rtml: <http://www.rtml.org/v3.1a#> . SELECT ?location ?owner ?telescope FROM <http://telescopes.aip.de/context/robotic_telescopes> FROM NAMED <http://stellaris.astrogrid.net/context/files> WHERE { <http://storage.gac-grid.org/test/eaglenebula.fits> file:location ?location; file:owner ?owner; rtml:telescope ?telescope . }

slide-16
SLIDE 16

16 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: I nternals

slide-17
SLIDE 17

17 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: I nterface

Request-Handler: Security: Handles authentication and authorization (ACL, VOMRS, X509) Context Management: internal interface for commands: create / retrieve / update / delete query

slide-18
SLIDE 18

18 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Stellaris: I nterface

Request-Handler: Synchronized View: handles concurrency issues Event View: passes request to storage management

  • r query engine
slide-19
SLIDE 19

19 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Resource I nformation with Stellaris

Globus-MDS information is uploaded to Stellaris after a XML to RDF transformation (GLUE). A visual map displays current status data of resources SPARQL queries deliver information to the command line or applications

slide-20
SLIDE 20

20 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

UseCases: Grid Job Monitoring I

submission host execution host Information service

job submission

GUI

SPARQL query browser job status Upload job status (RDF)

Globus EPR

slide-21
SLIDE 21

21 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

UseCases: Grid Job Monitoring I I

submission host execution host information service

job submission

GUI

SPARQL query browser

Globus Audit Usage Record

upload Usage Record (RDF)

slide-22
SLIDE 22

22 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Grid Job Monitoring GUI Timeline

slide-23
SLIDE 23

23 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

UseCases: Robotic Telescopes in Grid

slide-24
SLIDE 24

24 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Robotic Telescopes in Grid

Integration of robotic telescopes into the grid is an example of interoperability with other components Basic middleware: Globus for job submission, staging, job control security,VO management Robotic Telescope Components: Controller host with interface for RTML requests Heterogeneous Telescopes Network Component: RTML Interaction of components through Stellaris

slide-25
SLIDE 25

25 Stellaris, an interoperable Information Service

  • H. Enke, ISGC 2008

Summary

Interoperability for user and VOs requires an information service for middleware independent

(Resource metadata, Activity State information, Application metadata Scientific metadata)

Stellaris with the RDF data model and SPARQL query language is a good candidate for the task. An information service such as Stellaris is needed for keeping the user or VO in the focus of the efforts to build an efficient eScience infrastructure