SlideShare ist ein Scribd-Unternehmen logo
1 von 50
Aug 19, 2013 MCC/MIERSI Grid Computing 1
Introduction to Grid Architecture
What is Architecture?
• Design
• The way components fit
together
Aug 19, 2013 MCC/MIERSI Grid Computing 2
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
Aug 19, 2013 MCC/MIERSI Grid Computing 3
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.
Aug 19, 2013 MCC/MIERSI Grid Computing 4
Introduction to Grid Architecture
The Nature of Grid Architecture
• Grid’s protocols allow 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
VO: Virtual Organization
Aug 19, 2013 MCC/MIERSI Grid Computing 5
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
Aug 19, 2013 MCC/MIERSI Grid Computing 6
Key Components
The Hourglass Model
Core
Services 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
Aug 19, 2013 MCC/MIERSI Grid Computing 7
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
Internet
Transport
Application
Link
InternetProto
Aug 19, 2013 MCC/MIERSI Grid Computing 8
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
Aug 19, 2013 MCC/MIERSI Grid Computing 9
GSI: 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, …
Aug 19, 2013 MCC/MIERSI Grid Computing 10
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)
Aug 19, 2013 MCC/MIERSI Grid Computing 11
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, control
• All built on connectivity layer: GSI & IP
GridFTP: www.gridforum.org
GRAM, GRIS: www.globus.org
Aug 19, 2013 MCC/MIERSI Grid Computing 12
Key Components
Layered Grid Architecture:Collective layer
• Coordinating multiple resources
• Contains protocols and services that capture
interactions among a collection of resources
• It supports a variety of sharing behaviours
without placing new requirements on the
resources being shared
• Sample services: directory services, co-
allocation, brokering and scheduling services,
data replication services, workload management
services, collaboratory services
Aug 19, 2013 MCC/MIERSI Grid Computing 13
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 catalogs
• Replication services
• Co-reservation and co-allocation services
• Workflow management services
• Etc.
Condor: www.cs.wisc.edu/condor
Aug 19, 2013 MCC/MIERSI Grid Computing 14
Key Components
Layered Grid Architecture:Applications layer
• There are user applications that operate within
the VO environment
• Applications are constructed by calling upon
services defined at any layer
• Each of the layers are well defined using
protocols, provide access to services
• Well-defined APIs also exist to work with these
services
Aug 19, 2013 MCC/MIERSI Grid Computing 15
Key Components
Grid architecture in practice
Aug 19, 2013 MCC/MIERSI Grid Computing 16
Key Components
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
– Technical specifications are being
developed for architecture elements: e.g.,
security, data, resource management,
information
Aug 19, 2013 MCC/MIERSI Grid Computing 17
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 providers
• A distributed computing technology (like
CORBA, RMI…)
• They allow us to create loosely coupled
client/server applications.
Aug 19, 2013 MCC/MIERSI Grid Computing 18
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)
Aug 19, 2013 MCC/MIERSI Grid Computing 19
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.
Aug 19, 2013 MCC/MIERSI Grid Computing 20
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)
Aug 19, 2013 MCC/MIERSI Grid Computing 21
Services in the Web and the Grid
Invoking a Typical Web Service
Picture from
Globus 3 Tutorial Notes
Aug 19, 2013 MCC/MIERSI Grid Computing 22
Services in the Web and the Grid
Web Service Addressing
• URI: Uniform Resource Identifiers
• URI and URL are practically the same thing.
– Example:
http://webservices.mysite.com/weather/us/WeatherSe
rvice
• It can not be used with web browsers, it is meant
for softwares.
Aug 19, 2013 MCC/MIERSI Grid Computing 23
Services in the Web and the Grid
Web Service Application
Picture from Globus 3 Tutorial Notes
Aug 19, 2013 MCC/MIERSI Grid Computing 24
Services in the Web and the Grid
What is a 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…
Aug 19, 2013 MCC/MIERSI Grid Computing 25
Services in the Web and the Grid
Factories
Picture from Globus 3 Tutorial Notes
Aug 19, 2013 MCC/MIERSI Grid Computing 26
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 WS use SOAP, our GSR is a WSDL file.
Aug 19, 2013 MCC/MIERSI Grid Computing 27
Services in the Web and the Grid
Open Grid Services Architecture (OGSA)
• 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. It uses WSDL.
Aug 19, 2013 MCC/MIERSI Grid Computing 28
Services in the Web and the Grid
Open Grid Services Infrastructure (OGSI)
• 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.
Aug 19, 2013 MCC/MIERSI Grid Computing 29
Services in the Web and the Grid
OGSI
• 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
Aug 19, 2013 MCC/MIERSI Grid Computing 30
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"
nillable="true", maxOccurs="1" minOccurs="0“
modifiable="true"/>
</gwsdl:portType>
</wsdl:definitions>
nillable: allows the element to have no value
modifiable: allows user override of the model element
mutable: service data element can change
Aug 19, 2013 MCC/MIERSI Grid Computing 31
Services in the Web and the Grid
OGSA, OGSI, GT3
Picture from Globus 3 Tutorial Notes
Aug 19, 2013 MCC/MIERSI Grid Computing 32
Services in the Web and the Grid
OGSA, WSRF
Aug 19, 2013 MCC/MIERSI Grid Computing 33
Web services and the Grid
OGSA, WSRF, GT4
Aug 19, 2013 MCC/MIERSI Grid Computing 34
Web services and the Grid
• GT4 replaced OGSI by WSRF (Web
Service Resource Framework)
• Framework developed as a joint effort of
WS and Grid groups
• GWSDL foi abandonada
How to model states using WS
• A resource is associated to each web
service
Aug 19, 2013 MCC/MIERSI Grid Computing 35
WS-Resource
Aug 19, 2013 MCC/MIERSI Grid Computing 36
How to access a WS-Resource
• URI used to access the web service
• WS-Addressing used to access WS-
Resource
• The address of a particular WS-Resource
is called an endpoint reference in WS-
Addressing lingo
Aug 19, 2013 MCC/MIERSI Grid Computing 37
WSRF
• a specification developed by OASIS
http://www.oasis-open.org
• WSRF specifies how one can make Web
Services stateful
• Differences between OGSI and WSRF:
– http://www.globus.org/wsrf/specs/ogsi_to_wsrf
_1.0.pdf
Aug 19, 2013 MCC/MIERSI Grid Computing 38
WSRF
• 5 normative WSRF specifications:
– WS-ResourceProperties
– WS-ResourceLifetime
– WS-RenewableReferences
– WS-ServiceGroup
– WS-BaseFault
– WS-Notification family of specifications
Aug 19, 2013 MCC/MIERSI Grid Computing 39
WSRF
• WS-ResourceProperties: properties of
resources. For example, a resource can
have values of different types (properties)
Aug 19, 2013 MCC/MIERSI Grid Computing 40
WSRF
• WS-ResourceLifetime: a WS-Resource
can be destroyed, either synchronously
with respect to a destroy request or
through a mechanism offering time-based
(scheduled) destruction, and specified
resource properties [WS-
ResourceProperties] may be used to
inspect and monitor the lifetime of a WS-
Resource
Aug 19, 2013 MCC/MIERSI Grid Computing 41
WSRF
• WS-RenewableReferences: a Web
service endpoint reference (WS-
Addressing) can be renewed in the event
the addressing or policy information
contained within it becomes invalid or
stale
Aug 19, 2013 MCC/MIERSI Grid Computing 42
WSRF
• WS-ServiceGroup: heterogeneous by-
reference collections of Web services can
be defined, whether or not the services
are WS-Resources (for example, one can
dynamically add a new resource to a
group of resources)
Aug 19, 2013 MCC/MIERSI Grid Computing 43
WSRF
• WS-BaseFault: fault reporting can be
made more standardized through the use
of an XML Schema type for base faults
and rules for how this base fault type is
used and extended by Web services
Aug 19, 2013 MCC/MIERSI Grid Computing 44
WSRF
• WS-Notification family of specifications:
Standard approaches to notification of
changes
Aug 19, 2013 MCC/MIERSI Grid Computing 45
WSDL
• Types– a container for data type definitions using some
type system (such as XSD).
• Message– an abstract, typed definition of the data being
communicated.
• Operation– an abstract description of an action
supported by the service.
• Port Type–an abstract set of operations supported by
one or more endpoints.
• Binding– a concrete protocol and data format
specification for a particular port type.
• Port– a single endpoint defined as a combination of a
binding and a network address.
• Service– a collection of related endpoints.
Aug 19, 2013 MCC/MIERSI Grid Computing 46
Creation of a stateful web service
• MathService to perform operations:
– Addition
– Subtraction
• Have the ResourceProperties (RP):
– Value (integer)
– Last operation performed (string)
• Extra operation Get to get Value RP
• Once a new resource is created:
– Value is set to zero
– Last operation is set to “NONE”
Aug 19, 2013 MCC/MIERSI Grid Computing 47
5 steps
• Define the service's interface. This is
done with WSDL
• Implement the service. This is done with
Java.
• Define the deployment parameters. This
is done with WSDD and JNDI
• Compile everything and generate a
GAR file. This is done with Ant
• Deploy service. This is also done with a
GT4 tool
Aug 19, 2013 MCC/MIERSI Grid Computing 48
WSDD: Web Service Deployment Descriptor
JNDI: Java Naming and Directory Interface
Step 1:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="MathService"
targetNamespace="http://www.globus.org/namespaces/examples/core/
MathService_instance"
xmlns ="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www.globus.org/namespaces/examples/core/MathService_
instance"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-
ResourceProperties-1.2-draft-01.xsd" xmlns:wsrpw="http://docs.oasis-
open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreproce
ssor" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
</definitions>
http://gdp.globus.org/gt4-tutorial/multiplehtml/apas01.html
Aug 19, 2013 MCC/MIERSI Grid Computing 49
More info
• http://www.globus.org/wsrf/specs/ogsi_to_wsrf
• http://docs.oasis-open.org/wsrf/wsrf-primer-1.2
• http://www.globus.org/wsrf/specs/ws-wsrf.pdf
Aug 19, 2013 MCC/MIERSI Grid Computing 50

Weitere ähnliche Inhalte

Was ist angesagt?

Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database SystemSulemang
 
Distributed databases and dbm ss
Distributed databases and dbm ssDistributed databases and dbm ss
Distributed databases and dbm ssMohd Arif
 
Ddb 1.6-design issues
Ddb 1.6-design issuesDdb 1.6-design issues
Ddb 1.6-design issuesEsar Qasmi
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecturenupurmakhija1211
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemAnamika Singh
 
Market oriented Cloud Computing
Market oriented Cloud ComputingMarket oriented Cloud Computing
Market oriented Cloud ComputingJithin Parakka
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architectureYisal Khan
 
Structure of shared memory space
Structure of shared memory spaceStructure of shared memory space
Structure of shared memory spaceCoder Tech
 
Applications of Distributed Systems
Applications of Distributed SystemsApplications of Distributed Systems
Applications of Distributed Systemssandra sukarieh
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systemssumitjain2013
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMSkoolkampus
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit IIpkaviya
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed systemSunita Sahu
 

Was ist angesagt? (20)

Application of Cloud Computing
Application of Cloud ComputingApplication of Cloud Computing
Application of Cloud Computing
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 
Message passing in Distributed Computing Systems
Message passing in Distributed Computing SystemsMessage passing in Distributed Computing Systems
Message passing in Distributed Computing Systems
 
Active database
Active databaseActive database
Active database
 
Distributed databases and dbm ss
Distributed databases and dbm ssDistributed databases and dbm ss
Distributed databases and dbm ss
 
Ddb 1.6-design issues
Ddb 1.6-design issuesDdb 1.6-design issues
Ddb 1.6-design issues
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecture
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Market oriented Cloud Computing
Market oriented Cloud ComputingMarket oriented Cloud Computing
Market oriented Cloud Computing
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
 
Mobile databases
Mobile databasesMobile databases
Mobile databases
 
DDBMS
DDBMSDDBMS
DDBMS
 
Structure of shared memory space
Structure of shared memory spaceStructure of shared memory space
Structure of shared memory space
 
Cs6703 grid and cloud computing unit 2
Cs6703 grid and cloud computing unit 2Cs6703 grid and cloud computing unit 2
Cs6703 grid and cloud computing unit 2
 
Applications of Distributed Systems
Applications of Distributed SystemsApplications of Distributed Systems
Applications of Distributed Systems
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit II
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 

Ähnlich wie Ogsa

Grid and Cloud Computing Lecture-2a.pptx
Grid and Cloud Computing Lecture-2a.pptxGrid and Cloud Computing Lecture-2a.pptx
Grid and Cloud Computing Lecture-2a.pptxDrAdeelAkram2
 
Unit 2 - Grid and Cloud Computing
Unit 2 - Grid and Cloud ComputingUnit 2 - Grid and Cloud Computing
Unit 2 - Grid and Cloud Computingvimalraman
 
cloud computing, Principle and Paradigms: 1 introdution
cloud computing, Principle and Paradigms: 1 introdutioncloud computing, Principle and Paradigms: 1 introdution
cloud computing, Principle and Paradigms: 1 introdutionMajid Hajibaba
 
Cloud Computing Automation: Integrating USDL and TOSCA
 Cloud Computing Automation: Integrating USDL and TOSCA Cloud Computing Automation: Integrating USDL and TOSCA
Cloud Computing Automation: Integrating USDL and TOSCAJorge Cardoso
 
Jorge cardoso caise-usdl-tosca-2013-06-18c
Jorge cardoso   caise-usdl-tosca-2013-06-18cJorge cardoso   caise-usdl-tosca-2013-06-18c
Jorge cardoso caise-usdl-tosca-2013-06-18ccaise2013vlc
 
International Conference on Machine learning and Cloud Computing (MLCL 2020)
International Conference on Machine learning and Cloud Computing (MLCL 2020)International Conference on Machine learning and Cloud Computing (MLCL 2020)
International Conference on Machine learning and Cloud Computing (MLCL 2020)ijscai
 
Cc unit 2 ppt
Cc unit 2 pptCc unit 2 ppt
Cc unit 2 pptDr VISU P
 
Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...
Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...
Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...ijgca
 
Call for Papers - International Conference IOT, Blockchain and Cryptography (...
Call for Papers - International Conference IOT, Blockchain and Cryptography (...Call for Papers - International Conference IOT, Blockchain and Cryptography (...
Call for Papers - International Conference IOT, Blockchain and Cryptography (...ijgca
 
Grid Computing Systems and Resource Management
Grid Computing Systems and Resource ManagementGrid Computing Systems and Resource Management
Grid Computing Systems and Resource ManagementSouparnika Patil
 
A Review Grid Computing
A Review  Grid ComputingA Review  Grid Computing
A Review Grid ComputingBecky Gilbert
 
Models of Distributed System
Models of Distributed SystemModels of Distributed System
Models of Distributed SystemAshish KC
 
Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Araf Karsh Hamid
 
Grid Computing - Collection of computer resources from multiple locations
Grid Computing - Collection of computer resources from multiple locationsGrid Computing - Collection of computer resources from multiple locations
Grid Computing - Collection of computer resources from multiple locationsDibyadip Das
 
Cloud computing: Legal and ethical issues in library and information services
Cloud computing: Legal and ethical issues in library and information servicesCloud computing: Legal and ethical issues in library and information services
Cloud computing: Legal and ethical issues in library and information servicese-Marefa
 
Cloud Customer Architecture for Securing Workloads on Cloud Services
Cloud Customer Architecture for Securing Workloads on Cloud ServicesCloud Customer Architecture for Securing Workloads on Cloud Services
Cloud Customer Architecture for Securing Workloads on Cloud ServicesCloud Standards Customer Council
 

Ähnlich wie Ogsa (20)

Grid and Cloud Computing Lecture-2a.pptx
Grid and Cloud Computing Lecture-2a.pptxGrid and Cloud Computing Lecture-2a.pptx
Grid and Cloud Computing Lecture-2a.pptx
 
Unit 2 - Grid and Cloud Computing
Unit 2 - Grid and Cloud ComputingUnit 2 - Grid and Cloud Computing
Unit 2 - Grid and Cloud Computing
 
cloud computing, Principle and Paradigms: 1 introdution
cloud computing, Principle and Paradigms: 1 introdutioncloud computing, Principle and Paradigms: 1 introdution
cloud computing, Principle and Paradigms: 1 introdution
 
Cloud Computing Automation: Integrating USDL and TOSCA
 Cloud Computing Automation: Integrating USDL and TOSCA Cloud Computing Automation: Integrating USDL and TOSCA
Cloud Computing Automation: Integrating USDL and TOSCA
 
Jorge cardoso caise-usdl-tosca-2013-06-18c
Jorge cardoso   caise-usdl-tosca-2013-06-18cJorge cardoso   caise-usdl-tosca-2013-06-18c
Jorge cardoso caise-usdl-tosca-2013-06-18c
 
International Conference on Machine learning and Cloud Computing (MLCL 2020)
International Conference on Machine learning and Cloud Computing (MLCL 2020)International Conference on Machine learning and Cloud Computing (MLCL 2020)
International Conference on Machine learning and Cloud Computing (MLCL 2020)
 
CloudBus
CloudBusCloudBus
CloudBus
 
Cc unit 2 ppt
Cc unit 2 pptCc unit 2 ppt
Cc unit 2 ppt
 
Grid computing
Grid computingGrid computing
Grid computing
 
Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...
Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...
Call for Paper - 4th International Conference on Cloud, Big Data and Web Serv...
 
Call for Papers - International Conference IOT, Blockchain and Cryptography (...
Call for Papers - International Conference IOT, Blockchain and Cryptography (...Call for Papers - International Conference IOT, Blockchain and Cryptography (...
Call for Papers - International Conference IOT, Blockchain and Cryptography (...
 
Grid Computing Systems and Resource Management
Grid Computing Systems and Resource ManagementGrid Computing Systems and Resource Management
Grid Computing Systems and Resource Management
 
1213532535.pdf
1213532535.pdf1213532535.pdf
1213532535.pdf
 
A Review Grid Computing
A Review  Grid ComputingA Review  Grid Computing
A Review Grid Computing
 
WP4-QoS Management in the Cloud
WP4-QoS Management in the CloudWP4-QoS Management in the Cloud
WP4-QoS Management in the Cloud
 
Models of Distributed System
Models of Distributed SystemModels of Distributed System
Models of Distributed System
 
Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018
 
Grid Computing - Collection of computer resources from multiple locations
Grid Computing - Collection of computer resources from multiple locationsGrid Computing - Collection of computer resources from multiple locations
Grid Computing - Collection of computer resources from multiple locations
 
Cloud computing: Legal and ethical issues in library and information services
Cloud computing: Legal and ethical issues in library and information servicesCloud computing: Legal and ethical issues in library and information services
Cloud computing: Legal and ethical issues in library and information services
 
Cloud Customer Architecture for Securing Workloads on Cloud Services
Cloud Customer Architecture for Securing Workloads on Cloud ServicesCloud Customer Architecture for Securing Workloads on Cloud Services
Cloud Customer Architecture for Securing Workloads on Cloud Services
 

Kürzlich hochgeladen

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Kürzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

Ogsa

  • 1. Aug 19, 2013 MCC/MIERSI Grid Computing 1 Introduction to Grid Architecture What is Architecture? • Design • The way components fit together
  • 2. Aug 19, 2013 MCC/MIERSI Grid Computing 2 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
  • 3. Aug 19, 2013 MCC/MIERSI Grid Computing 3 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.
  • 4. Aug 19, 2013 MCC/MIERSI Grid Computing 4 Introduction to Grid Architecture The Nature of Grid Architecture • Grid’s protocols allow 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 VO: Virtual Organization
  • 5. Aug 19, 2013 MCC/MIERSI Grid Computing 5 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
  • 6. Aug 19, 2013 MCC/MIERSI Grid Computing 6 Key Components The Hourglass Model Core Services 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
  • 7. Aug 19, 2013 MCC/MIERSI Grid Computing 7 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 Internet Transport Application Link InternetProto
  • 8. Aug 19, 2013 MCC/MIERSI Grid Computing 8 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
  • 9. Aug 19, 2013 MCC/MIERSI Grid Computing 9 GSI: 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, …
  • 10. Aug 19, 2013 MCC/MIERSI Grid Computing 10 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)
  • 11. Aug 19, 2013 MCC/MIERSI Grid Computing 11 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, control • All built on connectivity layer: GSI & IP GridFTP: www.gridforum.org GRAM, GRIS: www.globus.org
  • 12. Aug 19, 2013 MCC/MIERSI Grid Computing 12 Key Components Layered Grid Architecture:Collective layer • Coordinating multiple resources • Contains protocols and services that capture interactions among a collection of resources • It supports a variety of sharing behaviours without placing new requirements on the resources being shared • Sample services: directory services, co- allocation, brokering and scheduling services, data replication services, workload management services, collaboratory services
  • 13. Aug 19, 2013 MCC/MIERSI Grid Computing 13 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 catalogs • Replication services • Co-reservation and co-allocation services • Workflow management services • Etc. Condor: www.cs.wisc.edu/condor
  • 14. Aug 19, 2013 MCC/MIERSI Grid Computing 14 Key Components Layered Grid Architecture:Applications layer • There are user applications that operate within the VO environment • Applications are constructed by calling upon services defined at any layer • Each of the layers are well defined using protocols, provide access to services • Well-defined APIs also exist to work with these services
  • 15. Aug 19, 2013 MCC/MIERSI Grid Computing 15 Key Components Grid architecture in practice
  • 16. Aug 19, 2013 MCC/MIERSI Grid Computing 16 Key Components 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 – Technical specifications are being developed for architecture elements: e.g., security, data, resource management, information
  • 17. Aug 19, 2013 MCC/MIERSI Grid Computing 17 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 providers • A distributed computing technology (like CORBA, RMI…) • They allow us to create loosely coupled client/server applications.
  • 18. Aug 19, 2013 MCC/MIERSI Grid Computing 18 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)
  • 19. Aug 19, 2013 MCC/MIERSI Grid Computing 19 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.
  • 20. Aug 19, 2013 MCC/MIERSI Grid Computing 20 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)
  • 21. Aug 19, 2013 MCC/MIERSI Grid Computing 21 Services in the Web and the Grid Invoking a Typical Web Service Picture from Globus 3 Tutorial Notes
  • 22. Aug 19, 2013 MCC/MIERSI Grid Computing 22 Services in the Web and the Grid Web Service Addressing • URI: Uniform Resource Identifiers • URI and URL are practically the same thing. – Example: http://webservices.mysite.com/weather/us/WeatherSe rvice • It can not be used with web browsers, it is meant for softwares.
  • 23. Aug 19, 2013 MCC/MIERSI Grid Computing 23 Services in the Web and the Grid Web Service Application Picture from Globus 3 Tutorial Notes
  • 24. Aug 19, 2013 MCC/MIERSI Grid Computing 24 Services in the Web and the Grid What is a 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…
  • 25. Aug 19, 2013 MCC/MIERSI Grid Computing 25 Services in the Web and the Grid Factories Picture from Globus 3 Tutorial Notes
  • 26. Aug 19, 2013 MCC/MIERSI Grid Computing 26 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 WS use SOAP, our GSR is a WSDL file.
  • 27. Aug 19, 2013 MCC/MIERSI Grid Computing 27 Services in the Web and the Grid Open Grid Services Architecture (OGSA) • 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. It uses WSDL.
  • 28. Aug 19, 2013 MCC/MIERSI Grid Computing 28 Services in the Web and the Grid Open Grid Services Infrastructure (OGSI) • 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.
  • 29. Aug 19, 2013 MCC/MIERSI Grid Computing 29 Services in the Web and the Grid OGSI • 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
  • 30. Aug 19, 2013 MCC/MIERSI Grid Computing 30 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" nillable="true", maxOccurs="1" minOccurs="0“ modifiable="true"/> </gwsdl:portType> </wsdl:definitions> nillable: allows the element to have no value modifiable: allows user override of the model element mutable: service data element can change
  • 31. Aug 19, 2013 MCC/MIERSI Grid Computing 31 Services in the Web and the Grid OGSA, OGSI, GT3 Picture from Globus 3 Tutorial Notes
  • 32. Aug 19, 2013 MCC/MIERSI Grid Computing 32 Services in the Web and the Grid OGSA, WSRF
  • 33. Aug 19, 2013 MCC/MIERSI Grid Computing 33 Web services and the Grid OGSA, WSRF, GT4
  • 34. Aug 19, 2013 MCC/MIERSI Grid Computing 34 Web services and the Grid • GT4 replaced OGSI by WSRF (Web Service Resource Framework) • Framework developed as a joint effort of WS and Grid groups • GWSDL foi abandonada
  • 35. How to model states using WS • A resource is associated to each web service Aug 19, 2013 MCC/MIERSI Grid Computing 35
  • 36. WS-Resource Aug 19, 2013 MCC/MIERSI Grid Computing 36
  • 37. How to access a WS-Resource • URI used to access the web service • WS-Addressing used to access WS- Resource • The address of a particular WS-Resource is called an endpoint reference in WS- Addressing lingo Aug 19, 2013 MCC/MIERSI Grid Computing 37
  • 38. WSRF • a specification developed by OASIS http://www.oasis-open.org • WSRF specifies how one can make Web Services stateful • Differences between OGSI and WSRF: – http://www.globus.org/wsrf/specs/ogsi_to_wsrf _1.0.pdf Aug 19, 2013 MCC/MIERSI Grid Computing 38
  • 39. WSRF • 5 normative WSRF specifications: – WS-ResourceProperties – WS-ResourceLifetime – WS-RenewableReferences – WS-ServiceGroup – WS-BaseFault – WS-Notification family of specifications Aug 19, 2013 MCC/MIERSI Grid Computing 39
  • 40. WSRF • WS-ResourceProperties: properties of resources. For example, a resource can have values of different types (properties) Aug 19, 2013 MCC/MIERSI Grid Computing 40
  • 41. WSRF • WS-ResourceLifetime: a WS-Resource can be destroyed, either synchronously with respect to a destroy request or through a mechanism offering time-based (scheduled) destruction, and specified resource properties [WS- ResourceProperties] may be used to inspect and monitor the lifetime of a WS- Resource Aug 19, 2013 MCC/MIERSI Grid Computing 41
  • 42. WSRF • WS-RenewableReferences: a Web service endpoint reference (WS- Addressing) can be renewed in the event the addressing or policy information contained within it becomes invalid or stale Aug 19, 2013 MCC/MIERSI Grid Computing 42
  • 43. WSRF • WS-ServiceGroup: heterogeneous by- reference collections of Web services can be defined, whether or not the services are WS-Resources (for example, one can dynamically add a new resource to a group of resources) Aug 19, 2013 MCC/MIERSI Grid Computing 43
  • 44. WSRF • WS-BaseFault: fault reporting can be made more standardized through the use of an XML Schema type for base faults and rules for how this base fault type is used and extended by Web services Aug 19, 2013 MCC/MIERSI Grid Computing 44
  • 45. WSRF • WS-Notification family of specifications: Standard approaches to notification of changes Aug 19, 2013 MCC/MIERSI Grid Computing 45
  • 46. WSDL • Types– a container for data type definitions using some type system (such as XSD). • Message– an abstract, typed definition of the data being communicated. • Operation– an abstract description of an action supported by the service. • Port Type–an abstract set of operations supported by one or more endpoints. • Binding– a concrete protocol and data format specification for a particular port type. • Port– a single endpoint defined as a combination of a binding and a network address. • Service– a collection of related endpoints. Aug 19, 2013 MCC/MIERSI Grid Computing 46
  • 47. Creation of a stateful web service • MathService to perform operations: – Addition – Subtraction • Have the ResourceProperties (RP): – Value (integer) – Last operation performed (string) • Extra operation Get to get Value RP • Once a new resource is created: – Value is set to zero – Last operation is set to “NONE” Aug 19, 2013 MCC/MIERSI Grid Computing 47
  • 48. 5 steps • Define the service's interface. This is done with WSDL • Implement the service. This is done with Java. • Define the deployment parameters. This is done with WSDD and JNDI • Compile everything and generate a GAR file. This is done with Ant • Deploy service. This is also done with a GT4 tool Aug 19, 2013 MCC/MIERSI Grid Computing 48 WSDD: Web Service Deployment Descriptor JNDI: Java Naming and Directory Interface
  • 49. Step 1: <?xml version="1.0" encoding="UTF-8"?> <definitions name="MathService" targetNamespace="http://www.globus.org/namespaces/examples/core/ MathService_instance" xmlns ="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.globus.org/namespaces/examples/core/MathService_ instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS- ResourceProperties-1.2-draft-01.xsd" xmlns:wsrpw="http://docs.oasis- open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreproce ssor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> </definitions> http://gdp.globus.org/gt4-tutorial/multiplehtml/apas01.html Aug 19, 2013 MCC/MIERSI Grid Computing 49
  • 50. More info • http://www.globus.org/wsrf/specs/ogsi_to_wsrf • http://docs.oasis-open.org/wsrf/wsrf-primer-1.2 • http://www.globus.org/wsrf/specs/ws-wsrf.pdf Aug 19, 2013 MCC/MIERSI Grid Computing 50