第二章 网格体系结构. 龚 斌 山东大学计算机科学与技术学院 山东省高性能计算中心. Web Services 资源框架 WSRF ( Web Services Resource Framework ). 内容. WSRF 产生的原因 WSRF, Web Service, OGSI and OGSA 的关系 WSRF 的特性和原理. The Best of Both Worlds. Web Services & Grid Requirements. share. manage. access. Resources on demand.
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
内容 • WSRF产生的原因 • WSRF, Web Service, OGSI and OGSA的关系 • WSRF的特性和原理
The Best of Both Worlds Web Services & Grid Requirements share manage access Resources on demand Applications on demand Global Accessibility Secure and universal access Business integration Vast resource scalability Grid Protocols Web Services
WSRF的驱动力 • 2004年1月宣布Web service资源框架WSRF • OGSI v1.0 -》WSRF • By the Globus Alliance and IBM, HP, SAP, Akamai, TIBCO and Sonic • OGSI的定义 • WSDL的扩展和新的WSDL2.0支持的功能类似 • 引入状态服务。。。 • Web Service技术的发展 • Web-Addressing:独立于传输协议定位服务 • WS-MetaDataExchange:提供了发布服务的一些信息 • WSDL 2.0
WSRF的需求源自于 • 网格计算 • 系统管理 • 商业计算 Grid Computing Systems Management Web Services Business Computing
OGSA Evolution informational Autonomy of the Grid OGSA V1.0 OGSA Profile Normative OGSA Glossary Basic Execution Service Naming JSDL Physiology of the Grid Open Grid Services Infrastructure Web Services Resource Framework Web Services Notification
OGSA Specifications Landscape SYSTEMS MANAGEMENT GRID COMPUTING UTILITY COMPUTING Use Cases & Applications Distributed query processing Data Centre Collaboration Persistent Archive ASP Multi Media VO Management OGSA Self Mgmt OGSA-EMS WS-DAI Information WSDM Discovery GGF-UR Data Model Naming Core Services Privacy Trust Others ... Service Groups Notification WS-I BP WSRF-RAP WS-Security SAML/XACML X.509 Basic Profile WS-Addressing HTTP(S)/SOAP WSDL WSRF-RL WSRF-RP
WS-Resource Properties WS-Resource Lifetime WS-Notification Modeling Stateful Resources with Web Services WS-Base Faults WS-Service Group WS-RenewableReferences WSRF的目标 • Web services 标准的建议 • 扩展 Web services标准的建议,定义了状态资源管理的规范 • 从OGSI to WSRF: 重构和发展过程 • WS-Resource framework • 定义状态资源的Web services 访问模式 • A family of Web services specifications that clarify how “state” and Web services combine • 无状态的Service, 有状态的Resource • WS-Notification • 为Web Services提供基于消息发布和预定能力 • WS-Resource framework和WS-Notification • 建立在已存在的Web services 定义和技术 • 帮助统一网格计算、系统管理和Web services To be developed
WS-Resource Properties WS-Resource Lifetime WS-Notification Modeling Stateful Resources with Web Services WS-Base Faults WS-Service Group WS-RenewableReferences What we are announcing today • A family of Web services specification proposals • Introduces a design pattern to specify how to use Web services to access “stateful” components • Introduce message based publish-subscribe to Web services Introduced Today To be developed
WS-Resource Properties WS-Resource Lifetime WS-Notification Modeling Stateful Resources with Web Services Web Services WS-Service Group WS-Base Faults WS-RenewableReferences OGSA Enabled OGSA Enabled OGSA Enabled Network Storage Servers OGSA Enabled OGSA Enabled OGSA Enabled OGSA Enabled OGSA Enabled OGSA Enabled Security Database Messaging Workflow Directory File Systems How these proposals relate to OGSA WS-Resource Framework & WS-Notification are an evolution of OGSI • OGSA Services can be defined and implemented asWeb services • OSGA can take advantage of other Web services standards • OGSA can be implemented using standard Web services development tools • Grid applications will NOT require special Web services infrastructure Applications OGSA Architected Services Web Services OGSI – Open Grid Services Infrastructure
Standardization Open Grid Services Architecture(www.ggf.org/ogsa-wg) Domain-Specific Services Program Execution Data Services Core Services Open Grid Services Infrastructure Web Services Messaging, Security, Etc.
GT1 GT2 OGSI 在应用和技术上起步相差较大 Have been converging ? WSDL 2, WSDM WSDL, WS-* HTTP WSRF意味着什么? Grid Web 网格和 Web Services的融合?
GT1 GT2 OGSI Started far apart in apps & tech Have been converging WSRF WSDL 2, WSDM WSDL, WS-* HTTP 网格和Web Services融合 Grid Web WSRF的定义意味着网格和 Web服务团体在一个共同的基础上前进
Standardization Open Grid Services Architecture Domain-Specific Services Program Execution Data Services Core Services Open Grid Services Infrastructure WS-Resource Framework Web Services Messaging, Security, Etc.
WS-Resource框架模型 • WS-Resource 是什么 • 例子: • 物理实体 (e.g.. processor, communication link, disk drive) 或者逻辑结构 (e.g.. agreement, running task, subscription) • Real or virtual • 静态 (long-lived, pre-existing) 或者动态 (created and destroyed as needed) • 简单或者 混合 (collection) • 单一 – 独立身份和生存期 • 有状态的- Maintains a specific state that can be materialized using XML • 可以通过一个或多个Web Services访问 resource
WS-Resource 框架模型 • WS-Resource 利用了WS-Addressing • Web services and WS-Resources通过使用“Endpoint Reference” 来引用 • 创建和定位的服务将返回 Endpoint References • Web service and WS-Resource 是分开的: • 一个 Web service是无状态的 • 一个WS资源提供了状态执行了上下文 • 不同的实体、不同的生存期和不同的能力
WS-Resource 框架模型 • WS-Resource 属性 • 资源的状态和元数据as an XML document • 查询和设置操作 • WS-Resource 生存期 • Explicit destruction or “Soft state” time-to-live • Provides for cleanupof resource instances resource <ProcessorProperties> <ProcID>5A34C1DE03</ProcID> <ProcArchitecture>Power6.2</ProcArchitecture> <ProcSpeedMIPS>400</ProcSpeed> <ProcCacheMB>256<ProcCache> <ProcRunning>1</ProcRunning> </ProcessorProperties>
The WS-Resource framework model Endpoint Reference Invoking a Web Service Run-time environment message Interface Web Service message address
context WS-Resource 框架模型 Endpoint Reference Using a Web service to access a WS-Resource Run-time environment id resource message Interface Web Service message address id
context WS-Resource 框架模型 Endpoint Reference Using a Web service to access a WS-Resource Endpoint Reference Run-time environment id resource message Interface Web Service message address id resource
id address WS-Resource 框架模型 Endpoint Reference Creating / Locating a WS-Resource Run-time environment Endpoint Reference resource message Interface Web Service message address Web Service either locates or creates a WS-Resource