grid service architectures

35
Nguyen Tuan Anh Page 1 VN-Grid seminars: Grid Service Architecture Grid Service Architectures Nguyen Tuan Anh

Upload: galvin-randolph

Post on 03-Jan-2016

38 views

Category:

Documents


2 download

DESCRIPTION

Grid Service Architectures. Nguyen Tuan Anh. Overview. A bit about Grid evolutions Distributed services: technologies trend Grid services Architecture Standards. Grid evolution. GUSTO testbed. GT3.0 OGSI/OGSA. GT4.0 WSRF-Draft. GT4.2 WSRF. GT1.0. 1996. 1999. 2002. 2005. 2008. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Grid Service Architectures

Nguyen Tuan AnhPage 1VN-Grid seminars: Grid Service Architecture

Grid Service Architectures

Nguyen Tuan Anh

Page 2: Grid Service Architectures

Nguyen Tuan AnhPage 2VN-Grid seminars: Grid Service Architecture

Overview

A bit about Grid evolutions

Distributed services: technologies trend

Grid services Architecture Standards

Page 3: Grid Service Architectures

Nguyen Tuan AnhPage 3VN-Grid seminars: Grid Service Architecture

Grid evolution

1996

GT1.0

Proof of concept

1999

GUSTO testbed

2002

GT3.0OGSI/OGSA

2005

GT4.0WSRF-Draft

GGF

Standardization

-Basic services?-Security issues

- Grid architecture- Grid interoperability

Globus Toolkit !!!!http://www.globus.org

2008

GT4.2WSRF

Page 4: Grid Service Architectures

Nguyen Tuan AnhPage 4VN-Grid seminars: Grid Service Architecture

Where are we now?

Grid service standardization is almost done Grid service architecture Grid service specification

Grid middleware Based on Grid and Web standards Reference implementations

Direction for the future Emphasis on Application as Service Cloud computing

Keyword: SERVICES! SERVICES! SERVICES!

Page 5: Grid Service Architectures

Nguyen Tuan AnhPage 5VN-Grid seminars: Grid Service Architecture

Traditional Distributed Computing Paradigm

CORBA (Common Object Request Broker Architecture) RMI (Remote Method Invocation) DCOM (Distributed Component Object Model) RPC (Remote Procedure Call)

What issues those tools have to face with?

Page 6: Grid Service Architectures

Nguyen Tuan AnhPage 6VN-Grid seminars: Grid Service Architecture

Remote Procedure Call (RPC)

Page 7: Grid Service Architectures

Nguyen Tuan AnhPage 7VN-Grid seminars: Grid Service Architecture

Java Remote Method Invocation (RMI)

Page 8: Grid Service Architectures

Nguyen Tuan AnhPage 8VN-Grid seminars: Grid Service Architecture

Distributed Component Object Model

Microsoft-flavor distributed objects

Page 9: Grid Service Architectures

Nguyen Tuan AnhPage 9VN-Grid seminars: Grid Service Architecture

CORBA: Common Object Request Broker Architecture

Page 10: Grid Service Architectures

Nguyen Tuan AnhPage 10VN-Grid seminars: Grid Service Architecture

What is still missing in those technologies to be used on the Grid?

Page 11: Grid Service Architectures

Nguyen Tuan AnhPage 11VN-Grid seminars: Grid Service Architecture

How Web Service enters the scene

Traditional distributed computing tools None has ever caught on for ubiquitous and heterogeneous environments.

Human as a part of the environment Security issues

Most haven't even tried to make that a design goal.

Web services applies the same programming paradigm but largely based on emerging Internet and Web technologies HTTP XML

Page 12: Grid Service Architectures

Nguyen Tuan AnhPage 12VN-Grid seminars: Grid Service Architecture

Web Service definition

Web service is a software system designed to support interoperable Machine to Machine interaction over a network.

Web services are frequently just Web APIs that can be accessed over a network

Grid services as stateful Web services Open Grid Service Infrastructure (OGSI) Web Service Resource Framework (WSRF)

Page 13: Grid Service Architectures

Nguyen Tuan AnhPage 13VN-Grid seminars: Grid Service Architecture

The “Grid service” cloud

Which services

are available

Which standard are Grid

services based on?

Where services will be

deployed and executed

Which background technology are

Grid services based on?

, WSRF

GT4Unicore

gLite

Page 14: Grid Service Architectures

Nguyen Tuan AnhPage 14VN-Grid seminars: Grid Service Architecture

OGSA: design principles

Page 15: Grid Service Architectures

Nguyen Tuan AnhPage 15VN-Grid seminars: Grid Service Architecture

Grid architecture: principles

Fabric layer Physical resources

Computers/ computing platforms Data storages Sensors Network

Layered on top of local OS

Resource & connectivity protocols layer Provide access to resources and services in the fabric layer Security management

Authentication Authorization Secure communication

Page 16: Grid Service Architectures

Nguyen Tuan AnhPage 16VN-Grid seminars: Grid Service Architecture

Grid architecture

Collective service layers Facilitate the use of resources/services Provide meta-services

Resource discovery Resource brokers Failure detection ...

User application layers Grid applications

Parallel applications Service-oriented applications ...

Page 17: Grid Service Architectures

Nguyen Tuan AnhPage 17VN-Grid seminars: Grid Service Architecture

OGSA’s view of the Grid environment

Physical Environment

Security• Authentication• Authorization• Policy implementation

Resources• Virtualization• Management• Optimization

Execution Management

• Execution Planning• Workflow• Work managers

Provisioning• Configuration• Deployment• Optimization

Data• Storage Mgmt.• Transport• Replica Mgmt.

Virtual Domains

• Service Groups• Virtual Organizations

Physical Environment

• Hardware• Network• Sensors• Equipment

I nfrastructure Profile

• Required interfaces supported by all services

Page 18: Grid Service Architectures

Nguyen Tuan AnhPage 18VN-Grid seminars: Grid Service Architecture

How to define a Grid service?

Page 19: Grid Service Architectures

Nguyen Tuan AnhPage 19VN-Grid seminars: Grid Service Architecture

Grid Service Specifications

Open Grid Service Infrastructure (OGSI) GT3, 2002 Toward but not yet converge with Web Services

Web Service Resource Framework (WSRF) GT 4.x, 2005 Fully convergence with Web services

Both OGSI and WSRF heavily depend on Web Services technologies and Specifications (WS) OGSA extends WS specs to define stateful Grid services WSRF use WS specs to define Grid services

Page 20: Grid Service Architectures

Nguyen Tuan AnhPage 20VN-Grid seminars: Grid Service Architecture

OGSI and WSRF

OGSI

WSRF

Page 21: Grid Service Architectures

Nguyen Tuan AnhPage 21VN-Grid seminars: Grid Service Architecture

OGSI and WSRF

OGSI: Grid services in one specification

Do not work well with existing WS tools

Object and component paradigm Data as part of the service

WSRF: Grid services as composite of WS-related specifications

Benefit WS tools to develop WSRF services

Decompose into “interfaces” (WS) and resources Favor client-server model

Page 22: Grid Service Architectures

Nguyen Tuan AnhPage 22VN-Grid seminars: Grid Service Architecture

OGSI vs. WSRF specs

Page 23: Grid Service Architectures

Nguyen Tuan AnhPage 23VN-Grid seminars: Grid Service Architecture

OGSA on top of WSRF

Page 24: Grid Service Architectures

Nguyen Tuan AnhPage 24VN-Grid seminars: Grid Service Architecture

Grid Service Factory

“Factory” design pattern A service used to create new service instances

Page 25: Grid Service Architectures

Nguyen Tuan AnhPage 25VN-Grid seminars: Grid Service Architecture

WSRF service invocation

Page 26: Grid Service Architectures

Nguyen Tuan AnhPage 26VN-Grid seminars: Grid Service Architecture

A bit more about Web services …

Page 27: Grid Service Architectures

Nguyen Tuan AnhPage 27VN-Grid seminars: Grid Service Architecture

Web Services Protocol

Simple Object Access Protocol XML-based method calls over a network An enveloping mechanism consisting of elements (in the SOAP namespace)

within which any XML can be sent An RPC mechanism, as well as a data-encoding model.

Page 28: Grid Service Architectures

Nguyen Tuan AnhPage 28VN-Grid seminars: Grid Service Architecture

SOAP

Page 29: Grid Service Architectures

Nguyen Tuan AnhPage 29VN-Grid seminars: Grid Service Architecture

WSDL: Web Service Description Language

Page 30: Grid Service Architectures

Nguyen Tuan AnhPage 30VN-Grid seminars: Grid Service Architecture

WS Specifications

ConnectedConnected Applications Applications ManagementManagement BusinessBusiness

ProcessProcess ……

SecuritySecurity ReliabilityReliability TransactionsTransactions

MessagingMessaging

XMLXML

Met

adat

aM

etad

ata

HTTPHTTP TCPTCP SMTPSMTP ……

Messaging SpecificationsMessaging SpecificationsSOAP SOAP WS-Addressing WS-Addressing MTOM (Attachments) MTOM (Attachments) WS-Eventing    WS-Eventing    Security SpecificationsSecurity SpecificationsWS-Security WS-Security WS-SecureConversation WS-SecureConversation WS-Trust WS-Trust WS-Federation Requestor WS-Federation Requestor ProfileProfileWS-Federation PassiveWS-Federation PassiveReliable Messaging Reliable Messaging SpecificationsSpecificationsWS-ReliableMessagingWS-ReliableMessagingTransaction Transaction SpecificationsSpecificationsWS-Coordination WS-Coordination WS-AtomicTransaction WS-AtomicTransaction WS-BusinessActivityWS-BusinessActivityMetadata SpecificationsMetadata SpecificationsWSDLWSDLUDDI UDDI WS-Policy WS-Policy WS-PolicyAssertions WS-PolicyAssertions WS-PolicyAttachment WS-PolicyAttachment WS-SecurityPolicyWS-SecurityPolicyXML SpecificationsXML SpecificationsXML XML Namespaces in XMLNamespaces in XMLXML Information Set XML Information Set XInclude    XInclude   

Page 31: Grid Service Architectures

Nguyen Tuan AnhPage 31VN-Grid seminars: Grid Service Architecture

A bit more about WSRF …

Page 32: Grid Service Architectures

Nguyen Tuan AnhPage 32VN-Grid seminars: Grid Service Architecture

Web services: stateless invocation

Page 33: Grid Service Architectures

Nguyen Tuan AnhPage 33VN-Grid seminars: Grid Service Architecture

From stateless to stateful service

Page 34: Grid Service Architectures

Nguyen Tuan AnhPage 34VN-Grid seminars: Grid Service Architecture

WSRF: Web Service Resource Framework

WSRF : a framework that Provide Web Service interface Elaborate resource (data) to the web service

Page 35: Grid Service Architectures

Nguyen Tuan AnhPage 35VN-Grid seminars: Grid Service Architecture

Conclusion

Moving fast toward Service-centric environment/applications

Many technologies: Web and Grid conversions

Grid goes far beyond HPC, toward business applications Cloud computing

My dream “Grid infrastructure as analog of electrical Grid” not yet come true Possibly in near future