grid computing intro
TRANSCRIPT
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 1/72
Introduction to
Grid Computing
The Globus Project™
Argonne National LaboratoryUSC Information Sciences Institute
http://www.globus.org/
Copyright (c) 2002 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 http://www.globus.org/toolkit/download/license.html for the full text of this license.
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 2/72
December 4, 2002 2Introduction to Grid Computing
Outline Introduction to Grid Computing
Some Definitions Grid Architecture
The Programming Problem
The Globus Toolkit™
– Introduction, Security, Resource
Management, Information Services, DataManagement
Related work
Futures and Conclusions
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 3/72
December 4, 2002 3Introduction to Grid Computing
The Grid Problem Flexible, secure, coordinated resource
sharing among dynamic collections of individuals, institutions, and resourceFrom “The Anatomy of the Grid: Enabling Scalable Virtual Organizations”
Enable communities (“virtual organizations”)
to share geographically distributed resourcesas they pursue common goals -- assumingthe absence of…
– central location,
– central control,
– omniscience,
– existing trust relationships.
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 4/72December 4, 2002 4Introduction to Grid Computing
Elements of the Problem Resource sharing
– Computers, storage, sensors, networks, …– Sharing always conditional: issues of trust,
policy, negotiation, payment, …
Coordinated problem solving
– Beyond client-server: distributed data
analysis, computation, collaboration, … Dynamic, multi-institutional virtual orgs
– Community overlays on classic org structures
– Large or small, static or dynamic
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 5/72December 4, 2002 5Introduction to Grid Computing
tomographic reconstruction
wide-area
dissemination
desktop & VR clientswith shared controls
Advanced Photon Source
Online Access to
Scientific Instruments
archivalstorage
real-timecollection
DOE X-ray grand challenge: ANL, USC/ISI, NIST, U.Chicago
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 6/72December 4, 2002 6Introduction to Grid Computing
Image courtesy Harvey Newman, Caltech
Data Grids for
High Energy Physics
Tier2 Centre~1 TIPS
Online System
Offline Processor Farm
~20 TIPS
CERN Computer Centre
FermiLab ~4 TIPSFrance Regional
Centre
Italy Regional
Centre
Germany Regional
Centre
InstituteInstituteInstituteInstitute~0.25TIPS
Physicist workstations
~100 MBytes/sec
~100 MBytes/sec
~622 Mbits/sec
~1 MBytes/sec
There is a “bunch crossing” every 25 nsecs.
There are 100 “triggers” per second Each triggered event is ~1 MByte in size
Physicists work on analysis “channels”.
Each institute will have ~10 physicists working on one or more channels; data for these channels should be cached by the institute server
Physics data cache
~PBytes/sec
~622 Mbits/secor Air Freight (deprecated)
Tier2 Centre~1 TIPS
Tier2 Centre~1 TIPS
Tier2 Centre~1 TIPS
Caltech~1 TIPS
~622 Mbits/sec
Tier 0Tier 0
Tier 1Tier 1
Tier 2Tier 2
Tier 4Tier 4
1 TIPS is approximately 25,000
SpecInt95 equivalents
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 7/72December 4, 2002 7Introduction to Grid Computing
Mathematicians Solve NUG30 Looking for the solution to the
NUG30 quadratic assignment
problem An informal collaboration of
mathematicians and computer
scientists Condor-G delivered 3.46E8
CPU seconds in 7 days (peak
1009 processors) in U.S. andItaly (8 sites)
14,5,28,24,1,3,16,15,
10,9,21,2,4,29,25,22,
13,26,17,30,6,20,19,
8,18,7,27,12,11,23
MetaNEOS: Argonne, Iowa, Northwestern, Wisconsin
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 8/72December 4, 2002 8Introduction to Grid Computing
Network for Earthquake
Engineering Simulation NEESgrid: US national
infrastructure to coupleearthquake engineerswith experimentalfacilities, databases,computers, & each other
On-demand access to
experiments, datastreams, computing,archives, collaboration
NEESgrid: Argonne, Michigan, NCSA, UIUC, USC
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 9/72December 4, 2002 9Introduction to Grid Computing
Home Computers
Evaluate AIDS Drugs Community =
– 1000s of home
computer users
– Philanthropic
computing vendor
(Entropia)– Research group
(Scripps)
Common goal=advance AIDS research
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 10/72December 4, 2002 10Introduction to Grid Computing
Broader Context “Grid Computing” has much in common with
major industrial thrusts– Business-to-business, Peer-to-peer, ApplicationService Providers, Storage Service Providers,Distributed Computing, Internet Computing…
Sharing issues not adequately addressed byexisting technologies
– Complicated requirements: “run program X atsite Y subject to community policy P, providingaccess to data at Z according to policy Q”
– High performance: unique demands of advanced & high-performance systems
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 11/72
December 4, 2002 11Introduction to Grid Computing
Why Now? Moore’s law improvements in computing
produce highly functional endsystems The Internet and burgeoning wired and
wireless provide universal connectivity
Changing modes of working and problem
solving emphasize teamwork, computation
Network exponentials produce dramaticchanges in geometry and geography
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 12/72
December 4, 2002 12Introduction to Grid Computing
Network Exponentials Network vs. computer performance
– Computer speed doubles every 18 months
– Network speed doubles every 9 months
– Difference = order of magnitude per 5 years
1986 to 2000– Computers: x 500
– Networks: x 340,000
2001 to 2010
– Computers: x 60
– Networks: x 4000Moore’s Law vs. storage improvements vs. optical improvements. Graph from Scientific American (Jan-2001) by Cleo Vilett, source Vined Khoslan, Kleiner, Caufield and Perkins.
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 13/72
December 4, 2002 13Introduction to Grid Computing
The Globus Project™Making Grid computing a reality
Close collaboration with real Grid projects inscience and industry
Development and promotion of standard Gridprotocols to enable interoperability and sharedinfrastructure
Development and promotion of standard Gridsoftware APIs and SDKs to enable portability andcode sharing
The Globus Toolkit™: Open source, referencesoftware base for building grid infrastructure andapplications
Global Grid Forum: Development of standard
protocols and APIs for Grid computing
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 14/72
December 4, 2002 14Introduction to Grid Computing
Selected Major Grid Projects
Grid testbed linking IBM laboratoriesIBMBlueGrid
Create & apply an operational grid for
applications in high energy physics,
environmental science, bioinformatics
eu-datagrid.org
European Union
European
Union (EU)
DataGrid
Delivery and analysis of large climate
model datasets for the climate researchcommunity
earthsystemgrid.org
DOE Office of Science
Earth System
Grid (ESG)
Create operational Grid providing access
to resources & applications at U.S. DOE
science laboratories & partner universities
sciencegrid.org
DOE Office of Science
DOE Science
Grid
Create operational Grid providing access
to resources at three U.S. DOE weapons
laboratories
www.cs.sandia.gov/
discom
DOE Defense Programs
DISCOM
Create & deploy group collaboration
systems using commodity technologies
www.mcs.anl.gov/FL/
accessgrid; DOE, NSF
Access Grid
FocusURL & SponsorsName
g
gg
g
g
g
New
New
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 15/72
December 4, 2002 15Introduction to Grid Computing
Selected Major Grid Projects
Create & apply an operational grid within
the U.K. for particle physics research
gridpp.ac.uk
U.K. eScience
GridPP
Integration, deployment, support of the
NSF Middleware Infrastructure for
research & education
grids-center.org
NSF
Grid Research
Integration Dev. &
Support Center
Research on Grid technologies;
development and support of GlobusToolkit™; application and deployment
globus.org
DARPA, DOE,NSF, NASA, Msoft
Globus Project™
Grid technologies and applicationsgridlab.org
European Union
GridLab
Create a national computational
collaboratory for fusion research
fusiongrid.org
DOE Off. Science
Fusion
Collaboratory
Create tech for remote access to
supercomp resources & simulation codes;
in GRIP, integrate with Globus Toolkit™
eurogrid.org
European Union
EuroGrid, Grid
Interoperability
(GRIP)
FocusURL/SponsorName
g
g
g
g
g
g
New
New
New
New
New
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 16/72
December 4, 2002 16Introduction to Grid Computing
Selected Major Grid Projects
Create and apply a production Grid for
earthquake engineering
neesgrid.org
NSF
Network for
Earthquake Eng.
Simulation Grid
Create and apply production Grids for
data analysis in high energy and nuclear
physics experiments
ppdg.net
DOE Science
Particle Physics
Data Grid
Create international Data Grid to enable
large-scale experimentation on Grid
technologies & applications
ivdgl.org
NSF
International
Virtual Data Grid
Laboratory
Create and apply a production Grid for
aerosciences and other NASA missions
ipg.nasa.gov
NASA
Information Power
Grid
Technology R&D for data analysis inphysics expts: ATLAS, CMS, LIGO, SDSS
griphyn.orgNSF
Grid PhysicsNetwork
Research into program development
technologies for Grid applications
hipersoft.rice.edu/
grads; NSF
Grid Application
Dev. Software
FocusURL/SponsorName
g
g
g
g
g
New
New
g
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 17/72
December 4, 2002 17Introduction to Grid Computing
Selected Major Grid Projects
Support center for Grid projects withinthe U.K.
grid-support.ac.uk
U.K. eScience
UK Grid SupportCenter
Technologies for remote access to
supercomputers
BMBFTUnicore
U.S. science infrastructure linking four
major resource sites at 40 Gb/s
teragrid.org
NSF
TeraGrid
FocusURL/SponsorName
g
g
New
New
Also many technology R&D projects:
e.g., Condor, NetSolve, Ninf, NWS
See also www.gridforum.org
The 13 6 TF TeraGrid:
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 18/72
December 4, 2002 18Introduction to Grid Computing
The 13.6 TF TeraGrid:Computing at 40 Gb/s
5
External
Networks
Site Resources
NCSA/PACI
8 TF
240 TB
External
Networks
Site Resources SDSC4.1 TF
225 TB
26
24
8
4
Site Resources
HPSS HPSS
External
Networks
Caltech Argonne
External
Networks
Site Resources
HPSS UniTree
TeraGrid/DTF: NCSA, SDSC, Caltech, Argonne www.teragrid.org
iVDGL:
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 19/72
December 4, 2002 19Introduction to Grid Computing
U.S. PIs: Avery, Foster, Gardner, Newman, Szalay www.ivdgl.org
iVDGL:International Virtual Data Grid Laborator
Tier0/1 facilityTier2 facility
10 Gbps link
2.5 Gbps link
622 Mbps link
Other link
Tier3 facility
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 20/72
December 4, 2002 20Introduction to Grid Computing
For More Information
Globus Project™
– www.globus.org
Grid Forum
– www.gridforum.org
Book (Morgan Kaufman)– www.mkp.com/grids
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 21/72
Some Definitions
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 22/72
December 4, 2002 22Introduction to Grid Computing
Some Important Definitions Resource
Network protocol Network enabled service
Application Programmer Interface (API)
Software Development Kit (SDK)
Syntax
Not discussed, but important: policies
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 23/72
December 4, 2002 23Introduction to Grid Computing
Resource An entity that is to be shared
– E.g., computers, storage, data, software Does not have to be a physical entity
– E.g., Condor pool, distributed file system, …
Defined in terms of interfaces, not devices
– E.g. scheduler such as LSF and PBS define a
compute resource– Open/close/read/write define access to a
distributed file system, e.g. NFS, AFS, DFS
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 24/72
December 4, 2002 24Introduction to Grid Computing
Network Protocol 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 inendpoint, e.g., file system state change
Good protocols designed to do one thing
– Protocols can be layered
Examples of protocols
– IP, TCP, TLS (was SSL), HTTP, Kerberos
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 25/72
December 4, 2002 25Introduction to Grid Computing
Network Enabled Services
Implementation of a protocol that defines
a set of capabilities
– Protocol defines interaction with service– All services require protocols
– Not all protocols are used to provide
services (e.g. IP, TLS)
Examples: FTP and Web servers
Web Server
IP Protocol
TCP Protocol
TLS Protocol
HTTP ProtocolFTP Server
IP Protocol
TCP Protocol
FTPProtocol
TelnetProtocol
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 26/72
December 4, 2002 26Introduction to Grid Computing
Application Programming Interface A specification for a set of routines to
facilitate application development– Refers to definition, not implementation
– E.g., there are many implementations of MPI
Spec often language-specific (or IDL)
– Routine name, number, order and type of
arguments; mapping to language constructs
– Behavior or function of routine
Examples
– GSS API (security), MPI (message passing)
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 27/72
December 4, 2002 27Introduction to Grid Computing
Software Development Kit A particular instantiation of an API
SDK consists of libraries and tools– Provides implementation of API specification
Can have multiple SDKs for an API
Examples of SDKs
– MPICH, Motif Widgets
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 28/72
December 4, 2002 28Introduction to Grid Computing
Syntax Rules for encoding information, e.g.
– XML, Condor ClassAds, Globus RSL
– X.509 certificate format (RFC 2459)
– Cryptographic Message Syntax (RFC 2630)
Distinct from protocols– One syntax may be used by many protocols
(e.g., XML); & useful for other purposes
Syntaxes may be layered
– E.g., Condor ClassAds -> XML -> ASCII
– Important to understand layerings whencomparing or evaluating syntaxes
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 29/72
December 4, 2002 29Introduction to Grid Computing
A Protocol can have Multiple APIs TCP/IP APIs include BSD sockets, Winsock,
System V streams, … The protocol provides interoperability:
programs using different APIs can
exchange information
I don’t need to know remote user’s API
TCP/IP Protocol: Reliable byte streams
WinSock API
Application Application
Berkeley Sockets API
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 30/72
December 4, 2002 30Introduction to Grid Computing
An API can have Multiple Protocols MPI provides portability: any correct
program compiles & runs on a platform Does not provide interoperability: all
processes must link against same SDK
– E.g., MPICH and LAM versions of MPI
ApplicationApplication
MPI API MPI API
LAM SDK
LAM protocol
MPICH-P4 SDK
MPICH-P4 protocol
TCP/IP TCP/IPDifferent messageformats, exchange
sequences, etc.
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 31/72
December 4, 2002 31Introduction to Grid Computing
APIs and Protocols are Both Important Standard APIs/SDKs are important
– They enable application portability
– But w/o standard protocols,
interoperability is hard (every SDK
speaks every protocol?)
Standard protocols are important
– Enable cross-site interoperability
– Enable shared infrastructure– But w/o standard APIs/SDKs, application
portability is hard (different platforms
access protocols in different ways)
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 32/72
Grid Architecture
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 33/72
December 4, 2002 33Introduction to Grid Computing
Why Discuss Architecture? Descriptive
– Provide a common vocabulary for use whendescribing Grid systems
Guidance
– Identify key areas in which services arerequired
Prescriptive
– Define standard “Intergrid” protocols and
APIs to facilitate creation of interoperable
Grid systems and portable applications
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 34/72
December 4, 2002 34Introduction to Grid Computing
One View of Requirements Identity & authentication
Authorization & policy
Resource discovery
Resource characterization
Resource allocation
(Co-)reservation, workflow
Distributed algorithms
Remote data access
High-speed data transfer
Performance guarantees
Monitoring
Adaptation
Intrusion detection
Resource management
Accounting & payment
Fault management
System evolution
Etc.
Etc.
…
Another View: “Three Obstacles
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 35/72
December 4, 2002 35Introduction to Grid Computing
Another View: Three Obstaclesto Making Grid Computing Routine”
1) New approaches to problem solving
– Data Grids, distributed computing, peer-to-
peer, collaboration grids, …
2) Structuring and writing programs
– Abstractions, tools3) Enabling resource sharing across distinct
institutions
– Resource discovery, access, reservation,
allocation; authentication, authorization,
policy; communication; fault detection and
notification; …
Programming Problem
Systems Problem
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 36/72
December 4, 2002 36Introduction to Grid Computing
Programming & Systems Problems The programming problem
– Facilitate development of sophisticated apps
– Facilitate code sharing
– Requires programming environments
> APIs, SDKs, tools
The systems problem
– Facilitate coordinated use of diverse resources
– Facilitate infrastructure sharing> e.g., certificate authorities, information services
– Requires systems
> protocols, services
The Systems Problem:
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 37/72
December 4, 2002 37Introduction to Grid Computing
yResource Sharing Mechanisms That …
Address security and policy concerns of
resource owners and users
Are flexible enough to deal with many
resource types and sharing modalities
Scale to large number of resources, manyparticipants, many program components
Operate efficiently when dealing with largeamounts of data & computation
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 38/72
December 4, 2002 38Introduction to Grid Computing
Aspects of the Systems Problem
1) Need for interoperability when different
groups want to share resources
– Diverse components, policies, mechanisms– E.g., standard notions of identity, means of
communication, resource descriptions
2) Need for shared infrastructure services to
avoid repeated development, installation
– E.g., one port/service/protocol for remoteaccess to computing, not one per tool/appln
– E.g., Certificate Authorities: expensive to run
A common need for protocols & services
Hence, a Protocol-Oriented View
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 39/72
December 4, 2002 39Introduction to Grid Computing
of Grid Architecture, that Emphasizes …
Development of Grid protocols & services
– Protocol-mediated access to remote resources– New services: e.g., resource brokering
– “On the Grid” = speak Intergrid protocols
– Mostly (extensions to) existing protocols
Development of Grid APIs & SDKs
– Interfaces to Grid protocols & services– Facilitate application development by supplying
higher-level abstractions
The (hugely successful) model is the Internet
Layered Grid Architecture
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 40/72
December 4, 2002 40Introduction to Grid Computing
Layered Grid Architecture
(By Analogy to Internet Architecture)
Application
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
I n t er n e t P
r o t o c ol A r
c h i t e c t ur e
Fabric“Controlling things locally”: Accessto, & control of, resources
Protocols, Services,
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 41/72
December 4, 2002 41Introduction to Grid Computing
Protocols, Services,and APIs Occur at Each Level
Languages/Frameworks
Applications
Collective Service APIs and SDKs
Collective ServicesCollective Service Protocols
Resource APIs and SDKsResource Service Protocols
Resource Services
Connectivity APIs
Connectivity Protocols Local Access APIs and Protocols
Fabric Layer
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 42/72
December 4, 2002 42Introduction to Grid Computing
Important Points
Built on Internet protocols & services
– Communication, routing, name resolution, etc. “Layering” here is conceptual, does not imply
constraints on who can call what
– Protocols/services/APIs/SDKs will, ideally, belargely self-contained
– Some things are fundamental: e.g.,
communication and security
– But, advantageous for higher-level functions to
use common lower-level functions
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 43/72
December 4, 2002 43Introduction to Grid Computing
The Hourglass Model
Focus on architecture issues
– Propose set of core servicesas basic infrastructure
– Use to construct high-level,
domain-specific solutions Design principles
– Keep participation cost low
– Enable local control– Support for adaptation
– “IP hourglass” model
services
A p p l i c a t i o n s
Diverse global services
Core
Local OS
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 44/72
December 4, 2002 44Introduction to Grid Computing
Where Are We With Architecture?
No “official” standards exist
But:– Globus Toolkit™ has emerged as the de facto
standard for several important Connectivity,
Resource, and Collective protocols– GGF has an architecture working group
– Technical specifications are being developed
for architecture elements: e.g., security,
data, resource management, information
– Internet drafts submitted in security area
Fabric Layer
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 45/72
December 4, 2002 45Introduction to Grid Computing
yProtocols & Services
Just what you would expect: the diversemix of resources that may be shared
– Individual computers, Condor pools, filesystems, archives, metadata catalogs,networks, sensors, etc., etc.
Few constraints on low-level technology:connectivity and resource level protocolsform the “neck in the hourglass”
Defined by interfaces not physicalcharacteristics
Connectivity Layer
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 46/72
December 4, 2002 46Introduction to Grid Computing
y yProtocols & Services
Communication
– Internet protocols: IP, DNS, routing, etc. Security: Grid Security Infrastructure (GSI)
– Uniform authentication, authorization, and
message protection mechanisms in multi-institutional setting
– Single sign-on, delegation, identity mapping
– Public key technology, SSL, X.509, GSS-API
– Supporting infrastructure: Certificate
Authorities, certificate & key management, …GSI: www.gridforum.org/security/gsi
Resource Layer
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 47/72
December 4, 2002 47Introduction to Grid Computing
yProtocols & Services
GRAM, GridFTP, GRIS: www.globus.org
Grid Resource Allocation Management (GRAM)
– Remote allocation, reservation, monitoring,control of compute resources
GridFTP protocol (FTP extensions)
– High-performance data access & transport
Grid Resource Information Service (GRIS)
– Access to structure & state information
Others emerging: Catalog access, code
repository access, accounting, etc.
All built on connectivity layer: GSI & IP
Collective Layer
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 48/72
December 4, 2002 48Introduction to Grid Computing
Protocols & Services
Index servers aka metadirectory services
– Custom views on dynamic resource collections
assembled by a community
Resource brokers (e.g., Condor Matchmaker)
– Resource discovery and allocation
Replica catalogs
Replication services Co-reservation and co-allocation services
Workflow management services
Etc. Condor: www.cs.wisc.edu/condor
Example:High-Throughput
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 49/72
December 4, 2002 49Introduction to Grid Computing
CheckpointRepository
SDK
API
C-pointProtocol
High-Throughput
Computing SystemHigh Throughput Computing System
Dynamic checkpoint, job management,failover, staging
Collective(App)
App
Collective
(Generic) Brokering, certificate authorities
ComputeResource
SDK
API
AccessProtocol
Access to data, access to computers,access to network performance data
Communication, service discovery (DNS),authentication, authorization, delegation
Storage systems, schedulers
Resource
Connect
Fabric
Example:
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 50/72
December 4, 2002 50Introduction to Grid Computing
Data Grid Architecture
App Discipline-Specific Data Grid Application
Collective(App)
Coherency control, replica selection, task management,virtual data catalog, virtual data code catalog, …
Collective(Generic)
Replica catalog, replica management, co-allocation,certificate authorities, metadata catalogs,
Access to data, access to computers, access to networkperformance data, …
Resource
Communication, service discovery (DNS),authentication, authorization, delegation
Connect
Storage systems, clusters, networks, network caches, …Fabric
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 51/72
The Programming Problem
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 52/72
December 4, 2002 52Introduction to Grid Computing
The Programming Problem
But how do I develop robust, secure, long-
lived, well-performing applications for
dynamic, heterogeneous Grids?
I need, presumably:
– Abstractions and models to add tospeed/robustness/etc. of development
– Tools to ease application development and
diagnose common problems
– Code/tool sharing to allow reuse of code
components developed by others
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 53/72
December 4, 2002 53Introduction to Grid Computing
Grid Programming Technologies
“Grid applications” are incredibly diverse
(data, collaboration, computing, sensors, …)
– Seems unlikely there is one solution
Most applications have been written “from
scratch,” with or without Grid services Application-specific libraries have been
shown to provide significant benefits
No new language, programming model, etc.,
has yet emerged that transforms things
– But certainly still quite possible
Examples of Gridh l
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 54/72
December 4, 2002 54Introduction to Grid Computing
Programming Technologies
MPICH-G2: Grid-enabled message passing
CoG Kits, GridPort: Portal construction,based on N-tier architectures
GDMP, Data Grid Tools, SRB: replica
management, collection management
Condor-G: workflow management
Legion: object models for Grid computing Cactus: Grid-aware numerical solver
framework
– Note tremendous variety, application focus
MPICH G2 A G id E bl d MPI
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 55/72
December 4, 2002 55Introduction to Grid Computing
MPICH-G2: A Grid-Enabled MPI
A complete implementation of the MessagePassing Interface (MPI) for heterogeneous,
wide area environments– Based on the Argonne MPICH implementation
of MPI (Gropp and Lusk)
Requires services for authentication, resourceallocation, executable staging, output, etc.
Programs run in wide area without change– Modulo accommodating heterogeneouscommunication performance
See also: MetaMPI, PACX, STAMPI, MAGPIEwww.globus.org/mpi
Cactus(
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 56/72
December 4, 2002 56Introduction to Grid Computing
(Allen, Dramlitsch, Seidel, Shalf, Radke)
Modular, portable framework for
parallel, multidimensional simulations
Construct codes by linking
– Small core (flesh): mgmt services
– Selected modules (thorns): Numericalmethods, grids & domain decomps,
visualization and steering, etc.
Custom linking/configuration tools
Developed for astrophysics, but not
astrophysics-specific
Cactus
“flesh”
Thorns
www.cactuscode.org
High-Throughput Computingd C d
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 57/72
December 4, 2002 57Introduction to Grid Computing
and Condor
High-throughput computing
– CPU cycles/day (week, month, year?) under
non-ideal circumstances
– “How many times can I run simulation X in
a month using all available machines?”
Condor converts collections of
distributively owned workstations and
dedicated clusters into a distributed high-throughput computing facility
Emphasis on policy management and
reliability www.cs.wisc.org/condor
Obj t B d A h
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 58/72
December 4, 2002 58Introduction to Grid Computing
Object-Based Approaches
Grid-enabled CORBA
– NASA Lewis, Rutgers, ANL, others
– CORBA wrappers for Grid protocols
– Some initial successes
Legion– U.Virginia
– Object models for Grid components (e.g.,
“vault”=storage, “host”=computer)
Po tals
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 59/72
December 4, 2002 59Introduction to Grid Computing
Portals
N-tier architectures enabling thin clients,
with middle tiers using Grid functions
– Thin clients = web browsers
– Middle tier = e.g. Java Server Pages, with
Java CoG Kit, GPDK, GridPort utilities– Bottom tier = various Grid resources
Numerous applications and projects, e.g.
– Unicore, Gateway, Discover, Mississippi
Computational Web Portal, NPACI Grid Port,
Lattice Portal, Nimrod-G, Cactus, NASA IPG
Launchpad, Grid Resource Broker, …
Common Toolkit Underneath
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 60/72
December 4, 2002 60Introduction to Grid Computing
Common Toolkit Underneath
Each of these programming environments
should not have to implement the
protocols and services from scratch!
Rather, want to share common code that…
– Implements core functionality> SDKs that can be used to construct a large variety of
services and clients
> Standard services that can be easily deployed
– Is robust, well-architected, self-consistent
– Is open source, with broad input
Which leads us to the Globus Toolkit™…
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 61/72
Introduction to theGlobus Toolkit™
Globus Toolkit™
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 62/72
December 4, 2002 62Introduction to Grid Computing
Globus Toolkit™
A software toolkit addressing key technical
problems in the development of Grid enabled
tools, services, and applications
– Offer a modular “bag of technologies”
– Enable incremental development of grid-enabled tools and applications
– Implement standard Grid protocols and APIs
– Make available under liberal open sourcelicense
General Approach
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 63/72
December 4, 2002 63Introduction to Grid Computing
General Approach
Define Grid protocols & APIs
– Protocol-mediated access to remote resources
– Integrate and extend existing standards
– “On the Grid” = speak “Intergrid” protocols
Develop a reference implementation– Open source Globus Toolkit
– Client and server SDKs, services, tools, etc.
Grid-enable wide variety of tools
– Globus Toolkit, FTP, SSH, Condor, SRB, MPI, …
Learn through deployment and applications
Key Protocols
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 64/72
December 4, 2002 64Introduction to Grid Computing
Key Protocols
The Globus Toolkit™ 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)
Also key collective layer protocols
– Info Services, Replica Management, etc.
Grid Security Infrastructure (GSI)
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 65/72
December 4, 2002 65Introduction to Grid Computing
Grid Security Infrastructure (GSI)
Globus Toolkit implements GSI protocols
and APIs, to address Grid security needs
GSI protocols extends standard public key
protocols
– Standards: X.509 & SSL/TLS– Extensions: X.509 Proxy Certificates &
Delegation
GSI extends standard GSS-API
GSI in Action “Create Processes at A and B
that Communicate & Access Files at C”
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 66/72
December 4, 2002 66Introduction to Grid Computing
Site A(Kerberos)
Site B(Unix)
Site C(Kerberos)
Computer
Single sign-on via “grid-id”
& generation of proxy cred.
Or: retrieval of proxy cred.from online repository
User ProxyProxy
credential
Computer
Storage
system
Communication*
GSI-enabledFTP server
AuthorizeMap to local id
Access file
Remote fileaccess request*
GSI-enabledGRAM server
GSI-enabledGRAM server
Remote process
creation requests*
* With mutual authentication
Process
Kerberosticket
Restrictedproxy
Process
Restrictedproxy
Local idLocal id
AuthorizeMap to local idCreate process
Generate credentials
Ditto
User
Resource Management
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 67/72
December 4, 2002 67Introduction to Grid Computing
Resource Management
The Grid Resource Allocation Management(GRAM) protocol and client API allows
programs to be started and managed onremote resources, despite localheterogeneity
Resource Specification Language (RSL) isused to communicate requirements
A layered architecture allows application-specific resource brokers and co-allocatorsto be defined in terms of GRAM services
– Integrated with Condor, PBS, MPICH-G2, …
ResourceManagement Architecture
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 68/72
December 4, 2002 68Introduction to Grid Computing
RSL
InformationService
RSL
specialization
Broker
Queries
& Info
Management Architecture
Application
GRAM GRAM
Simple ground RSL
Co-allocator
Ground RSL
Localresourcemanagers
GRAM
LSF Condor NQE
Data Access & Transfer
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 69/72
December 4, 2002 69Introduction to Grid Computing
Data Access & Transfer
GridFTP: extended version of popular FTP
protocol for Grid data access and transfer
Secure, efficient, reliable, flexible, extensible,
parallel, concurrent, e.g.:
– Third-party data transfers, partial file transfers– Parallelism, striping (e.g., on PVFS)
– Reliable, recoverable data transfers
Reference implementations
– Existing clients and servers: wuftpd, ncftp
– Flexible, extensible libraries in Globus Toolkit
The Grid Information Problem
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 70/72
December 4, 2002 70Introduction to Grid Computing
Large numbers of distributed “sensors” with
different properties Need for different “views” of this information,
depending on community membership, security
constraints, intended purpose, sensor type
The Globus Toolkit Solution: MDS-2
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 71/72
December 4, 2002 71Introduction to Grid Computing
Registration & enquiry protocols, information
models, query languages– Provides standard interfaces to sensors
– Supports different “directory” structures
supporting various discovery/access strategies
Summary
8/2/2019 Grid Computing Intro
http://slidepdf.com/reader/full/grid-computing-intro 72/72
December 4, 2002 72Introduction to Grid Computing
Summary
The Grid problem: Resource sharing &
coordinated problem solving in dynamic, multi-
institutional virtual organizations
Grid architecture emphasizes systems problem
– Protocols & services, to facilitate interoperabilityand shared infrastructure services
Globus Toolkit™: APIs, SDKs, and tools which
implement Grid protocols & services
– Provides basic software infrastructure for suite of
tools addressing the programming problem