38
Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago http://www.mcs.anl.gov/~foster TERENA Networking Conference, May 20, 2003

Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

Embed Size (px)

Citation preview

Page 1: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

Open Grid Services as an Enabler of Future Networked Applications

Ian Foster

Argonne National Laboratory

University of Chicago

http://www.mcs.anl.gov/~foster

TERENA Networking Conference, May 20, 2003

Page 2: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

3

[email protected] ARGONNE CHICAGO

Partial Acknowledgements Open Grid Services Architecture design

– Carl Kesselman, Karl Czajkowski @ USC/ISI

– Steve Tuecke @ANL

– Jeff Nick, Steve Graham, Jeff Frey @ IBM Grid services collaborators at ANL

– Kate Keahey, Gregor von Laszewski

– Thomas Sandholm, Jarek Gawor, John Bresnahan Globus Toolkit R&D also involves many fine scientists &

engineers at ANL, USC/ISI, and elsewhere (see www.globus.org) Strong links with many EU, UK, US Grid projects Support from DOE, NASA, NSF, IBM, Microsoft

Page 3: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

4

[email protected] ARGONNE CHICAGO

Overview

Problem solving in the 21st century Open Grid Services Architecture Globus Toolkit v3 Summary

Page 4: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

5

[email protected] ARGONNE CHICAGO

Problem Solving in the 21st Century

Teams organized around common goals– Communities: “Virtual organizations”

With diverse membership & capabilities– Heterogeneity is a strength not a weakness

And geographic and political distribution– No location/organization possesses all required

skills and resources Must adapt as a function of the situation

– Adjust membership, reallocate responsibilities, renegotiate resources

Page 5: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

6

[email protected] ARGONNE CHICAGO

For Example:Global Knowledge Communities

Page 6: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

7

[email protected] ARGONNE CHICAGO

New OpportunitiesDemand New Technology

“Resource sharing & coordinated problem solving in dynamic, multi-institutional virtual organizations”

“When the network is as fast as the computer's internal links, the machine disintegrates across the net into a set

of special purpose appliances” (George Gilder)

Page 7: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

8

[email protected] ARGONNE CHICAGO

Taking Sharing to the Next Level

Sharing of communication– Telephones, mailing lists, collaboration tools

Sharing of data and knowledge– Web, semantic web

What about the rest of the infrastructure?– Services, computers, programs, sensors, …

Page 8: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

9

[email protected] ARGONNE CHICAGO

Existing Technologies are Helpful,but Not Complete Solutions

Peer-to-peer technologies– Limited scope and mechanisms

Enterprise-level distributed computing– Limited cross-organizational support

Databases– Vertically integrated solutions

Web services– Not dynamic

Semantic web– Limited focus

Page 9: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

10

[email protected] ARGONNE CHICAGO

What’s Missing is Support for …

Sharing & integration of resources, via– Discovery

– Provisioning

– Access (computation, data, …)

– Security

– Policy

– Fault tolerance

– Management In dynamic, scalable, multi-organizational

settings

Page 10: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

11

[email protected] ARGONNE CHICAGO

Enter the Grid

Infrastructure (“middleware”) for establishing, managing, and evolving multi-organizational federations– Dynamic, autonomous, domain independent

– On-demand, ubiquitous access to computing, data, and services

Mechanisms for creating and managing workflow within such federations– New capabilities constructed dynamically and

transparently from distributed services

– Service-oriented, virtualization

Page 11: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

12

[email protected] ARGONNE CHICAGO

Incr

ease

d fu

nctio

nalit

y,st

anda

rdiz

atio

n

Customsolutions

1990 1995 2000 2005

Open GridServices Arch

Real standardsMultiple implementations

Web services, etc.

Managed sharedvirtual systems

Computer science research

Globus Toolkit

Defacto standardSingle implementation

Internetstandards

The Emergence ofOpen Grid Standards

2010

Page 12: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

13

[email protected] ARGONNE CHICAGO

Overview

Problem solving in the 21st century Open Grid Services Architecture Globus Toolkit v3 Summary

Page 13: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

14

[email protected] ARGONNE CHICAGO

Open Grid Services Architecture

Service-oriented architecture– Key to virtualization, discovery,

composition, local-remote transparency Leverage industry standards

– Internet, Web services Distributed service management

– A “component model for Web services” A framework for the definition of

composable, interoperable services

“The Physiology of the Grid: An Open Grid Services Architecture for Distributed Systems Integration”, Foster, Kesselman, Nick, Tuecke, 2002

Page 14: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

15

[email protected] ARGONNE CHICAGO

Web Services

XML-based distributed computing technology Web service = a server process that exposes typed

ports to the network Described by the Web Services Description Language,

an XML document that contains– Type of message(s) the service understands & types of

responses & exceptions it returns

– “Methods” bound together as “port types”

– Port types bound to protocols as “ports” A WSDL document completely defines a service and

how to access it

Page 15: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

16

[email protected] ARGONNE CHICAGO

OGSA Structure A standard substrate: the Grid service

– Standard interfaces and behaviors that address key distributed system issues

– A refactoring and extension of the Globus Toolkit protocol suite

… supports standard service specifications– Resource management, databases, workflow,

security, diagnostics, etc., etc.

– Target of current & planned GGF efforts … and arbitrary application-specific services

based on these & other definitions

Page 16: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

17

[email protected] ARGONNE CHICAGO

Open Grid Services Infrastructure

Implementation

Servicedata

element

Other standard interfaces:factory,

notification,collections

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

Servicedata

element

Servicedata

element

GridService(required)

Dataaccess

Lifetime management• Explicit destruction• Soft-state lifetime

Introspection:• What port types?• What policy?• What state?

Client

Grid ServiceHandle

Grid ServiceReference

handleresolution

Page 17: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

18

[email protected] ARGONNE CHICAGO

Open Grid Services Infrastructure

GWD-R (draft-ggf-ogsi- gridservice-23) Editors:Open Grid Services Infrastructure (OGSI) S. Tuecke, ANLhttp://www.ggf.org/ogsi-wg K. Czajkowski, USC/ISI

I. Foster, ANLJ. Frey, IBMS. Graham, IBMC. Kesselman, USC/ISID. Snelling, Fujitsu LabsP. Vanderbilt, NASAFebruary 17, 2003

Open Grid Services Infrastructure (OGSI)

Page 18: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

19

[email protected] ARGONNE CHICAGO

Example:Reliable File Transfer Service

Performance

Policy

Faults

servicedataelements

Pending

FileTransfer

InternalState

GridService

Notf’nSource

Policy

interfacesQuery &/orsubscribe

to service data

FaultMonitor

Perf.Monitor

Client Client Client

Request and manage file transfer operations

Data transfer operations

Page 19: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

20

[email protected] ARGONNE CHICAGO

Open Grid Services Architecture

Open Grid Services Infrastructure

OGSA services: registry,authorization, monitoring, data

access, management, etc., etc.

TransportProtocolHosting EnvironmentHosting Environment

Host. Env. & Protocol Bindings

OG

SA

schem

as

More specialized &domain-specific

services

Other

schemas

Web Services

GWD-R (draft-ggf-ogsa-platform-3) Editors:Open Grid Services Architecture Platform I. Foster, Argonne & U.Chicagohttp://www.ggf.org/ogsa-wg D. Gannon, Indiana U.

Data access and integration

Security SLA negotiation Manageability …

Page 20: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

21

[email protected] ARGONNE CHICAGO

Grid Security Services

RequestorApplication

VODomain

CredentialValidation

Service

AuthorizationService

Requestor'sDomain

Service Provider'sDomain

Audit/Secure-Logging

Service

AttributeService

TrustService

ServiceProvider

Application

Bridge/Translation

Service

PrivacyService

CredentialValidation

Service

AuthorizationService

Audit/Secure-Logging

Service

AttributeService

TrustService

PrivacyService

CredentialValidation

Service

AuthorizationService

AttributeService

TrustService

CredentialValidation

Service

AuthorizationService

AttributeService

TrustService

WS-StubWS-Stub Secure Conversation

Page 21: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

22

[email protected] ARGONNE CHICAGO

OGSA Manageability

Management is a high-priority OGSA effort– GGF Common Management Model (CMM) WG

– Ellen Stokes (IBM) co-chair Goal:

– Define standard schema and interfaces for a manageable resource (modeled as a service)

And also:– Allow existing models to be used & exposed

– Leverage CIM schema when applicable

– Define how CMM interfaces can integrate with higher-level interfaces (e.g., provisioning)

Page 22: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

23

[email protected] ARGONNE CHICAGO

Common Management Model A manageable resource is a Grid service, thus

– Global resource names: Grid service handles

– State data modeling + access: SDEs

– Lifetime management

– Service Group for grouping resources

– Interface definition language: WSDL Plus additional schema & operations

– Standard manageable resource SDE schema

– Interfaces for extensible lifecycle and relationship management

BaseManageableResource interface

Page 23: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

24

[email protected] ARGONNE CHICAGO

Base Manageable Port Types

GridService

Locate Relationship LifecycleModel

BaseManageableResource

ServiceGroupHandleResolver

OGSA port types

CRM port types

Page 24: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

25

[email protected] ARGONNE CHICAGO

CMM Schema

WSDL (open content model) & XSD describe resource’s manageable attributes (as SDEs)

Models are CIM-based where applicable– Re-factored for service efficiency; appropriate for

higher-level management applications

– Additional XML attributes: change control, measuring, lifecycle

– Additional XML data types CIM as basis for schemas: but may modify

– E.g. use constructs from XML/XSD where similar ones exist in CIM

Page 25: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

26

[email protected] ARGONNE CHICAGO

“Use CIM Models Where Applicable”

Class is port type, properties of class are port type service data, methods of class are port type operations– Some refactoring of classes -> portTypes

Express in WSDL/GSDL as grid service– Managed resource port type from which other

resource port types are derived

– Mix in the base GridService port type

– Mix in other CMM port types as needed (Identity, relationship, lifecycleState)

Page 26: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

27

[email protected] ARGONNE CHICAGO

OGSA Misconceptions

OGSA means you have to code in Java– No: C client bindings now, C server side eventually

(but not needed for current apps) OGSA means all programs must be services

– No: You can write services if you want, but other behaviors are supported: e.g., GT3 supports GT2 GRAM, GridFTP, …, …

OGSA is a silver bullet for distributed and collaborative computing– No, it makes some things easier, but it’s only

interfaces and behaviors, after all!

Page 27: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

28

[email protected] ARGONNE CHICAGO

Overview

Problem solving in the 21st century Open Grid Services Architecture Globus Toolkit v3 Summary

Page 28: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

29

[email protected] ARGONNE CHICAGO

Globus Toolkit v3 (GT3)Open Source OGSA Technology

Implements OGSI interfaces Supports primary GT2 interfaces

– GRAM, GridFTP, GSI

– High degree of backward compatibility Multiple platforms & hosting environments

– J2EE, Java, C, .NET, Python New services

– SLA negotiation, service registry, community authorization, data management, …

Broad & growing adoption and contributions

Page 29: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

30

[email protected] ARGONNE CHICAGO

Globus Toolkit Contributors: GT2

Grid Packaging Technology (GPT) NCSA Persistent GRAM Jobmanager Condor GSI/Kerberos interchangeability Sandia Documentation NASA, NCSA Ports IBM, HP, Sun, SDSC, … MDS stress testing EU DataGrid Support IBM, Platform, UK eScience Testing and patches Many! Interoperable tools Many! $$ DARPA, DOE, NSF, NASA, Microsoft, EU

Page 30: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

31

[email protected] ARGONNE CHICAGO

Globus Toolkit Contributors: GT3

Replica location service EU DataGrid Python hosting environment LBNL Data access & integration UK eScience Data mediation services SDSC Tooling, Xindice, JMS IBM ... ... ...

Page 31: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

32

[email protected] ARGONNE CHICAGO

GT2 Evolution To GT3

What happened to the GT2 key protocols?– Security: Adapting X.509 proxy certs to integrate

with emerging WS standards

– GRIP/LDAP/MDS: 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 2003

Also rendering collective services in terms of OGSI: RFT, RLS, CAS, etc.

Page 32: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

33

[email protected] ARGONNE CHICAGO

Example:Reliable File Transfer Service

Performance

Policy

Faults

servicedataelements

Pending

FileTransfer

InternalState

GridService

Notf’nSource

Policy

interfacesQuery &/orsubscribe

to service data

FaultMonitor

Perf.Monitor

Client Client Client

Request and manage file transfer operations

Data transfer operations

Page 33: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

34

[email protected] ARGONNE CHICAGO

The Grid Technology Repository

Community repository

Clearing house for service definitions, code, documentation

Encourage collaboration & avoid redundant work

http://gtr.globus.org

International advisory committee: Ian Foster (Chair), Malcolm Atkinson, John Brooke, Fabrizio Gagliardi, Dennis Gannon, Wolfgang Gentzsch, Andrew Grimshaw, Keith Jackson, Gregor von Laszewski, Satoshi Matsuoka, Jarek Nabrzyski, Bill St. Arnaud, Jay Unger

Page 34: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

35

[email protected] ARGONNE CHICAGO

Overview

Problem solving in the 21st century Open Grid Services Architecture Globus Toolkit v3 Summary

Page 35: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

36

[email protected] ARGONNE CHICAGO

The Need for Open Infrastructure Broadly deployed services in support of fundamental

collaborative activities– Formation & operation of virtual organizations

– Authentication, authorization, discovery, … Services, software, and policies enabling on-demand

access to critical resources– Computers, databases, networks, storage, software

services,… Operational support for 24x7 availability Integration with campus and commercial

infrastructures

Page 36: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

37

[email protected] ARGONNE CHICAGO

Tier0/1 facility

Tier2 facility

10 Gbps link

2.5 Gbps link

622 Mbps link

Other link

Tier3 facility

Open Infrastructure

Cambridge

Newcastle

Edinburgh

Oxford

Glasgow

Manchester

Cardiff

Soton

London

Belfast

DL

RAL Hinxton

Page 37: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

38

[email protected] ARGONNE CHICAGO

Summary

OGSA: standards-based dist. sys. middleware– From Web services: standard IDL, discovery, binding

independence, other desirable features

– From Grid/Globus Toolkit: naming, state, lifetime management, etc., etc.

Rapid progress on definition & implementation– OGSI is defined, GT3 implements it (and other things),

multiple groups coding to it

– Much more happening, much more to be done! No silver bullet, but a good incremental step towards

meeting user requirements

Page 38: Open Grid Services as an Enabler of Future Networked Applications Ian Foster Argonne National Laboratory University of Chicago foster

39

[email protected] ARGONNE CHICAGO

Open Grid Services Arch.– www.ggf.org/ogsa-wg

– www.globus.org/ogsa Global Grid Forum

– www.ggf.org The Globus Project™

– www.globus.org Technical articles

– www.mcs.anl.gov/~foster

For More Information

2nd Edition to appear November 2003