Introduction to GT3 The Globus Project™ Argonne National Laboratory USC Information Sciences Institute Copyright (C) 2003 University of Chicago and The.

Slides:



Advertisements
Similar presentations
GT3 Overview The Globus Project Argonne National Laboratory USC Information Sciences Institute Copyright (C) 2003 University of Chicago and The University.
Advertisements

Siebel Web Services Siebel Web Services March, From
The Anatomy of the Grid: An Integrated View of Grid Architecture Carl Kesselman USC/Information Sciences Institute Ian Foster, Steve Tuecke Argonne National.
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
GridFTP Introduction – Page 1Grid Forum 5 GridFTP Steve Tuecke Argonne National Laboratory.
Holding slide prior to starting show. Supporting Collaborative Working of Construction Industry Consortia via the Grid - P. Burnap, L. Joita, J.S. Pahwa,
1 CENTER FOR PARALLEL COMPUTERS An Introduction to Globus Toolkit® 3 -Developing Interoperable Grid services.
Introduction to Grid Computing The Globus Project™ Argonne National Laboratory USC Information Sciences Institute Copyright (c)
Distributed Heterogeneous Data Warehouse For Grid Analysis
Introduction to GT3 The Globus Project™ Argonne National Laboratory USC Information Sciences Institute Copyright (C) 2003 University of Chicago and The.
June 2003 GGF8Introduction to Globus Toolkit® 3.01 Introduction to GT3 l Background –The Grid Problem –The Globus Approach –OGSA & OGSI –Globus Toolkit.
Slides for Grid Computing: Techniques and Applications by Barry Wilkinson, Chapman & Hall/CRC press, © Chapter 1, pp For educational use only.
1-2.1 Grid computing infrastructure software Brief introduction to Globus © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
Data Grids: Globus vs SRB. Maturity SRB  Older code base  Widely accepted across multiple communities  Core components are tightly integrated Globus.
4b.1 Grid Computing Software Components of Globus 4.0 ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson, slides 4b.
Globus Computing Infrustructure Software Globus Toolkit 11-2.
OGSA : Open Grid Services Architecture Ramya Rajagopalan
Globus 4 Guy Warner NeSC Training.
Kate Keahey Argonne National Laboratory University of Chicago Globus Toolkit® 4: from common Grid protocols to virtualization.
The Challenges of Grid Computing Ian Foster Mathematics and Computer Science Division Argonne National Laboratory and Department of Computer Science The.
Web Services (tying it all together) and Introduction to Grid Services Concepts These slides are adapted from course material developed by Barry Wilkinson,
Grid Toolkits Globus, Condor, BOINC, Xgrid Young Suk Moon.
CGW 2003 Institute of Computer Science AGH Proposal of Adaptation of Legacy C/C++ Software to Grid Services Bartosz Baliś, Marian Bubak, Michał Węgiel,
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
OPEN GRID SERVICES ARCHITECTURE AND GLOBUS TOOLKIT 4
GT Components. Globus Toolkit A “toolkit” of services and packages for creating the basic grid computing infrastructure Higher level tools added to this.
Grid Resource Allocation and Management (GRAM) Execution management Execution management –Deployment, scheduling and monitoring Community Scheduler Framework.
The Anatomy of the Grid: An Integrated View of Grid Architecture Ian Foster, Steve Tuecke Argonne National Laboratory The University of Chicago Carl Kesselman.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
CYBERINFRASTRUCTURE FOR THE GEOSCIENCES Data Replication Service Sandeep Chandra GEON Systems Group San Diego Supercomputer Center.
전산학과 이재승 The Physiology of the GRID I. Foster, C. Kesselman, J. Nick, and S. Tuecke Open Grid Service Infrastructure.
OGSA Hauptseminar: Data Grid Thema 2: Open Grid Service Architecture
Middleware for Grid Computing and the relationship to Middleware at large ECE 1770 : Middleware Systems By: Sepehr (Sep) Seyedi Date: Thurs. January 23,
Communicating Security Assertions over the GridFTP Control Channel Rajkumar Kettimuthu 1,2, Liu Wantao 3,4, Frank Siebenlist 1,2 and Ian Foster 1,2,3 1.
Ames Research CenterDivision 1 Information Power Grid (IPG) Overview Anthony Lisotta Computer Sciences Corporation NASA Ames May 2,
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Grid Services I - Concepts
Grid Security: Authentication Most Grids rely on a Public Key Infrastructure system for issuing credentials. Users are issued long term public and private.
Performance Measurement Points Sockets, plain text and grid services Paul Mealor.
Transition and Evolution Moving to Grid Services.
GRIDS Center Middleware Overview Sandra Redman Information Technology and Systems Center and Information Technology Research Center National Space Science.
GRID Overview Internet2 Member Meeting Spring 2003 Sandra Redman Information Technology and Systems Center and Information Technology Research Center National.
Reliable File Transfer: Lessons Learned Bill Allcock, ANL Ravi Madduri, ANL.
CEOS Working Group on Information Systems and Services - 1 Data Services Task Team Discussions on GRID and GRIDftp Stuart Doescher, USGS WGISS-15 May 2003.
Prof S.Ramachandram Dept of CSE,UCE Osmania University
Basic Grid Projects - Globus Sathish Vadhiyar Sources/Credits: Project web pages, publications available at Globus site. Some of the figures were also.
Introduction to Grids By: Fetahi Z. Wuhib [CSD2004-Team19]
Kemal Baykal Rasim Ismayilov
6/23/2005 R. GARDNER OSG Baseline Services 1 OSG Baseline Services In my talk I’d like to discuss two questions:  What capabilities are we aiming for.
The Grid Enabling Resource Sharing within Virtual Organizations Ian Foster Mathematics and Computer Science Division Argonne National Laboratory and Department.
1 Observations on Architecture, Protocols, Services, APIs, SDKs, and the Role of the Grid Forum Ian Foster Carl Kesselman Steven Tuecke.
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
GRID ANATOMY Advanced Computing Concepts – Dr. Emmanuel Pilli.
1 Service oriented computing Gergely Sipos, Péter Kacsuk
GT3 Architecture and Functionality. Core OGSI Implementation Security Services System-Level Services Container Hosting Environment Base Services Resource.
INFSO-RI Enabling Grids for E-sciencE Web Services Mike Mineter National e-Science Centre, Edinburgh.
GT3 Index Services Lecture for Cluster and Grid Computing, CSCE 490/590 Fall 2004, University of Arkansas, Dr. Amy Apon.
WP3 Implementing R-GMA grid services in GT3 Abdeslem Djaoui & WP3 Grid Services Task Force 7 th EU Datagrid meeting 26/09/2003
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
DataGrid is a project funded by the European Commission EDG Conference, Heidelberg, Sep 26 – Oct under contract IST OGSI and GT3 Initial.
Amy Krause EPCC OGSA-DAI An Overview OGSA-DAI on OMII 2.0 OMII The Open Middleware Infrastructure Institute NeSC,
Argonne National Laboratory USC Information Sciences Institute
Grid Services B.Ramamurthy 12/28/2018 B.Ramamurthy.
Introduction to Grid Technology
The Anatomy and The Physiology of the Grid
The Anatomy and The Physiology of the Grid
Grid Systems: What do we need from web service standards?
Distributed System using Web Services
Grid Computing Software Interface
Presentation transcript:

Introduction to GT3 The Globus Project™ Argonne National Laboratory USC Information Sciences Institute Copyright (C) 2003 University of Chicago and The University of Southern California. All Rights Reserved. This presentation is licensed for use under the terms of the Globus Toolkit Public License. See for the full text of this license.

June 2003 GGF8Introduction to Globus Toolkit®

June 2003 GGF8Introduction to Globus Toolkit® 3.03 Introduction to GT3 l Background –The Grid Problem –The Globus Approach –OGSA & OGSI –Globus Toolkit l GT3 Architecture and Functionality: The Latest Refinement of the Globus Toolkit –Core –Base Services –User-Defined Services –Future Directions l Installation and Administration –Installation –Configuration –Debugging –Support l Important Things to Remember

June 2003 GGF8Introduction to Globus Toolkit® 3.04 A Story of Evolution l Definition of Grid problem has been stable since original Globus Project proposal in 1995 –Though we’ve gotten better at articulating it l But our approach to its solution has evolved: –From APIs and custom protocols… –to standard protocols… –to Grid services (OGSA). l Driven by experience implementing and deploying the Globus Toolkit, and building real applications with it

June 2003 GGF8Introduction to Globus Toolkit® 3.05 What is a Grid? l We believe there are three key criteria: –Coordinates distributed resources … –using standard, open, general-purpose protocols and interfaces … –to deliver non-trivial qualities of service. l What is not a Grid? –A cluster, a network attached storage device, a scientific instrument, a network, etc. –Each is an important component of a Grid, but by itself does not constitute a Grid

June 2003 GGF8Introduction to Globus Toolkit® 3.06 Challenging Technical Requirements l Dynamic formation and management of virtual organizations l Discovery & online negotiation of access to services: who, what, why, when, how l Configuration of applications and systems able to deliver multiple qualities of service l Autonomic management of distributed infrastructures, services, and applications l Management of distributed state l Open, extensible, evolvable infrastructure

June 2003 GGF8Introduction to Globus Toolkit® 3.07 The Globus Project™ Making Grid computing a reality (since 1996) l Close collaboration with real Grid projects in science and industry l The Globus Toolkit®: Open source software base for building Grid infrastructure and applications l Development and promotion of standard Grid protocols to enable interoperability and shared infrastructure l Development and promotion of standard Grid software APIs to enable portability and code sharing l Global Grid Forum: We co-founded GGF to foster Grid standardization and community

From APIs & Custom Protocols, To Standard Protocols

June 2003 GGF8Introduction to Globus Toolkit® 3.09 API Application Programming Interface l A specification for a set of routines to facilitate application development –Refers to definition, not implementation l Often language-specific (or IDL) –Routine name, number, order and type of arguments; mapping to language constructs –Behavior or function of routine l Examples of APIs –GSS-API (security), MPI (message passing)

June 2003 GGF8Introduction to Globus Toolkit® Network Protocol l A formal description of message formats and a set of rules for message exchange –Rules may define sequence of message exchanges –Protocol may define state-change in endpoint, e.g., file system state change l Good protocols designed to do one thing –Protocols can be layered l Examples of protocols –IP, TCP, TLS (was SSL), HTTP, Kerberos

June 2003 GGF8Introduction to Globus Toolkit® A Protocol can have Multiple APIs l TCP/IP APIs include BSD sockets, Winsock, System V streams, … l The protocol provides interoperability: programs using different APIs can exchange information l I don’t need to know remote user’s API TCP/IP Protocol: Reliable byte streams WinSock APIBerkeley Sockets API Application

June 2003 GGF8Introduction to Globus Toolkit® An API can have Multiple Protocols l An API provides portability: any correct program compiles & runs on a platform l Does not provide interoperability: all processes must link against same SDK –E.g., MPICH and LAM versions of MPI Application MPI API LAM SDK LAM protocol MPICH-P4 SDK MPICH-P4 protocol TCP/IP Different message formats, exchange sequences, etc.

June 2003 GGF8Introduction to Globus Toolkit® Initial Focus On APIs and Custom Protocols l Primary concern was allowing Grid applications to be built quickly, in order to demonstrate feasibility l Good development APIs and SDKs mattered most l Protocols were a means to an end –We borrowed and extended standard protocols to make life easier (e.g. LDAP) –We defined custom protocols (e.g. GRAM)

June 2003 GGF8Introduction to Globus Toolkit® But Focus Shifted To Protocols l As demand grew, customers worried about: –compatibility between versions (i.e. Stop changing the protocols!) –independent implementations of some components (i.e. What are the protocols?) l Ubiquitous adoption demands open, standard protocols –Internet and Web as guides –Enables innovation/competition on end points –Avoid product/vendor lock-in

June 2003 GGF8Introduction to Globus Toolkit® Layered Grid Architecture Application Fabric “Controlling things locally”: Access to, & control of, resources Connectivity “Talking to things”: communication (Internet protocols) & security Resource “Sharing single resources”: negotiating access, controlling use Collective “Coordinating multiple resources”: ubiquitous infrastructure services, app-specific distributed services Internet Transport Application Link Internet Protocol Architecture “The Anatomy of the Grid: Enabling Scalable Virtual Organizations”, Foster, Kesselman, Tuecke, Intl Journal of High Performance Computing Applications, 15(3), 2001.

June 2003 GGF8Introduction to Globus Toolkit® Layers of Grid Architecture

June 2003 GGF8Introduction to Globus Toolkit® GT2 Key Protocols l The Globus Toolkit v2 (GT2) centers around four key protocols –Connectivity layer: >Security: Grid Security Infrastructure (GSI) –Resource layer: >Resource Management: Grid Resource Allocation Management (GRAM) >Information Services: Grid Resource Information Protocol (GRIP) >Data Transfer: Grid File Transfer Protocol (GridFTP) l Also key collective layer protocols –Info Services, Replica Management, etc.

June 2003 GGF8Introduction to Globus Toolkit® Protocol Standards Efforts l X.509 Proxy Certificate Profile –GGF & IETF l GridFTP Protocol –GGF

From Standard Protocols, To Grid Services

June 2003 GGF8Introduction to Globus Toolkit® But Along The Way… l Heterogeneous protocol base was hurting us l Increasing number of virtual services that needed to be managed l Web services (WSDL, SOAP) appeared

June 2003 GGF8Introduction to Globus Toolkit® Web Services l At the heart of Web services is: –WSDL: Language for defining abstract service interfaces –SOAP (and friends): Binding from WSDL to bytes on the wire l Web services appears to offer a fighting chance at ubiquity (unlike CORBA) l But Web services does not go far enough to serve a common base for the Grid…

June 2003 GGF8Introduction to Globus Toolkit® Transient Service Instances l “Web services” address discovery & invocation of persistent services –Interface to persistent state of entire enterprise l In Grids, must also support transient service instances, created/destroyed dynamically –Interfaces to the states of distributed activities –E.g. workflow, video conf., dist. data analysis, subscription l Significant implications for how services are managed, named, discovered, and used –In fact, much of Grid is concerned with the management of service instances

June 2003 GGF8Introduction to Globus Toolkit® Standard Interfaces & Behaviors: Four Interrelated Concepts l Naming and bindings –Every service instance has a unique name, from which can discover supported bindings l Lifecycle –Service instances created by factories –Destroyed explicitly or via soft state l Information model –Service data associated with Grid service instances, operations for accessing this info –Basis for service introspection, monitoring, discovery l Notification –Interfaces for registering existence, and delivering notifications of changes to service data

June 2003 GGF8Introduction to Globus Toolkit® Grid Evolution: Open Grid Services Architecture l Refactor Globus protocol suite to enable common base and expose key capabilities l Service orientation to virtualize resources and unify resources/services/information l Embrace key Web services technologies for standard IDL, leverage commercial efforts l Result: standard interfaces & behaviors for distributed system management: the Grid service

June 2003 GGF8Introduction to Globus Toolkit® OGSA Structure l A standard substrate: the Grid service –OGSI = Open Grid Service Infrastructure –Standard interfaces and behaviors that address key distributed system issues –Much borrowed from GT abstractions l … supports standard service specifications –Resource mgt, dbms, workflow, security, … –Target of current & planned GGF efforts l … and arbitrary application-specific services based on these & other definitions

June 2003 GGF8Introduction to Globus Toolkit® OGSI Grid Service Specification l Defines WSDL conventions and GSDL extensions –For describing and structuring services –Working with W3C WSDL working group to drive GSDL extensions into WSDL l Defines fundamental interfaces (using WSDL) and behaviors that define a Grid Service –A unifying framework for interoperability & establishment of total system properties

June 2003 GGF8Introduction to Globus Toolkit® Globus Toolkit (GT) l A software system addressing key technical problems in the development of Grid-enabled tools, services, and applications –Offer a modular set of orthogonal services –Middleware for building solutions, not turn-key –Enable incremental development of Grid-enabled tools and applications –Implement and inform Grid standards –Available under liberal open source license –Large community of developers & users –Multiple commercial support providers

June 2003 GGF8Introduction to Globus Toolkit® Why Open Source is Important l Leverages large body of code and experience –Efforts of a large e-Science community l Encourages adoption of open standards –Reference implementation, community pressure l Facilitates integration of new platforms –Port the implementation l Allows vendors to focus on value add –Platforms, integration, higher-level services, turnkey applications, training, support

June 2003 GGF8Introduction to Globus Toolkit® OGSA and the Globus Toolkit l Technically, OGSA enables –Refactoring of protocols (GRAM, MDS, GridFTP), while preserving all GT concepts/features! –Integration with hosting environments: simplifying components, distribution, etc. –Greatly expanded standard service set l Pragmatically, we are proceeding as follows –Develop open source OGSA implementation >Globus Toolkit 3.0; supports Globus Toolkit 2.0 APIs –Partnerships for service development –Also expect commercial value-adds

June 2003 GGF8Introduction to Globus Toolkit® GT2 Evolution To GT3 l What happened to the GT2 key protocols? –Security: Adapting X.509 proxy certs to integrate with emerging WS standards –GRIP/LDAP: Abstractions integrated into OGSI as serviceData –GRAM: ManagedJobFactory and related service definitions –GridFTP: Unchanged in 3.0, but will evolve into OGSI-compliant service in 2004 l Also rendering collective services in terms of OGSI: RFT, RLS, etc.

June 2003 GGF8Introduction to Globus Toolkit® GT Timeline l GT 1.0:1998 –GRAM, MDS l GT 2.0:2001 –GridFTP, packaging, reliability l GT3 Technology Preview:Apr-Dec 2002 –Tracking OGSI definition l GT3.0 Alpha:Jan 2003 –OGSI Base, GT2 functionality l GT3.0 Production:June 2003 –Tested, documented, etc.

June 2003 GGF8Introduction to Globus Toolkit® Summary l The Grid: Coordinates resources that are not subject to centralized control; using standard, open, general- purpose protocols and interfaces; to deliver non-trivial qualities of service. l Considerable impact within eScience, growing interest & adoption within eBusiness l Globus Toolkit an open source, defacto standard source of protocol and API definitions—and reference implementations l GT3 is evolution of the Globus Toolkit path

June 2003 GGF8Introduction to Globus Toolkit® Introduction to GT3 l Background –The Grid Problem –The Globus Approach –OGSA & OGSI –Globus Toolkit l GT3 Architecture and Functionality: The Latest Refinement of the Globus Toolkit –Core –Base Services –User-Defined Services –Future Directions l Installation and Administration –Installation –Configuration –Debugging –Support l Important Things to Remember

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec Implementation Security Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core

June 2003 GGF8Introduction to Globus Toolkit® The Specification Defines how Entities can Create, Discover and Interact with a Grid Service Service data element Service data element Service data element Service Implementation GridService (required) … other interfaces … (optional) Optional: - Service creation - Notification - Registration - Service Groups + application- specific interfaces Required: - Introspection (service data) - Explicit destruction - Soft-state lifetime GT3 Core: OGSI Specification Includes 0 or more Grid Service Handles (GSHs) Includes 0 or more Grid Service References (GSRs) Service locator

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: OGSI Implementation l GT3 includes a set of primitives that implement the interfaces and behaviors defined in the latest version of the OGSI Specification l The implementation supports a declarative programming model in which GT3 users can compose OGSI-Compliant grid services by plugging the desired primitives into their implementation

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: OGSI Specification (cont.) GridService portType l Defines the fundamental behavior of a Grid Service –Introspection –Discovery –Soft State Lifetime Management l Mandated by the Spec

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: OGSI Specification (cont.) Factory portType l Factories create services l Factories are typically persistent services l Factory is an optional OGSI interface (Grid Services can also be instantiated by other mechanisms)

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: OGSI Specification (cont.) Notification portTypes l A subscription for notification causes the creation of a NotificationSubscription service l NotificationSinks are not required to implement the GridService portType l Notifications can be set on Service Data Elements l Notification portTypes are optional

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: OGSI Specification (cont.) Service group portTypes l A ServiceGroup is a grid service that maintains information about a group of other grid services l The classic registry model can be implemented with the ServiceGroup portTypes l A grid service can belong to more than one ServiceGroup l Members of a ServiceGroup can be heterogenous or homogenous l Each entry in a service group can be represented as its own service l Service group portTypes are optional OGSI interfaces

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: OGSI Specification (cont.) HandleResolver portType l Defines a means for resolving a GSH (Grid Service Handle) to a GSR (Grid Service Reference) –A GSH points to a Grid Service (GT3 uses a hostname-based GSH scheme) –A GSR specifies how to communicate with the Grid Service (GT3 currently supports SOAP over HTTP, so GSRs are in WSDL format) l HandleResolver is an optional OGSI interface

June 2003 GGF8Introduction to Globus Toolkit® Client A Service Creation Scenario* Registry * The scenarios in this presentation are offered as examples and are not prescriptive 1. From a known registry, the client discovers a factory by querying the Service data of the registry

June 2003 GGF8Introduction to Globus Toolkit® Client A Service Creation Scenario Registry 2. The client calls the createService operation on the factory Factory 1. From a known registry, the client discovers a factory by querying the Service data of the registry

June 2003 GGF8Introduction to Globus Toolkit® Client A Service Creation Scenario Registry 1. From a known registry, the client discovers a factory by querying the Service data of the registry 2. The client calls the createService operation on the factory Factory Service 3. The factory creates a service

June 2003 GGF8Introduction to Globus Toolkit® Client A Service Creation Scenario Registry 2. The client calls the createService operation on the factory Factory Service 3. The factory creates a service 4. The factory returns a locator 1. From a known registry, the client discovers a factory by querying the Service data of the registry

June 2003 GGF8Introduction to Globus Toolkit® Client A Service Creation Scenario Registry 2. The client calls the createService operation on the factory Factory Service 3. The factory creates a service 4. The factory returns a locator 5. The client and service interact 1. From a known registry, the client discovers a factory by querying the Service data of the registry

June 2003 GGF8Introduction to Globus Toolkit® Notification Sink A Notification Scenario 1. NotificationSink calls the subscribe operation on NotificationSource

June 2003 GGF8Introduction to Globus Toolkit® Notification Sink A Notification Scenario 1. NotificationSink calls the subscribe operation on NotificationSource Notification Subscription 2.Notification Source creates a subscription service

June 2003 GGF8Introduction to Globus Toolkit® Notification Sink A Notification Scenario 1. NotificationSink calls the subscribe operation on NotificationSource Notification Subscription 2.Notification Source creates a subscription service 3. Notification Source returns a locator to the subscription service

June 2003 GGF8Introduction to Globus Toolkit® Notification Sink A Notification Scenario 1. NotificationSink calls the subscribe operation on NotificationSource Notification Subscription 2.Notification Source creates a subscription service 3. Notification Source returns a locator to the subscription service 4.b The NotificationSink and Subscription service interact to perform lifetime management 4.a deliverNotification stream continues for the lifetime of NotificationSubscription

June 2003 GGF8Introduction to Globus Toolkit® Notification Sink A Notification Scenario 1. NotificationSink calls the subscribe operation on NotificationSource Notification Subscription 2.Notification Source creates a subscription service 3. Notification Source returns a locator to the subscription service 4.b The NotificationSink and Subscription service interact to perform lifetime management 4.a deliverNotification stream continues for the lifetime of NotificationSubscription The sole mandated cardinality: 1 to 1 subscribe

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec Implementation Security Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® l Transport Layer Security/Secure Socket Layer (TLS/SSL) –To be deprecated l SOAP Layer Security –Based on WS-Security, XML Encryption, XML Signature l GT3 uses X.509 identity certificates for authentication l It also uses X.509 Proxy certificates to support delegation and single sign-on, updated to conform to latest IETF/GGF draft GT3 Core: Security Infrastructure

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec ImplementationSecurity Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: System Level Services l General-purpose services that facilitate the use of Grid Services in production environments l The 3.0 distribution includes the following System-Level services: –An Administration Service –A Logging Service –A Management Service

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec ImplementationSecurity Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: Grid Service Container Includes the OGSI Implementation, security infrastructure and system-level services, plus: l Service activation, deactivation, construction, destruction, etc. l Service data element placeholders that allow you to dynamically fetch service data values at query time l Evaluator framework (supporting ByXPath and ByName notifications and queries) l Interceptor/callback framework (allows one to intercept certain service lifecycle events)

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: Grid Service Container (cont.) Interface Layer Transport Layer Implementation Layer Layers in the Web Services Model OGSI Spec is here Transport/Binding Layer (GT3 supports SOAP over HTTP) Container is here

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec ImplementationSecurity Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: Hosting Environment GT3 currently offers support for four Java Hosting Environments: l Embedded l Standalone l Servlet l EJB

June 2003 GGF8Introduction to Globus Toolkit® GT3 Core: Virtual Hosting Environment Framework l Virtual Hosting allows grid services to be distributed across several remote containers l Useful in implementing solutions for problems common to distributed computing –Load balancing –User account sandboxing

June 2003 GGF8Introduction to Globus Toolkit® A Service Creation Scenario Illustrating Redirection in Virtual Hosting Client Registry Router HE Starter 1. From a known registry, the client retrieves a factory locator

June 2003 GGF8Introduction to Globus Toolkit® A Service Creation Scenario Illustrating Redirection in Virtual Hosting Client Registry Router 1. From a known registry, the client retrieves a factory locator HE Starter 2. The router intercepts the createService call on the factory

June 2003 GGF8Introduction to Globus Toolkit® A Service Creation Scenario Illustrating Redirection in Virtual Hosting Client Registry Router 1. From a known registry, the client retrieves a factory locator 2. The router intercepts the createService call on the factory HE Starter 3. The router passes the createService request to the Host Env Starter

June 2003 GGF8Introduction to Globus Toolkit® A Service Creation Scenario Illustrating Redirection in Virtual Hosting Client Registry Router Service 1. From a known registry, the client retrieves a factory locator 2. The router intercepts the createService call on the factory HE Starter 3. The router passes the createService request to the Host Env Starter 4.The HE Starter creates a new Host Env as well as the service

June 2003 GGF8Introduction to Globus Toolkit® A Service Creation Scenario Illustrating Redirection in Virtual Hosting Client Registry Router Service 1. From a known registry, the client retrieves a factory locator 2. The router intercepts the createService call on the factory HE Starter 3. The router passes the createService request to the Host Env Starter 4.The HE Starter creates a new Host Env as well as the service 5. The router returns a service locator

June 2003 GGF8Introduction to Globus Toolkit® A Service Creation Scenario Illustrating Redirection in Virtual Hosting Client Registry Router Service 1. From a known registry, the client retrieves a factory locator 2. The router intercepts the createService call on the factory HE Starter 6. Using the service locator, the router redirects subsequent client-service interactions 3. The router passes the createService request to the Host Env Starter 4.The HE Starter creates a new Host Env as well as the service 5. The router returns a service locator

June 2003 GGF8Introduction to Globus Toolkit® GT3 Base Services

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec ImplementationSecurity Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® MJS GT3 Base: Resource Management l GRAM Architecture rendered in OGSA l The MMJFS runs as an unprivileged user, with a small highly-constrained setuid executable behind it. MMJFS MJS User 1 User 2 User 3 Master User MJFS MJS MJFS MJS MJFS MMJFS: Master Managed Job Factory Service MJFS: Managed Job Factory Service MJS: Managed Job Service

June 2003 GGF8Introduction to Globus Toolkit® Client GRAM Job Submission Scenario Index Service 1. From an index service, the client chooses an MMJFS

June 2003 GGF8Introduction to Globus Toolkit® Client GRAM Job Submission Scenario Index Service 1. From an index service, the client chooses an MMJFS 2. The client calls the createService operation on the factory, supplying RSL MMJFS

June 2003 GGF8Introduction to Globus Toolkit® Client GRAM Job Submission Scenario Index Service 1. From an index service, the client chooses an MMJFS 2. The client calls the createService operation on the factory, supplying RSL MMJFS MJS 3. The factory creates a Managed Job Service

June 2003 GGF8Introduction to Globus Toolkit® Client GRAM Job Submission Scenario Index Service 1. From an index service, the client chooses an MMJFS 2. The client calls the createService operation on the factory, supplying RSL MMJFS MJS 3. The factory creates a Managed Job Service 4. The factory returns a locator

June 2003 GGF8Introduction to Globus Toolkit® Client GRAM Job Submission Scenario Index Service 1. From an index service, the client chooses an MMJFS 2. The client calls the createService operation on the factory, supplying RSL MMJFS MJS 3. The factory creates a Managed Job Service 4. The factory returns a locator 5. The client subscribes to the MJS’ status SDE and retrieves output

June 2003 GGF8Introduction to Globus Toolkit® GT3 Base: Information Services l Index Service as Caching Aggregator –Caches service data from other grid services l Index Service as Provider Framework –Serves as a host for service data providers that live outside of a grid service to publish data

June 2003 GGF8Introduction to Globus Toolkit® GT3 Base: Reliable File Transfer l Reliably performs a third party transfer between two GridFTP servers l OGSI-compliant service exposing GridFTP control channel functionality l Recoverable Grid Service –Automatically restarts interrupted transfers from the last checkpoint l Progress and Restart Monitoring GridFTP Server 1 GridFTP Server 2 RFT JDBC

June 2003 GGF8Introduction to Globus Toolkit® GT-OGSA Grid Service Infrastructure OGSI Spec ImplementationSecurity Infrastructure System-Level Services Base Services User-Defined Services Grid Service Container Hosting Environment Web Service Engine

June 2003 GGF8Introduction to Globus Toolkit® GT3 User-Defined Services l GT3 can be viewed as a Grid Service Development Kit that includes: –Primitives designed to ease the task of building OGSI-Compliant Services –Primitives for provisioning security –Base services that provide an infrastructure with which to build higher-level services

June 2003 GGF8Introduction to Globus Toolkit® GT3 User-Defined Services (cont.) ANT User source files GT3 Build Files User Build File Grid Service executable files (Diagram inspired by Borja Sotomayor’s excellent tutorial on GT3)

June 2003 GGF8Introduction to Globus Toolkit® Future Directions of GT l Standardization of container model l Development of lightweight container/api l Adding rich support for queries l Further refinements of Base Service designs l Pushing on standardizing at a higher level than OGSI

June 2003 GGF8Introduction to Globus Toolkit® Introduction to GT3 l Background –The Grid Problem –The Globus Approach –OGSA & OGSI –Globus Toolkit l GT3 Architecture and Functionality: The Latest Refinement of the Globus Toolkit –Core –Base Services –User-Defined Services –Future Directions l Installation and Administration –Installation –Configuration –Debugging –Support l Important Things to Remember

June 2003 GGF8Introduction to Globus Toolkit® Overview l Installing GT3 l Overview of installed services l Running clients and services l Configuring GT3 l Debugging l Support

June 2003 GGF8Introduction to Globus Toolkit® Overview of Installing GT3 l Prerequisites –JDK, ant l Optional tools –Other hosting environments l Installation –GPT installer or Ant-only l Required post-installation setup –Acquiring certificates –Setting permissions

June 2003 GGF8Introduction to Globus Toolkit® Installation Pre-requisites l JDK –Xindice + Sun JDK Linux has errors for some versions of Linux –Pre JDKs require JAAS as a separate download l Ant 1.5+ –Required for source builds, recommended for binary l YACC –For cbindings and findServiceData from source l JDBC compliant database –Only required for RFT, RLS

June 2003 GGF8Introduction to Globus Toolkit® Optional Tools l Alternate hosting environments –Jakarta Tomcat –JBOSS –Websphere –and more … l Microsoft.NET Framework l Junit for testing

June 2003 GGF8Introduction to Globus Toolkit® Installing GT 3.0 (Unix) l Make sure pre-requisites are available –Set JAVA_HOME –Add $ANT_HOME/bin to your PATH l Download the GPT source bundle, or the appropriate binary bundle l./install-gt3 /path/to/install l./install-gt3-mmjfs /path/to/install –After you have certificates

June 2003 GGF8Introduction to Globus Toolkit® Installing GT 3.0 (Windows) l Make sure pre-requisites are available –Likely to use Cygwin to get the tools you need l Unset CLASSPATH to avoid conflicting jars l Install GT3 core by running “ant dist” and “ant setup” in ogsa/impl/java l Install higher-level services using “ant deployGar”

June 2003 GGF8Introduction to Globus Toolkit® Installing GT 3.0 (Binaries) l GPT Binary bundles available for different UNIX platforms l Core and Higher Level Services binaries available for Windows

June 2003 GGF8Introduction to Globus Toolkit® Post-installation setup l GSI uses X.509, so need to get certificates –Run setup-gsi as root –grid-cert-request for user and host –Can re-use GT2 certificates if you have them already l Run setperms.sh (after install-gt3-mmjfs) –This is to make globus-grim setuid to the account which owns the hostcert, and to make the UHE launcher setuid so it can create jobs on behalf of users

June 2003 GGF8Introduction to Globus Toolkit® Overview of Installed Services l What just installed, and how? l Bundles on Unix and Windows: –GT3 core + higher-level services l Bundles on Unix only: –GRAM bundle + GT2 dependencies –Cbindings bundle + client –Replica Location Service (RLS) –GT2 components

June 2003 GGF8Introduction to Globus Toolkit® Other “Services” Bundled with GT3 l GridFTP –Used by RFT l Replica Location Service (RLS) –Distributed registry service that records the locations of data copies and allows discovery of replicas –Designed and implemented in a collaboration between the Globus and DataGrid projects The interfaces for these services are not yet OGSI-Compliant

June 2003 GGF8Introduction to Globus Toolkit® Where did they install? l /etc/grid-security –certificates/ subdirectory of trusted CAs –grid-mapfile –grim-port-type.xml –hostcert.pem, hostkey.pem –grid-security.conf l $GLOBUS_LOCATION –Everything else

June 2003 GGF8Introduction to Globus Toolkit® Location of GARs l Before the GARs are deployed, a copy is stored in gars/ l Contains the client and server Webservices Deployment Descriptor (WSDD), as well as the jar files l To change the main server-config.wsdd, can edit the service’s.wsdd file and re- deploy

June 2003 GGF8Introduction to Globus Toolkit® GPT Wrappers l The GARs apply to both Windows and Unix l GPT wraps the GAR with metadata, including dependency information and version number l Allows for easier upgrades, and for other software to indicate dependencies l

June 2003 GGF8Introduction to Globus Toolkit® GT3 Services l Core –OGSI hosting environment l MMJFS –The single point for submitting jobs l MJS –Instances created per submitted job l GRIM –Security tool for creating hostcert proxies

June 2003 GGF8Introduction to Globus Toolkit® GT3 services (cont.) l Index –A point to query for information l Aggregator –SDE aggregation tool. Used by index l mds_db –Used by index to track data l Providers –Used to obtain host information

June 2003 GGF8Introduction to Globus Toolkit® GT3 services (cont.) l RIPS –Queue information for jobs l Filestreaming –Used to move stdin/stdout for jobs l RFT –Reliable File Transfer l JMS –JMS notification source for J2SE/J2EE l Servicegroup –OGSI service groups

June 2003 GGF8Introduction to Globus Toolkit® Dependencies l Some backend tools see re-use from previous releases for use in resource management l For instance, jobmanager scripts for interfacing to local scheduling systems are the same l Besides GT2, Java CoG supplies integrated security

June 2003 GGF8Introduction to Globus Toolkit® Overview of Running Clients and Services l Set your environment l Create a proxy (single sign-on) l Available clients –GRAM client –Index clients –RFT client

June 2003 GGF8Introduction to Globus Toolkit® Environment Setup l Set your environment: –export GLOBUS_LOCATION –source etc/globus-user-env.sh l grid-proxy-init l This environment setup is assumed for all later slides

June 2003 GGF8Introduction to Globus Toolkit® Starting the container l Services run in the container l bin/globus-start-container –p l The container will print a list of Grid Service Handles (GSH) that can be used by clients – gram/MasterForkManagedJobFactoryService for instancehttp:// :8080/ogsa/services/base/ gram/MasterForkManagedJobFactoryService l User’s Guide has more details

June 2003 GGF8Introduction to Globus Toolkit® Running the GRAM Client l To submit a job: –bin/managed-job-globusrun –factory host{:port/service} -file etc/test.xml l Prerequisites: –Authorized to use the service by grid- mapfile and grim-port-type.xml –Have a proxy –Setuid GRIM and User Hosting Environment (UHE) launcher

June 2003 GGF8Introduction to Globus Toolkit® Running the GRAM Client (Cont.) l etc/test.xml contains the new format for the Resource Specification Language (RSL) l By default, outputs to /tmp/stdout /tmp/stderr –Probably good to customize it for yourself to avoid permissions errors l See Resource Management links under

June 2003 GGF8Introduction to Globus Toolkit® Reading From the Index Service l bin/globus-service-browser l bin/ogsi-find-service-data –requires C bindings l Prerequisites: –Have to add ServiceDataProviderExecutionPortType and ServiceDataAggregatorPortType to client- gui-config.xml l See Information Services for more details

June 2003 GGF8Introduction to Globus Toolkit® Using RFT l First, start a GridFTP server l Setup a postgres database for RFT to use l Enter DB values into server-config.wsdd l java org.globus.ogsa.gui.RFTClient l Store transfers in a file, one URL per line l See Data Management for more details

June 2003 GGF8Introduction to Globus Toolkit® Using RLS l globus-rls-server –New version uses PostgreSQL and psqlODBC l bin/globus-rls-admin -p rls://serverhost –ping test of server l

June 2003 GGF8Introduction to Globus Toolkit® Configuring GT3 l Add backend schedulers to MMJFS –PBS, LSF, Condor, … –These will be GPT setup packages. Run gpt-install and gpt-postinstall l Configure a hierarchy of index services l Adding new services –ant deployGar –Dgar.name=/path/to/gar l Check GTR for new services, and consider publishing your own (gtr.globus.org)

June 2003 GGF8Introduction to Globus Toolkit® Debugging l Always go to the most basic levels first! l If “connection refused” try telnet l If “DB connection refused” try your native DB client first l If trouble with your proxy, try –grid-proxy-init –verify –debug l If trouble with “policy” or GRIM, try –bin/globus-grim –out /tmp/grim_test

June 2003 GGF8Introduction to Globus Toolkit® Debugging (Cont.) l Logfiles –Make sure to redirect container logs to a file –~user/.globus/uhe- /log contains the logs for the UHE running on –GridFTP servers use syslog for keeping logs l Increase debugging level in ogsilogging.properties file

June 2003 GGF8Introduction to Globus Toolkit® Support l See – l It gives an overview of documentation, mailing lists, and bugzilla

June 2003 GGF8Introduction to Globus Toolkit® Introduction to GT3 l Background –The Grid Problem –The Globus Approach –OGSA & OGSI –Globus Toolkit l GT3 Architecture and Functionality: The Latest Refinement of the Globus Toolkit –Core –Base Services –User-Defined Services –Future Directions l Using GT3 –Installation –Configuration –Debugging –Support l Important Things to Remember