OGSA INFRASTRUCTURE EVALUATION

115
CMS LNL OGSA INFRASTRUCTURE EVALUATION OGSA INFRASTRUCTURE EVALUATION Specification & Applications Specification & Applications Giuliano Rorato Giuliano Rorato INFN – Laboratori Nazionali INFN – Laboratori Nazionali di Legnaro di Legnaro

description

OGSA INFRASTRUCTURE EVALUATION. Specification & Applications. Giuliano Rorato INFN – Laboratori Nazionali di Legnaro. Why OGSA. Our interest in OGSA (Open Grid Services Architecture) technology is about a possible application in the online software of CMS. In particular for RCMS. - PowerPoint PPT Presentation

Transcript of OGSA INFRASTRUCTURE EVALUATION

Page 1: OGSA INFRASTRUCTURE EVALUATION

CMS

LNL

OGSA INFRASTRUCTURE OGSA INFRASTRUCTURE EVALUATIONEVALUATION

Specification & ApplicationsSpecification & Applications

Giuliano RoratoGiuliano Rorato

INFN – Laboratori Nazionali di LegnaroINFN – Laboratori Nazionali di Legnaro

Page 2: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

2

CMS

LNLWhy OGSA

Our interest in OGSA (Open Grid Services Architecture) technology is about a possible application in the online software of CMS. In particular for RCMS.

OGSA: defines mechanisms for managing distribuited entities.

RCMS: distribuited services system for the run control of CMS.

OGSA framework

RCMS Services

Page 3: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

3

CMS

LNLOpen Grid Services Architecture

OGSA: Grid system architecture based on an integration of GRID and Web Services concepts and technologies.

Initial proposed technical specification: Globus project and IBM

• Put forward at the Globus Grid Forum: for discussion, refinement, and eventual standardization

2002-2003: Globus Toolkit OGSA-compliant Globus Toolkit 3.0

Now there is the Preview Release 5

• www.globus.org/ogsa/releases/TechPreview/

Page 4: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

4

CMS

LNLWeb Services vs Grid Services

WEB SERVICE: interface that describes a collection of operations that are network accessible through standardized XML messaging

WSDL (Web Services Description Language): language XML-based that describe the web service (accessible operations and location)

GRID SERVICE: web service that conforms to a set of conventions (interfaces and behaviors) that define how a client interacts with a Grid Service

Page 5: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

5

CMS

LNLOGSA - Definition The Open Grid Services Architecture (OGSA) defines mechanisms for creating,

managing, and exchange information among entities called Grid Services

Grid Service instance: (persistent or transient) service that conforms to a set of conventions (expressed as WSDL interfaces, extensions, and behaviors) for such purposes as lifetime management, discovery of characteristics, notification, and so forth, described from a WSDL PortType

PortType: a WSDL element that describes a collection of message signatures (operation elements) that define the abstract interface of the Web Service

Grid Service instances are made accessible to client applications through the use of a GSH and a GSR

• GSH (Grid Service Handle): URI (uniform resource idetifier) that identifies in univocal way a instance, directs to a GSR

• GSR (Grid Service Reference): WSDL document that contains informations about the location of the instance

Page 6: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

6

CMS

LNLGSH e GSR

URIwww.pc2.it/gsr1

GSH1

WSDL Document

1

GSR1

Grid ServiceInstance

1

URIwww.pc3.it/gsr2

GSH2

WSDL Document

2

GSR2

Grid ServiceInstance

2

Client

Page 7: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

7

CMS

LNLGrid Service PortTypes (1)

A Grid Service can implement following PortType:

GridService: encapsulates the root behavior of the component model

HandleResolver: mapping form a GSH to a GSR

NotificationSource: allows clients to subscribe to notification messages

NotificationSubscription: defines the relationship between a single NotificationSource and NotificationSink pair

NotificationSink: defines a single operation for delivering a notification message to the service instance that implements the operation

Factory: standard operation for creation of Grid Service instances

Registration: allows clients to register and unregister registry contents

Page 8: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

8

CMS

LNLGrid Service PortTypes (2)

Grid Service

(required)

…other interfaces…

(opzional)

Implementation

Service data access

Explicit destruction

Soft-state lifetime

Standard:

-Notification

-Authorization

-Service creation

-Service registry

-Manageability

-Concurrency

+ application-specific interfaces

Hosting environment/runtime(“C”, J2EE, .NET, …)

Page 9: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

9

CMS

LNLWSDL Extensions

OGSA architecture introduced WSDL extensions to allow Grid Service implementation

New WSDL elements:

• serviceData: represents properties of the service’s state that may be externally queried

• serviceDataDescription: formal description of serviceData elements

• Convention on portType name: naming conventions and immutability of portType names

• Grid Service Reference

• Grid Service Handle

Page 10: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

10

CMS

LNLServiceData Concept (1)

Service data: to support discovery, introspection, and monitoring of Grid Service instanceò it refers to descriptive information about Grid Service instance, including

Meta-Data: information about the service instance

State Data: runtime properties of the service instance

Each Grid Service instance has an associated set of SDEs (each one is represented in XML by a serviceData element)

Page 11: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

11

CMS

LNLServiceData Concept (2)

serviceData elements samples:

Instance’s data which value can change at runtime

Page 12: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

12

CMS

LNLServiceData Concept (3)

Each Grid Service instance is associated with a set of SDEs. This set is modelled as a serviceDataSet:

serviceData cpuSpeed with relative description: type, value

serviceData configuration with relative description

Page 13: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

13

CMS

LNLGrid Service =

Interfaces + Service Data

cpuLoad Counter value

Page 14: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

14

CMS

LNLExample of Grid Service : DB Service

A DBaccess Grid Service has at least two portType

GridService

DBaccess

Each has any serviceData

GridService: base informations, lifetime informations,…

DBaccess: kind of database, query languages supported, current load,…

Page 15: OGSA INFRASTRUCTURE EVALUATION

CMS

LNL

15Giuliano Rorato - INFN - LNL 19/11/2002

Example of Grid Service : DB Service

The UK e-Science Institute collaborate in the OGSA Project, and it implemented a Grid Data Service, a Grid Service with portType to work with many database (relational, XML-DB, …)

http://umbriel.dcs.gla.ac.uk/NeSC/general/

Grid Service

XML-DB portType

Relational-DB portType

…Grid Data Service

Page 16: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

16

CMS

LNLGridService portType: operations

FindServiceData: query the service data

RequestTerminationAfter: request that the termination time of this service be changed

RequestTerminationBefore: request that the termination time of the service be changed

Destroy: explicity request destruction of this service

Client

FindServiceData(lifetime)

Page 17: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

17

CMS

LNLFactory portType

It is used by a client to create an instance of a Grid Service

It is a Grid Service that must implement the Factory portType, which provides a standard WSDL operation for creation of Grid Service instances

The used operation is: CreateService

User Application

Service Provider

Grid Service

Counter Factory

Page 18: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

18

CMS

LNLFactory portType

It is used by a client to create an instance of a Grid Service

It is a Grid Service that must implement the Factory portType, which provides a standard WSDL operation for creation of Grid Service instances

The used operation is: CreateService

User Application

Service Provider

Grid Service

Counter Factory

CreateService

Page 19: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

19

CMS

LNLFactory portType

It is used by a client to create an instance of a Grid Service

It is a Grid Service that must implement the Factory portType, which provides a standard WSDL operation for creation of Grid Service instances

The used operation is: CreateService

User Application

Service Provider

Grid Service

Counter Factory

CreateService

Counter

Page 20: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

20

CMS

LNLRegistration

A registry is a Grid Service that maintains a collection of GSH, with policies associated with that collection. Clients may query the registry to discover what services are available

The registration portType allows clients to register and unregister registry content

The registry makes available a WS-Inspection document (defined with the Web Services Inspection Language – WSIL) to aid in discovery of the services in that registry

Page 21: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

21

CMS

LNLRegistration

User Application

Service Provider

Grid Service

Registry portType

Page 22: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

22

CMS

LNLRegistration

User Application

Service Provider

Grid Service

Registry portType

RegisterService(locator 1)

Page 23: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

23

CMS

LNLRegistration

User Application

Service Provider

Grid Service

Registry portType

RegisterService(locator 1)

GSH 1

Page 24: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

24

CMS

LNLRegistration

User Application

Service Provider

Grid Service

Registry portType

GSH 1

Page 25: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

25

CMS

LNLRegistration

User Application

Service Provider

Grid Service

Registry portType

UnregisterService(GSH 1)

GSH 1

Page 26: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

26

CMS

LNLRegistration

User Application

Service Provider

Grid Service

Registry portType

Page 27: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

27

CMS

LNLTransients Database Services

Page 28: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

28

CMS

LNLNotification

The purpose of the notification is to deliver interesting messages from a notification source to a notification sink

Notification source: sender of the notification messages

Notification sink: Grid Service instance that receives notification messages from any number of sources

Notification message: XML element sent from a notification source to a notification sink

Subscription expression: XML element that describes what messages should be sent from the notification source to the notification sink

Page 29: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

29

CMS

LNLNotification portTypes

NotificationSource portType

Subscribe

NotificationSubscription portType: used from Clients to manage the subscription (lifetime and others properties)

NotificationSink portType

deliverNotification

Page 30: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

30

CMS

LNLUSE CASE OF NOTIFICATION

User Application

Service Provider

Grid Service

Notification portType

X=0

serviceData

Page 31: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

31

CMS

LNLUSE CASE OF NOTIFICATION

User Application

Service Provider

Grid Service

Notification portType

X=0

serviceData

Subscribe(x=1, sink, exp time)

Page 32: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

32

CMS

LNLUSE CASE OF NOTIFICATION

User Application

Service Provider

Grid Service

Notification portType

X=0

serviceData

Page 33: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

33

CMS

LNLUSE CASE OF NOTIFICATION

User Application

Service Provider

Grid Service

Notification portType

X=1

serviceData

Page 34: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

34

CMS

LNLUSE CASE OF NOTIFICATION

User Application

Service Provider

Grid Service

Notification portType

X=1

serviceData

DeliverNotification(x=1)

Page 35: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

35

CMS

LNLHandleResolver portType

A Handle Resolver is a Grid Service instance that implements the HandleResolver portType

FindByHandle: returns a serviceLocator, which contains one or more GSR (Grid Service Reference) for a GSH (Grid Service Handle)

Page 36: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

36

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

“I want to create a personal database containing data on e.coli metabolism”

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

Page 37: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

37

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

“Find me a data mining service, and somewhere to store data”

Page 38: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

38

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

GSHs for Mining and Database factories

Page 39: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

39

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

“Create a data mining service with initial lifetime 10”

“Create a database with initial lifetime 1000”

Page 40: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

40

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

“Create a data mining service with initial lifetime 10”

“Create a database with initial lifetime 1000”

Miner

Database

Page 41: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

41

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

Miner

Database

Query

QueryKeepalive

Keepalive

Page 42: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

42

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

Miner

Database

ResultsKeepalive

Keepalive

Results

Page 43: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

43

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB n

Miner

Database

Keepalive

Page 44: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

44

CMS

LNLExample: Data Mining for

Bioinformatics

User Application

CommunityRegistry

Mining Factory

Compute Service Provider

Database Factory

Storage Service Provider

DatabaseService

DB 1

Database Service

DB nDatabase

Keepalive

Page 45: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

45

CMS

LNLCode Preview

Grid Service Container Frameworks:

Java

.NET

“C”

In this moment there are many java hosting environment:

1. Servlet: OGSA container is put into a standard Java Servlet Engine

2. EJB: OGSA container is put into a EJB Application Server

Page 46: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

46

CMS

LNLJava Container Framework

OGSA Core endorsed Java Specifications:

Apache Axis (Web Services Container)

JAXP (XML Parsing)

JAX-RPC

J2EE

• EJB

• JMS

• JNLP (Java Network Launch Protocol, used for the mobile Java code)

Documentation: still poor and with not much examples

Page 47: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

47

CMS

LNLCounter Example

CounterClient

“I want to create a Counter Grid Service”

Compute Service Provider

Grid Service

Counter Factory

Page 48: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

48

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

CreateService

Page 49: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

49

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

CreateService

Counter

X=0

Page 50: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

50

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

Subscribe(X)

X=0

Page 51: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

51

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

I want to Add “10” and then Subtract “5” X=0

Page 52: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

52

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

Add (10)

X=0

Page 53: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

53

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

X=10

Page 54: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

54

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

X=10

Notify (10)

Counter State = 10

Page 55: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

55

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

X=10

Subtract (4)

Page 56: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

56

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

X=6

Page 57: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

57

CMS

LNLCounter Example

CounterClient

Compute Service Provider

Grid Service

Counter Factory

Counter

X=6

Notify (6)

Counter State = 6

Page 58: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

58

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

Page 59: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

59

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

CreateS

ervice

Page 60: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

60

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

CreateS

ervice

LOG

GSH

1

Page 61: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

61

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

Register GSH 1

LOG

Page 62: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

62

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Page 63: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

63

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

Page 64: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

64

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Find(LOG

)

Message Producer

Page 65: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

65

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1 GSH 1

Message Producer

Page 66: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

66

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

GSH1

Page 67: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

67

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Subscriber

Message Producer

GSH1

Page 68: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

68

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

GSH1

Subs

crib

e

Message Subscriber

Page 69: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

69

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

GSH1

Sink

Source

Message Subscriber

Page 70: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

70

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

GSH1

Sink

Source

Add(“ciao”)

Message Subscriber

Page 71: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

71

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

GSH1

Sink

Source

Add(“ciao”)

Not

ify

Message Subscriber

Page 72: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

72

CMS

LNLLog Grid Service Example

CreateServiceClient

Grid Service

Log Factory

Registry

LOG

GSH1

Message Producer

GSH1

Sink

Source

CiaoMessage Subscriber

Page 73: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

73

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

Page 74: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

74

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

Find(“LOG

”)

Page 75: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

75

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

LOG

1

Page 76: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

76

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

UseService

Page 77: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

77

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

Find(“LOG

”)

Page 78: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

78

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

LOG

n

Page 79: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

79

CMS

LNL“Balanced” Log Grid Service (in progress)

CreateServiceClient

Grid Service

Log Factory

Registry

LOG 1

GSH1

Message Producer

LOG n…

GSHn

UseService

Page 80: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

80

CMS

LNLResources Discovery

REGISTRY

GSH STATE

Grid Service

ResourceFactory

CreateXDaqClient

Grid Service

Registration portType

Page 81: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

81

CMS

LNLResources Discovery

CreateXDaqClient

Cre

ateS

ervi

ce

REGISTRY

GSH STATE

Grid Service

ResourceFactory

Grid Service

Registration portType

Page 82: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

82

CMS

LNLResources Discovery

CreateXDaqClient

GSH 1

REGISTRY

GSH STATE

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Page 83: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

83

CMS

LNLResources Discovery

CreateXDaqClient

Regist

er(G

SH1)

REGISTRY

GSH STATE

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Page 84: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

84

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Regist

er(G

SH1)

Grid Service Resource

1

Page 85: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

85

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

1 2

Page 86: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

86

CMS

LNLResources Discovery

CreateXDaqClient

Reg

iste

r(G

SH2)

REGISTRY

GSH STATE

GSH 1 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

1 2

Page 87: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

87

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Reg

iste

r(G

SH2)

1 2

Page 88: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

88

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

1 2

Page 89: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

89

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Keepalive

Page 90: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

90

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 91: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

91

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

GSH 2 = “OFF”

Page 92: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

92

CMS

LNLResources Discovery

CreateXDaqClient

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 93: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

93

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 94: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

94

CMS

LNLResources Discovery

CreateXDaqClient

Client

Find(“Xdaq”)

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 95: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

95

CMS

LNLResources Discovery

CreateXDaqClient

Client

GSH 1

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 96: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

96

CMS

LNLResources Discovery

CreateXDaqClient

Client

UseService

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 97: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

97

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 98: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

98

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 99: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

99

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 OFF

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

GSH 2 = “ON”

Page 100: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

100

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 101: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

101

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Find(“Xdaq”)

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 102: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

102

CMS

LNLResources Discovery

CreateXDaqClient

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

GSH 1, GSH 2

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 103: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

103

CMS

LNLResources Discovery

CreateXDaqClient

Client

UseService

UseService

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

Grid Service Resource

Grid Service Resource

1 2 3

Page 104: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

104

CMS

LNLResources AutoDiscovery

Client

REGISTRY

GSH STATE

GSH 1 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Page 105: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

105

CMS

LNLResources AutoDiscovery

Client

REGISTRY

GSH STATE

GSH 1 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Grid Service Resource

2

Page 106: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

106

CMS

LNLResources AutoDiscovery

Client

REGISTRY

GSH STATE

GSH 1 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Grid Service Resource

2

Reg

iste

r(G

SH2)

Page 107: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

107

CMS

LNLResources AutoDiscovery

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Grid Service Resource

2

Reg

iste

r(G

SH2)

Page 108: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

108

CMS

LNLResources AutoDiscovery

Client

REGISTRY

GSH STATE

GSH 1 ON

GSH 2 ON

Grid Service

ResourceFactory

Grid Service

Registration portType

Grid Service Resource

1

Grid Service Resource

2

Page 109: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

109

CMS

LNLProblems

The problems to use this architecture are in the lack of documentation and in the presence of little bug, although they are correct in slightly time

FORUM

[email protected]

Page 110: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

110

CMS

LNL

All the RCMS Services can be developed (or re-implemented) under the OGSA framework

Some OGSA features can be exploited to design the services (e.g. publish/subscribe in the IMS)

Benefits for the overall RCMS infrastructure Services instantiation / Job Control (Factory) Services location (Registry) Uniform development platform Built-in security mechanism (at the service level) Common mechanism to access the services (api for clients):

• SOAP• Wsdl• portTypes• Software State (e.g. to monitor the service itself)

Cons Dependence from the Globus/IBM OGSA implementation

OGSA for RCMS?

Page 111: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

111

CMS

LNL

RCMSRS

Resource Discovery

RCMSIMS

System Info/Alarm(CPU, Mem,etc.)

RCMSJC

XDAQExec

XDAQAppl 1

XDAQAppl 2

XDAQAppl n

RCMSFM

GenericDAQ Node

GRID DAQ Service

XDAQ Control (start / kill / inspection)

Benefits:• homogenous control infrastructure

• built-in resource discovery

• Notify mechanism in case of hardware errors (e.g. disk full)

• Node Services (e.g. node monitor)

• Application Job Control (e.g. XDAQ) XDAQ OGSA Compliant?

• very usefull a XDAQ service description in WSDL• very usefull a notify mechanism OGSA compliant • Registry/factory/discovery mechanisms can be done by the GRID DAQ Service

OGSA enabled DAQ resources?

Page 112: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

112

CMS

LNL

RCMS SERVICES

DAQ SERVICES

DA

TA

BA

SE

SE

RV

ICE

S

RE

GIS

TR

IES

, F

AC

TO

RIE

S

PortTypes

SQL

XML:DB

OGSA BASED RCMS INFRASTRUCTURE

Page 113: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

113

CMS

LNLConclusions

OGSA evaluation in progress based on a preview code

First feedback positive based on the working examples implemented

Performance tests needed, wait for alfa version implementation (January 2003)

Discussion started on the use of OGSA in the RCMS context

Page 114: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

114

CMS

LNLFuture Development

Gennaio 2003 OGSA ALPHA-Version

More documentation and examples

Correction of Bugs

New hosting environments (“C”)

...

Page 115: OGSA INFRASTRUCTURE EVALUATION

Giuliano Rorato - INFN - LNL 19/11/2002

115

CMS

LNLBIBLIOGRAPHY

[1] – www.globus.org/ogsa

[2] – www.globus.org/ogsa/releases/TechPreview/ - OGSA Release Preview 4

[3] – Open Grid Services Architecture: An Introduction – Ian Foster

[4] – Grid Service Specification (Draft 4, October 4, 2002)

[5] – Ogsa Physiology Paper

[6] – Building Web Services with Java – Steve Graham