+ All Categories
Home > Documents > Grid Architectures and Technologies

Grid Architectures and Technologies

Date post: 14-Jan-2016
Category:
Upload: thyra
View: 45 times
Download: 1 times
Share this document with a friend
Description:
Grid Architectures and Technologies. Tugba Taskaya-Temizel January 2006. Contents. History and Evolution of Grid Introduction to Grid Architecture Key Components -Resource infrastructure Services in the Web and the Grid Technologies : Globus, Condor. - PowerPoint PPT Presentation
56
Grid Architectures and Technologies Tugba Taskaya-Temizel January 2006
Transcript
Page 1: Grid Architectures and Technologies

Grid Architectures and Technologies

Tugba Taskaya-TemizelJanuary 2006

Page 2: Grid Architectures and Technologies

2

Contents

History and Evolution of GridIntroduction to Grid ArchitectureKey Components -Resource infrastructureServices in the Web and the GridTechnologies : Globus, Condor

Page 3: Grid Architectures and Technologies

3

History and Evolution of Grid

The emergence of virtual organisations

Picture from Foster I. et al (2003)

Page 4: Grid Architectures and Technologies

4

History and Evolution of Grid

The Emergence of Virtual Organisations

Sharing resources: The degree of service availability – which

resources will be shared The authorization of the shared resource –

who will be permitted The type of the relationship - Peer to peer A mechanism to understand the nature of

the relationship The possible ways the resource will be used

(memory, computing power, etc.)

Page 5: Grid Architectures and Technologies

5

Introduction to Grid Architecture

What is Architecture?

Design, the way components fit together. The term is used particularly of processors, both individual and in general.

Page 6: Grid Architectures and Technologies

6

Introduction to Grid Architecture

Why Discuss Architecture?

Descriptive Provide a common vocabulary for use when

describing Grid systems

Guidance Identify key areas in which services are

required

Prescriptive Define standard protocols and APIs to

facilitate creation of interoperable Grid systems and portable applications

Page 7: Grid Architectures and Technologies

7

Introduction to Grid Architecture

The nature of grid architecture

A grid architecture identifies fundamental system components, specifies the purpose and function of these components, and indicate how these components interact.

Page 8: Grid Architectures and Technologies

8

Introduction to Grid Architecture

The Nature of Grid Architecture

Grid’s protocols provide VO users and resources to negotiate, establish, manage and exploit sharing relationships. Interoperability a fundamental concern The protocols are critical to

interoperability Services are important We need to consider APIs and SDKs

Page 9: Grid Architectures and Technologies

9

Introduction to Grid Architecture Grid architecture

requirements

The components are numerous owned and managed by different, potentially

mutually distrustful organisations and individuals may be potentially faulty have different security requirements and policies heterogeneous connected by heterogeneous, multilevel networks have different resource management policies are likely to be geographically separated

Page 10: Grid Architectures and Technologies

10

Key Components The Hourglass Model

CoreServices and Abstractions(e.g. TCP, HTTP)Resource and Connectivity protocol

Diverse global services

Local OS

A p p l i c a t i o n s

User Applications

Collective services

Fabric

Page 11: Grid Architectures and Technologies

11

Key Components Layered Grid Architecture

(By Analogy to Internet Architecture)

“Controlling things locally”: Access to, & control of, resources

“Talking to things”: communication (Internet protocols) & security

“Sharing single resources”: negotiating access, controlling use

“Coordinating multiple resources”: ubiquitous infrastructure services, app-specific distributed services

Application

Fabric

Connectivity

Resource

Collective

InternetTransport

Application

Link

Inte

rnet

Pro

toco

l A

rchit

ect

ure

Page 12: Grid Architectures and Technologies

12

Key Components Layered Grid Architecture:Fabric Layer

Just what you would expect: the diverse mix of resources that may be shared Individual computers, Condor pools, file

systems, archives, metadata catalogs, networks, sensors, etc., etc.

Defined by interfaces not physical characteristics

Page 13: Grid Architectures and Technologies

13GSI: www.gridforum.org/security

Key Components Layered Grid Architecture:Connectivity Layer

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, …

Page 14: Grid Architectures and Technologies

14

Key Components Layered Grid Architecture:Resource Layer

The architecture is for the secure negotiation, initiation, monitoring, control, accounting, and payment of sharing operations on individual resources. Information Protocols (inform about the

structure and state of the resource) Management Protocols (negotiate

access to a shared resource)

Page 15: Grid Architectures and Technologies

15

Key Components Layered Grid Architecture:Resource Layer

Grid Resource Allocation Mgmt (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

Network reservation, monitoring, controlAll built on connectivity layer: GSI & IP

GridFTP: www.gridforum.orgGRAM, GRIS: www.globus.org

Page 16: Grid Architectures and Technologies

16

Key Components Layered Grid Architecture:Collective layer

Coordinating multiple resourcesContains protocols and services that capture interactions among a collection of resourcesIt supports a variety of sharing behaviours without placing new requirements on the resources being sharedSample services: directory services, co-allocation, brokering and scheduling services, data replication services, workload management services, collaboratory services

Page 17: Grid Architectures and Technologies

17

Key Components Layered Grid Architecture:Collective Layer

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 catalogsReplication servicesCo-reservation and co-allocation servicesWorkflow management servicesEtc.

Condor: www.cs.wisc.edu/condor

Page 18: Grid Architectures and Technologies

18

Key Components Layered Grid Architecture:Applications layer

There are user applications that operate within the VO environmentApplications are constructed by calling upon services defined at any layerEach of the layers are well defined using protocols, provide access to servicesWell-defined APIs also exist to work with these services

Page 19: Grid Architectures and Technologies

19

Key Components Grid architecture in practice

Page 20: Grid Architectures and Technologies

20

Key Components Where Are We With Architecture?

No “official” standards existBut: Globus Toolkit™ has emerged as the de facto

standard for several important Connectivity, Resource, and Collective protocols

Technical specifications are being developed for architecture elements: e.g., security, data, resource management, information

Internet drafts submitted in security area

Page 21: Grid Architectures and Technologies

21

Services in the Web and the Grid

Web services

Define a technique for describing software components to be accessed, methods for accessing these components, and discovery methods that enable the identification of relevant service providersA distributed computing technology (like CORBA, RMI…)They allow us to create loosely coupled client/server applications.

Page 22: Grid Architectures and Technologies

22

Services in the Web and the Grid

Web Services:Advantages

Platform and language independent since they use XML language.Most use HTTP for transmitting messages (such as the service request and response)

Page 23: Grid Architectures and Technologies

23

Services in the Web and the Grid

Web Services: Disadvantages

Overhead : Transmitting data in XML is not as convenient as binary codes.Lack of versatility: They allow very basic forms of service invocation (Grid services make up this versatility). Stateless:

Non-transient:

They can’t remember what you have done from one invocation to another

They outlive all their clients.

Page 24: Grid Architectures and Technologies

24

Services in the Web and the Grid

Web Services Architecture

Picture from Globus 3 Tutorial Notes www.globus.org

Find Web services which meet certain requirements(Universal Description, Discovery and Integration)

Services describe their own properties and methods(Web Services Description Language)Format of requests(client) and responses (server)(Simple Object Access Protocol)

Message transfer protocol(Hypertext Transfer Protocol)

Page 25: Grid Architectures and Technologies

25

Services in the Web and the Grid

Invoking A Typical Web Service

Picture from Globus 3 Tutorial Notes

Page 26: Grid Architectures and Technologies

26

Services in the Web and the Grid

Web Service Addressing

URI: Uniform Resource IdentifiersURI and URL are practically same thing. Example:

http://webservices.mysite.com/weather/us/WeatherService

It can not be used with web browsers, they are for softwares.

Page 27: Grid Architectures and Technologies

27

Services in the Web and the Grid

Web Service Application

Picture from Globus 3 Tutorial Notes

Page 28: Grid Architectures and Technologies

28

Services in the Web and the Grid

What is Grid Service?It provides a set of well defined interfaces and that follows specific conventions.It is a web service with improved characteristics and services. Improvement:

Potentially Transient Stateful Delegation Lifecycle management Service Data Notifications

Examples : computational resources, programs, databases…

Page 29: Grid Architectures and Technologies

29

Services in the Web and the Grid

Factories

Picture from Globus 3 Tutorial Notes

Page 30: Grid Architectures and Technologies

30

Services in the Web and the Grid

GSH & GSR

GSH : Grid Service Handle (URI) Unique Shows the location of the service

GSR :Grid Service Reference Describes how to communicate with

the service As we will use SOAP, our GSR will be

WSDL file.

Page 31: Grid Architectures and Technologies

31

Services in the Web and the Grid

Open Grid Services Architecture (OGSA) : Definition

OGSA defines what Grid services are, what they should be capable of, what type of technologies they should be based on. OGSA does not give a technical and detailed specification. They use WSDL.

Page 32: Grid Architectures and Technologies

32

Services in the Web and the Grid

Open Grid Services Infrastructure (OGSI) : Definition

It is a formal and technical specification of the concepts described in OGSA.The Globus Toolkit 3 is an implementation of OGSI.Some other implementations are OGSI::Lite (Perl)1 and the UNICORE OGSA demonstrator2 from the EU GRIP project.OGSI specification defines grid services and builds upon web services.

Page 33: Grid Architectures and Technologies

33

Services in the Web and the GridOGSI

OGSI creates an extension model for WSDL called GWSDL (Grid WSDL). The reason is: Interface inheritance Service Data (for expressing state information)

Components: Lifecycle State management Service Groups Factory Notification HandleMap

Page 34: Grid Architectures and Technologies

34

Services in the Web and the Grid

Service Data Structure

<wsdl:definitions xmlns:tns="abc" targetNamespace="mynamespace">

<gwsdl:portType name="AbstractSearchEngine"> <wsdl:operation name="search" /> -------------------- <sd:serviceData name="cachedURL" type="tns:

cachedURLType" mutability="mutable" nilable="true",

maxOccurs="1" minOccurs="0" modifiable="true"/> </gwsdl:portType></wsdl:definitions>

Page 35: Grid Architectures and Technologies

35

Services in the Web and the Grid

OGSA, OGSI, GT3

Picture from Globus 3 Tutorial Notes

Page 36: Grid Architectures and Technologies

36

Technologies Globus

GoalsLayered ArchitectureGlobus ServicesLimitations

Page 37: Grid Architectures and Technologies

37

Technologies Goals

Low-level toolkit providing basic mechanisms such as communication, authentication, network information, and data accessLong term goal – build an Adaptive Wide Area Resource Environment (AWARE)Not intended for application use, instead used to construct higher-level components

Page 38: Grid Architectures and Technologies

38

Technologies Core Globus Services

Communication Infrastructure (Nexus) Information Services (MDS)Remote File and Executable Management (GASS, RIO, and GEM)Resource Management (GRAM) Security (GSS)

Page 39: Grid Architectures and Technologies

39

Technologies Communications (Nexus)

5 basic abstractions Nodes Contexts (Address spaces) Threads Communication links Remote service requests

Startpoints and Endpoints

Page 40: Grid Architectures and Technologies

40

Technologies Information Services

(Metacomputing Directory Service - MDS)

Required information Configuration details about resources

Amount of memory CPU speed

Performance information Network latency CPU load

Application specific information Memory requirements

Page 41: Grid Architectures and Technologies

41

Technologies Remote file and executable management

Global Access to Secondary Storage (GASS) basic access to remote files, operations

supported include remote read, remote write and append

Remote I/O (RIO) implements a distributed implementation of the

MPI-IO, parallel I/O API

Globus Executable Management (GEM) enables loading and executing a remote file

through the GRAM resource manager

Page 42: Grid Architectures and Technologies

42

Technologies Resource management

Resource Specification Language (RSL) provides a method for exchanging information about

resource requirements between all of the components in the Globus resource management architecture

Globus Resource Allocation Manager (GRAM) provides a standardized interface to all of the various local

resource management tools that a site might have in place

DUROC provides a co-allocation service it coordinates a single request that may span multiple

GRAMs.

LSF EASY-LL NQE

GRAM

Page 43: Grid Architectures and Technologies

43

Technologies Authentication Model

Authentication is done on a “user” basis Single authentication step allows access to all

grid resources

No communication of plaintext passwordsMost sites will use conventional account mechanisms You must have an account on a resource to

use that resource

Sites may use “generic” Grid accounts Not common, but Globus can deal with it

Page 44: Grid Architectures and Technologies

44

Technologies Grid Security Infrastructure

Each user has: a Grid user id (called a Subject Name) a private key (like a password) a certificate signed by a Certificate

Authority (CA)

A “gridmap” file at each site specifiesgrid-id to local-id mapping

Page 45: Grid Architectures and Technologies

45

Technologies Certificate Based Authentication

User has a certificate, signed by a trusted “certificate authority” (CA) Certificate contains user name and public key Globus project operates a CA

User’s private key is used to encode a challenge string

Public key is used to decode the challenge If you can decode it, you know the user

Page 46: Grid Architectures and Technologies

46

Technologies“Logging” onto the Grid

To run programs, authenticate to Globus:% grid-proxy-initEnter PEM pass phrase: ******

Creates a temporary, short-lived credential for use by our computationsPrivate key is not exposed past grid-proxy-

init

Page 47: Grid Architectures and Technologies

47

Technologies Simple job submission

globus-job-run provides a simple RSH compatible interface% grid-proxy-init Enter PEM pass phrase: *****% globus-job-run host program [args]

Page 48: Grid Architectures and Technologies

48

Technologies Limitations

Program needs to be compiled on remote machineGatekeepers usually runs as rootNeed to specify filenames as URLsNeed to specify machine names when executing programs

Page 49: Grid Architectures and Technologies

49

Technologies Condor

It is a specialized job and resource management system. It provides: Job management mechanism Scheduling Priority scheme Resource monitoring Resource management

Page 50: Grid Architectures and Technologies

50

Technologies Condor Terminology

The user submits a job to an agent.The agent is responsible for remembering jobs in persistent storage while finding resources willing to run them.Agents and resources advertise themselves to a matchmaker, which is responsible for introducing potentially compatible agents and resources.At the agent, a shadow is responsible for providing all the details necessary to execute a job.At the resource, a sandbox is responsible for creating a safe execution environment for the job and protecting the resource from any mischief.

Page 51: Grid Architectures and Technologies

51

Technologies Condor-G: computation management agent for

Grid Computing

Merging of Globus and Condor technologiesGlobus Protocols for secure inter-domain

communications Standardized access to remote batch

systems

Condor Job submission and allocation Error recovery Creation of an execution environment

Page 52: Grid Architectures and Technologies

52

Technologies Condor Kernel

User Problem Solver Agent Resource

Matchmaker

Shadow Sandbox

Job

Plan of jobs job

ClassAds

claim

Details of the job

Environment

Page 53: Grid Architectures and Technologies

53

Technologies Gateway Flocking

Gateway pass information about participants between pools, Ma sends request to Mb through gateways, Mb returns a match

Page 54: Grid Architectures and Technologies

54

Technologies Gateway Flocking

Structure of pools is preservedCompletely transparent- no modification to usersSharing at organizational levelTechnically complex- gateway participates in all interactions in the Condor kernel

Solution: Direct Flocking

Page 55: Grid Architectures and Technologies

55

Technologies Direct Flocking

A also advertises to Condor Pool B

Page 56: Grid Architectures and Technologies

56

ResourcesLast year presentation slides (2005) T.Taskaya-Temizel, K.AhmadFoster I., Kesselman C., Tuecke S. (2003)The anatomy of the grid. In F.Berman, G.Fox, T.Hey (ed) Grid Computing: Making the Global Infrastructure a Reality, Chichester, John Willey & Sons Inc, pp. 171-199Foster I., Kesselman C., Nick C.M., Tuecke S. (2003)The physiology of the Grid. In F.Berman, G.Fox, T.Hey (ed) Grid Computing: Making the Global Infrastructure a Reality, Chichester, John Willey & Sons Inc, pp. 217-246 Thain D., Tannenbaum T., Livny M. (2003) Condor and the Grid. In Berman F., Fox G., Hey T., (ed) In F.Berman, G.Fox, T.Hey (ed) Grid Computing: Making the Global Infrastructure a Reality, Chichester, John Willey & Sons Inc, pp. 217-246Joseph J. (2003) A developer’s overview of OGSI and OGSI-based Grid computing. IBM developerWorks [Online] Available at <http://www-106.ibm.com/developerworks/grid/library/gr-ogsi/> [Accessed 26 January 2004]The Globus Alliance [Online] Available at <http://www.globus.org> [Accessed 26 January 2004]Foldoc, What is architecture? [Online] Available at <http://foldoc.doc.ic.ac.uk> [Accessed 26 January 2004]Talia, D. The Open Grid Services Architecture, where the Grid meets the Web. IEEE Internet Computing, pp:2-6, December 2002.


Recommended