CMS LNL OGSA INFRASTRUCTURE EVALUATION Specification & Applications Giuliano Rorato INFN – Laboratori Nazionali di Legnaro
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ 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. OGSA: defines mechanisms for managing distribuited entities. RCMS: distribuited services system for the run control of CMS. OGSA framework RCMS Services
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Open 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 : Globus Toolkit OGSA-compliant Globus Toolkit 3.0 Now there is the Preview Release 5
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Web 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ OGSA - 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ GSH e GSR URI GSH1 WSDL Document 1 GSR1 Grid Service Instance 1 URI GSH2 WSDL Document 2 GSR2 Grid Service Instance 2 Client
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Grid 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Grid 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, …)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ WSDL 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ ServiceData 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)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ ServiceData Concept (2) serviceData elements samples: Instance’s data which value can change at runtime
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ ServiceData 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Grid Service = Interfaces + Service Data cpuLoad Counter value
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example 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,…
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ 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, …) Grid Service XML-DB portType Relational-DB portType … Grid Data Service
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ GridService 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)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Factory 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Factory 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Factory 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration User Application Service Provider Grid Service Registry portType
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration User Application Service Provider Grid Service Registry portType RegisterService(locator 1)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration User Application Service Provider Grid Service Registry portType RegisterService(locator 1) GSH 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration User Application Service Provider Grid Service Registry portType GSH 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration User Application Service Provider Grid Service Registry portType UnregisterService(GSH 1) GSH 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Registration User Application Service Provider Grid Service Registry portType
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Transients Database Services
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Notification 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Notification portTypes NotificationSource portType Subscribe NotificationSubscription portType: used from Clients to manage the subscription (lifetime and others properties) NotificationSink portType deliverNotification
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ USE CASE OF NOTIFICATION User Application Service Provider Grid Service Notification portType X=0 serviceData
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ USE CASE OF NOTIFICATION User Application Service Provider Grid Service Notification portType X=0 serviceData Subscribe(x=1, sink, exp time)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ USE CASE OF NOTIFICATION User Application Service Provider Grid Service Notification portType X=0 serviceData
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ USE CASE OF NOTIFICATION User Application Service Provider Grid Service Notification portType X=1 serviceData
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ USE CASE OF NOTIFICATION User Application Service Provider Grid Service Notification portType X=1 serviceData DeliverNotification(x=1)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ HandleResolver 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)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry “I want to create a personal database containing data on e.coli metabolism” Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n “Find me a data mining service, and somewhere to store data”
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n GSHs for Mining and Database factories
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n “Create a data mining service with initial lifetime 10” “Create a database with initial lifetime 1000”
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n “Create a data mining service with initial lifetime 10” “Create a database with initial lifetime 1000” Miner Database
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n Miner Database Query Keepalive
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n Miner Database Results Keepalive Results
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n Miner Database Keepalive
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Example: Data Mining for Bioinformatics User Application Community Registry Mining Factory Compute Service Provider Database Factory Storage Service Provider Database Service DB 1 Database Service DB n Database Keepalive
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Code 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Java 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client “I want to create a Counter Grid Service” Compute Service Provider Grid Service Counter Factory
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory CreateService
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory CreateService Counter X=0
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter Subscribe(X) X=0
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter I want to Add “10” and then Subtract “5” X=0
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter Add (10) X=0
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter X=10
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter X=10 Notify (10) Counter State = 10
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter X=10 Subtract (4)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter X=6
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Counter Example Counter Client Compute Service Provider Grid Service Counter Factory Counter X=6 Notify (6) Counter State = 6
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry CreateService
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry CreateService LOG GSH 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry Register GSH 1 LOG
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Find(LOG) Message Producer
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer GSH1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Subscriber Message Producer GSH1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer GSH1 Subscribe Message Subscriber
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer GSH1 Sink Source Message Subscriber
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer GSH1 Sink Source Add(“ciao”) Message Subscriber
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer GSH1 Sink Source Add(“ciao”) Notify Message Subscriber
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Log Grid Service Example CreateService Client Grid Service Log Factory Registry LOG GSH1 Message Producer GSH1 Sink Source Ciao Message Subscriber
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn Find(“LOG”)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn LOG 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn UseService
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn Find(“LOG”)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn LOG n
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ “Balanced” Log Grid Service (in progress) CreateService Client Grid Service Log Factory Registry LOG 1 GSH1 Message Producer LOG n … GSHn UseService
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery REGISTRY GSH STATE Grid Service Resource Factory CreateXDaq Client Grid Service Registration portType
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client CreateService REGISTRY GSH STATE Grid Service Resource Factory Grid Service Registration portType
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client GSH 1 REGISTRY GSH STATE Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client Register(GSH1) REGISTRY GSH STATE Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON Grid Service Resource Factory Grid Service Registration portType Register(GSH1) Grid Service Resource 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource 12
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client Register(GSH2) REGISTRY GSH STATE GSH 1ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource 12
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Register(GSH2) 12
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource 12
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123 Keepalive
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123 GSH 2 = “OFF”
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client Find(“Xdaq”) REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client GSH 1 REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client UseService REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2OFF Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123 GSH 2 = “ON”
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Find(“Xdaq”) Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType GSH 1, GSH 2 Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources Discovery CreateXDaq Client UseService REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource Grid Service Resource Grid Service Resource 123
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources AutoDiscovery Client REGISTRY GSH STATE GSH 1ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources AutoDiscovery Client REGISTRY GSH STATE GSH 1ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1 Grid Service Resource 2
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources AutoDiscovery Client REGISTRY GSH STATE GSH 1ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1 Grid Service Resource 2 Register(GSH2)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources AutoDiscovery Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1 Grid Service Resource 2 Register(GSH2)
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Resources AutoDiscovery Client REGISTRY GSH STATE GSH 1ON GSH 2ON Grid Service Resource Factory Grid Service Registration portType Grid Service Resource 1 Grid Service Resource 2
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Problems 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ 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?
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ RCMS RS Resource Discovery RCMS IMS System Info/Alarm (CPU, Mem,etc.) RCMS JC XDAQ Exec XDAQ Appl 1 XDAQ Appl 2 XDAQ Appl n RCMS FM Generic DAQ 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?
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ RCMS SERVICES DAQ SERVICES DATABASE SERVICES REGISTRIES, FACTORIES PortTypes SQL XML:DB OGSA BASED RCMS INFRASTRUCTURE
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Conclusions 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
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ Future Development Gennaio 2003 OGSA ALPHA-Version More documentation and examples Correction of Bugs New hosting environments (“C”) ...
CMS LNL Giuliano Rorato - INFN - LNL 19/11/ BIBLIOGRAPHY [1] – [2] – - OGSA Release Preview 4www.globus.org/ogsa/releases/TechPreview/ [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