dopsygroup distributed systems lab wiesbaden university of applied sciences self-organizing...

9
. . . . . . . . . . . . . . DOPSY DOPSY group group Distributed Systems Lab Distributed Systems Lab Wiesbaden University Wiesbaden University of Applied Sciences of Applied Sciences Self-Organizing QoS- Management in Service Oriented Architectures Markus Schmid Wiesbaden University of Applied Sciences [email protected] http://wwwvs.informatik.fh- wiesbaden.de

Upload: audrey-tucker

Post on 26-Mar-2015

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

...........

...DOPSYDOPSYgroupgroup

Distributed Systems LabDistributed Systems Lab

Wiesbaden University Wiesbaden University of Applied Sciencesof Applied Sciences

Self-Organizing QoS-Management in Service Oriented Architectures

Markus Schmid

Wiesbaden University of Applied Sciences

[email protected]://wwwvs.informatik.fh-wiesbaden.de

Page 2: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

2Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

SOA: High complexity– Number of components – Nested architecture– Concurrent workflows

and services– Different administrative

domains– Frequent changes

Application of existing SLM approaches difficult

Approach: Management automation Self-organization of

management components Prerequisite

Consistent monitoring

OperationalSystems

Services andcomposite Services

EnterpriseComponents

BusinessProcessOrchestration

PortalMotivation

Page 3: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

3Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Generation of Instrumentation Code

Design Implementation

Monitoring data

Monitoring data

Self-OrganizingQoS Optimization

SLM

TestProduction

Lifecycle-Support for QoS-Management Aspects

MDA-Approach for generation of instrumentation code

see [DAIS08b,PIK08]

UML Modelling Tool

MDA Code Generator

UML Model

Code GenerationWorkflow

Pure Java CodeTemplates

InstrumentationTemplates

Java SourceCode Stubs Instrumentation

Repository

UML Profile"Instrumentation"

Instrumentation of Middleware componentsInstrumentation of Workflow EnginesSLM Proxy (Monitoring / Enforcement)

see [IM07,DAIS08a,SOC09]

Tool-support for source code instrumentation

see [MMB08]see [DAIS08b, PIK08]

BB

11

CC

22

Trigger

EE

11

FF

22

4433

Client-SideActivity

Server-SideActivity

RPC

DD

11

22

Action

AA

11

Event

Page 4: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

4Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Decentralized QoS-Management

One QoS manager per workflow

– Responsible for overall QoS

– Negotiation of initial SLOs with services

One QoS manager per service

– Control of service implementation

– Collaboration with other services

SM SM

Services andcomposite Services

BusinessProcessOrchestration

EnterpriseComponents

SM SM

SLA SLA

QoS QoS QoS QoS

QoSQoS

Page 5: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

5Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Decentralized QoS-Management (2)

Cooperation of autonomous QoS managers– Basis: SLAs specified for workflows or workflow sections– Goal: decentralized optimization of overall QoS delivery

P2P communication between QoS managers that contribute to a workflow

– Transfer of SLO shares between participating components– Automated alignment to changes on business layer– Further goals: robustness, scalability

Coordination is based on auctioning protocols– Prioritization of workflows regarding business value– Utility functions used to assign „money“ to individual

components see [DAIS08a]

Page 6: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

6Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Local enforcement of QoS-Constraints: The SelfManager-Framework

Core – Internal messaging (JMS)– Configuration repository

Module manager – Instantiates and configures

extension modules Extension modules

– Action modules Interaction with SuM Passive

– Event modules Interaction with SuM Communication with other

managers Active

– Control / strategy modules Host management strategy

Ev

en

tM

od

ule

sE

ve

nt

Mo

du

les

Ev

en

tM

od

ule

s

Ev

en

tM

od

ule

sE

ve

nt

Mo

du

les

Ac

tion

Mo

du

les

Co

ntro

lM

od

ule

Co

ntro

lM

od

ule

Co

ntro

lM

od

ule

s

Module Adapter

Management Core

ModuleManager

MessagingSystem

Self-Manager

System under Management (SuM)

Sensors Actuators

Page 7: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

7Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Physical

Manager

Physical

Manager

Optimization of the underlying infrastructure

VM n

Service...

VM 1

ServiceVMM

PM 1VM n

Service...

VM 1

Service

PM n

...

VMMgr

VMMgr

VMMgr

VMMgr

VMM

SL Monitor

VM Monitor

SL Monitor

VM Monitor

SL Monitor

VM Monitor

SL Monitor

VM Monitor

... ...

VMM Monitor

VMMActuator

VMM Monitor

VMMActuator

PoolManager

Actuator Actuator Actuator Actuator

VM Manager Monitor

...

PM Manager Monitor

Actuator

Pool ManagerAdaptor

Pool ManagerAdaptor

SLA SLA SLASLA

Pool Logic

VMLogic

VMLogic

VMLogic

VMLogic

Page 8: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

8Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Literature

[IM07] M. Schmid; M. Thoss; T. Termin; R. Kroeger: "A Generic Application-OrientedPerformance Instrumentation for Multi-Tier Environments", 10th IFIP/IEEEInternational Symposium on Integrated Network Management (IM2007)

[MMB08] M. Schmid; T. Stein; M. Thoss; R. Kroeger: "An Eclipse IDE Extension for Pattern-based Software Instrumentation", Proceedings 14th GI/ITG Conference Measurement, Modelling and Evaluation of Computer and Communication Systems, March 2008

[DAIS08a] M. Schmid; R. Kroeger: "Decentralised QoS-Management in Service Oriented Architectures", Distributed Applications and Interoperable Systems: 8th IFIP WG 6.1 International Conference, DAIS 2008, June 2008

[DAIS08b] J. Schaefer; J. Stynes; R. Kroeger: "Model-Based Performance Instrumentation of Distributed Applications", Distributed Applications and Interoperable Systems: 8th IFIP

WG 6.1 International Conference, DAIS 2008, June 2008,

[HPSUA08] M. Schmid; D. Marinescu; R. Kroeger: "A Framework for Autonomic PerformanceManagement of Virtual Machine-Based Services", Proceedings of the 15th

Annual Workshop of the HP Software University Association, June 2008

[PIK08] Schmid, Markus; Schaefer, Jan; Kroeger, Reinhold: "Ein MDSD-Ansatz zum QoS-Monitoring von Diensten in Service-orientierten Architekturen ", No. 31 /4, PIK - Praxis der

Informationsverarbeitung und Kommunikation, December 2008 (in German)

[SOC09] M. Schmid; J. Schaefer; R. Kroeger: "Integriertes Performance-Monitoring von SOA-Anwendungen", Workshops der Wissenschaftlichen Konferenz Kommunikation in Verteilten Systemen (WowKiVS), Kassel, 2009, Vol. 17, Electronic Communications of

the EASST, March 2009 (in German)

Page 9: DOPSYgroup Distributed Systems Lab Wiesbaden University of Applied Sciences Self-Organizing QoS-Management in Service Oriented Architectures

9Self-Healing and Self-Adaptive Systems - Schloss Dagstuhl

DOPSYDOPSYgroupgroup

...........

...

Transfer of SLO shares

a b c d

SLO

seq

a b c d

seq

e f

case

SLOa SLOb SLOc SLOd

SLOe SLOf

e f