ogsa-based problem determination an use case · the open grid services architecture? extensions to...

28
Haifa Research Lab. Nov. 24, 2003 OGSA-based Problem Determination An Use Case Benny Rochwerger Research Staff Member

Upload: others

Post on 19-Nov-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

Nov. 24, 2003

OGSA-based Problem DeterminationAn Use Case

Benny RochwergerResearch Staff Member

Page 2: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case2 © 2003 IBM Corporation

Agenda? The Open Grid Services Architecture

? Autonomic Computing

? The End to End Problem Determination Toolkit

? Lessons Learned

Page 3: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case3 © 2003 IBM Corporation

Web Services in a Nutshell? A Web Service is an interface that describes a collection

of operations that are network accessible through standardized XML messaging

? A Web Service is described using a standard, formal

XML notion, called service description, which covers

message formats, transport protocols and location

? The interface hides the implementation details of the

service

Page 4: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case4 © 2003 IBM Corporation

The Web Services Model? SOAP: Communication protocols

? WSDL: Service description

? UDDI: Service discovery

Page 5: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case5 © 2003 IBM Corporation

What is missing in the Web Services Model ?

? Service description captures interface syntax

­ The service accepts an operation request with a particular signature

? Service description does not capture semantics

­ Operation should respond as expected

“As expected” is usually defined offline in specifications

­ Use names as basis for reasoning about semantics

­ Standardize common services and operations

Page 6: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case6 © 2003 IBM Corporation

What is missing in the Web Services Model ? getQuote(“BMW”)

1. BMW K 1200 RS Mileage: 8266 Year: 1999 Price: £6950

2. BMW R 1100 S Mileage:10347Year: 1998 Price: £5750

3. BMW R 1100 S Mileage : 7284Year: 1999 Price: £6250

4. BMW R 1100 S Mileage: 9000Year: 2000 Price: £6350

Used Motorcycle dealer

BMW (ISE:BMW) Time: 7:11Last Price: 1961.00

Change: +18.00Open: 1942.00High: 1977.00 @ 5:41 ETLow: 1927.00 @ 3:16 ET

Currency: GBX

Stock Quotes Provider

Page 7: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case7 © 2003 IBM Corporation

The Open Grid Services Architecture

? Extensions to existing Web Service technologies­ Transient stateful service instances

? Significant implications for how services are managed, named, discovered and used.

­ Standard interfaces and behaviors that address key distributed system issues

? Naming and bindings

? Information model

? Lifecycle

? Notification

Page 8: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case8 © 2003 IBM Corporation

OGSA: Transient Service Instances

? “Web services” address discovery & invocation of persistent services ­ Interface to persistent state of entire enterprise

? Must also support transient service instances, created/destroyed dynamically ­ Interfaces to the states of distributed activities

­ E.g. workflow, video conf., dist. data analysis

Page 9: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case9 © 2003 IBM Corporation

OGSA: Standard Interfaces & Behaviors? Naming and bindings

­ Every service instance has a unique name, from which can discover supported bindings

? Information model­ Service data associated with Grid service instances,

operations for accessing this info

? Lifecycle­ Service instances created by factories

­ Destroyed explicitly or via soft state

? Notification­ Interfaces for registering interest and delivering notifications

Page 10: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case10 © 2003 IBM Corporation

Service Data

? A Grid service instance maintains a set of service data elements

­ XML fragments encapsulated in standard <name, type, TTL-info> containers

­ Includes basic introspection information, interface-specific data, and application data

? findServiceData operation (GridService interface) queries this information

­ Extensible query language support

? See also notification interfaces ­ Allows notification of service existence and changes in service

data

Page 11: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case11 © 2003 IBM Corporation

Lifetime Management

? GS instances created by factory or manually; destroyed explicitly or via soft state

­ Negotiation of initial lifetime with a factory (=service supporting Factory interface)

? GridService interface supports­ destroy operation for explicit destruction

­ setTerminationTime operation for keepalive

? Soft state lifetime management avoids­ Explicit client teardown of complex state

­ Resource “leaks”in hosting environments

Page 12: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case12 © 2003 IBM Corporation

Factory

? Factory interface’s createService operation creates a new Grid service instance

­ Reliable creation (once-and-only-once)

? createService operation can be extended to accept service-specific creation parameters

? Returns a Grid Service Handle(GSH)

­ A globally unique URL

­ Uniquely identifies the instance for all time

Page 13: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case13 © 2003 IBM Corporation

Notification Interfaces

? NotificationSource for client subscription ­ One or more notification generators

Generates notification message of a specific typeTyped interest statements: E.g., Filters, topics, …Supports messaging services, 3rd party filter services, …

­ Soft state subscription to a generator

? NotificationSink for asynchronous delivery of notification messages

? A wide variety of uses are possible­ E.g. Dynamic discovery/registry services, monitoring,

application error notification, …

Page 14: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case14 © 2003 IBM Corporation

The OGSA Framework

Page 15: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case15 © 2003 IBM Corporation

Agenda? The Open Grid Services Architecture

? Autonomic Computing

? The End to End Problem Determination Toolkit

? Lessons Learned

Page 16: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case16 © 2003 IBM Corporation

Autonomic Computing AttributesAutonomic Computing AttributesSelfSelf--managing Systems that deliver...managing Systems that deliver...

Secure Information Secure Information and Resourcesand Resources

Anticipate, detect, Anticipate, detect, identify, and protect identify, and protect

against attacksagainst attacks

Increased Increased ResponsivenessResponsiveness

Adapt to dynamically Adapt to dynamically changing environmentschanging environments

Business Business ResiliencyResiliency

Discover, diagnose, Discover, diagnose, and act to preventand act to prevent

disruptionsdisruptions

Operational Operational EfficiencyEfficiency

Tune resources and Tune resources and balance workloads to balance workloads to maximize use of IT maximize use of IT resourcesresources

Page 17: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case17 © 2003 IBM Corporation

A Holistic Approach to Autonomic ComputingA Holistic Approach to Autonomic Computing

??Service oriented Service oriented architecturearchitecture

??Virtualization of Virtualization of resourcesresources

??Automation & Automation & manageability manageability enablement for each enablement for each system elementsystem element

Web Services

System Mgmt Database

ISVSolutions

Servers Storage Network

Customer Applications

Application Servers

OGSAMeta OS Services

Architecture Framework

Page 18: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case18 © 2003 IBM Corporation

Autonomic Computing Building BlocksAutonomic Computing Building Blocks

An autonomic elementcontains a continuous control loop that monitors activities and takes actions to adjust the system to meet business objectives

Autonomic elements learn from past experience to build action plans

Managed elements need to be instrumented consistently

Monitor Execute

Analyze Plan

Knowledge

Element

Sensors Effectors

Page 19: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case19 © 2003 IBM Corporation

Agenda? The Open Grid Services Architecture

? Autonomic Computing

? The End to End Problem Determination Toolkit

? Lessons Learned

Page 20: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case20 © 2003 IBM Corporation

Hierarchical End-to-end Problem Determination

TheInternet

Tier 1Presentation Layer

Tier 2Application Layer

Tier 3Storage and Legacy

Tier 0Client Layer

Vertical PDHorizontal PD

Page 21: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case21 © 2003 IBM Corporation

Managed Elements

The ePD Toolkit: Hierarchical, Heterogeneous Architecture

XX

ACAdapter

ACAdapter

DB2DB2

ACAdapter

ACAdapter

WASWAS

ACAdapter

ACAdapter

Event RepositoryEvent Repository

Autonomic ManagerRME/LogAnalyzer

Autonomic ManagerRME/LogAnalyzer

eMulsaeMulsa

ACAdapter

ACAdapter

Event RepositoryEvent Repository

Autonomic ManagerRAIL

Autonomic ManagerRAIL

Autonomic ManagerABLE

Autonomic ManagerABLE

EPPEPP

ACAdapter

ACAdapter

Orchestrator

OGSA InterfacesCBE payload

Data (CBE)

Control

PluggabilityComposabilityOrchestration

Page 22: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case22 © 2003 IBM Corporation

The ePD Toolkit Guiding Concepts? Compose-ability

­ The ability to bind PD components into hierarchal end-to-end PD system

? Plug-ability­ The ability to switch components with similar functionality in a

complex PD system, e.g., Switch between LogAnalyzer and ABLE based analyser

? Orchestration­ The mechanism for automatic dynamic configuration and wiring of the

hierarchical PD system

­ The capability to instantiate and control, on demand, components/tools as a result of autonomous decisions of the PD system, e.g.,

Collects all messages coming from server that looks faulty

Page 23: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case23 © 2003 IBM Corporation

The ePD Toolkit Highlights ? Hierarchical architecture

­ First level analysis identifies something wrong based on local information; it fires an event. Second level analysis can correlate this event with others events in the system (composability)

? Feedback mechanism­ Allows dynamic wiring and zooming in a particular problem

(orchestration)­ Demonstrate independent “Execute” component of MAPE

Plan decomposition, action distribution? Heterogeneous

­ Tools are combined to achieve a powerful system through standardinterfaces and common data representation

? Componentized Autonomic Manager ­ “Standard” interfaces (plugability)

RME control, input and output thru Grid Services

Page 24: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case24 © 2003 IBM Corporation

OGSA Based Problem Determination

« i n t e r f a c e »E f f e c t o r

+ s t a r t ( )+ s t o p ( )+ i n s t a l l ( )+ c o n f i g u r e ( )+ e x e c ( )

« i n t e r f a c e »S e n s o r

« i n t e r f a c e »N o t i f i c a t i o n S i n k

+ d e l i v e r N o t i f i c a t i o n ( )

« i n t e r f a c e »N o t i f i c a t i o n S o u r c e

+ s u b s c r i b e ( )+ u n s u b s c r i b e ( )

« i n t e r f a c e »G r i d S e r v i c e

+ f i n d S e r v i c e D a t a ( )+ s e t S e r v i c e D a t a ( )+ d e s t r o y ( )

« i n t e r f a c e »M a n a g e d R e s o u r c e

Page 25: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case25 © 2003 IBM Corporation

Everything is a Managed Element

«interface»ManagedResource

ApacheManageResource

ACGenericAdapter ApacheProcess

«use»start/stop

«use»create/delete

«interface»AutonomicManager

RMEAutonomicManager

RMEProcess

«use»start/stop/create /delete

Page 26: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case26 © 2003 IBM Corporation

Agenda? The Open Grid Services Architecture

? Autonomic Computing

? The End to End Problem Determination Toolkit

? Lessons Learned

Page 27: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

OGSA-based Problem Determination: An Use Case27 © 2003 IBM Corporation

OGSA Summary/Lessons Learned

§ The OGSA Programming Modelþ Reuse portTypes when possible

þ Extensibility types

ý Service data elements

þ Use of Factories

ý Explicit Lifecycle Management

§ The Notification Modelý Two entities: sink and source

ý Notifications on state changes only

Page 28: OGSA-based Problem Determination An Use Case · The Open Grid Services Architecture? Extensions to existing Web Service technologies › Transient stateful service instances? Significant

Haifa Research Lab.

Nov. 24, 2003

OGSA-based Problem DeterminationAn Use Case

Benny RochwergerResearch Staff Member