Using Adaptation Plans to Control the Behavior of Models@Runtime - - PowerPoint PPT Presentation

using adaptation plans to control the behavior of models
SMART_READER_LITE
LIVE PREVIEW

Using Adaptation Plans to Control the Behavior of Models@Runtime - - PowerPoint PPT Presentation

Using Adaptation Plans to Control the Behavior of Models@Runtime Maksym Lushpenko, Nicolas Ferry, Hui Song, Franck Chauvel, Arnor Solberg SINTEF Models@Runtime 2015 s Technology for a better society Related to future challenges from Betty


slide-1
SLIDE 1

s

Technology for a better society

Using Adaptation Plans to Control the Behavior of Models@Runtime

Maksym Lushpenko, Nicolas Ferry, Hui Song, Franck Chauvel, Arnor Solberg SINTEF

Models@Runtime 2015

slide-2
SLIDE 2

s

Technology for a better society

Related to future challenges from Betty

  • Highler level adaptation
slide-3
SLIDE 3

s

Technology for a better society

The models@runtime pattern

  • Synchronization engine implicitly

define an adaptation plan

– Typically, this plan is derived from the analysis of the difference between the desired(new) and the current state of the system and a set of fixed rules (producing operations going from current to new)

  • Problem: Need for customization of

the adaptation plan.

Causal Link

Running System Reasoning Engine Environment Model

(of the running system)

read write

slide-4
SLIDE 4

s

Technology for a better society

Motivation and contribution

  • There are often alternative ways to enact these

adaptations

– Can significantly affect the effectiveness performance and the quality of service. – To avoid adaptations that are not possible for specific platforms/applications

  • Contribution

– a domain specific modelling language for the specification of adaptation plans and, – a runtime environment to manage the enactment of such adaptation plans.

slide-5
SLIDE 5

s

Technology for a better society

Example with CloudMF

  • Two main components:

– A modelling environment with a tool-supported domain-specific modelling language (CloudML) to model the provisioning and deployment of multi- cloud systems – A models@run-time environment for enacting the provisioning, deployment and adaptation of these systems. – Open source

  • www.cloudml.org
slide-6
SLIDE 6

s

Technology for a better society

Example, Deploying Storm

slide-7
SLIDE 7

s

Technology for a better society

Proposed approach

slide-8
SLIDE 8

s

Technology for a better society

Specifying Adaptation Plans

Conf

slide-9
SLIDE 9

s

Technology for a better society

Adaptation plan DSL

slide-10
SLIDE 10

s

Technology for a better society

Manipulating Adaptation Plans

  • Internal DSL
  • Runtime Visualization

Activity deploymentPlan = ActivityBuilder.getActivity(); ActivityInitialNode start = ActivityBuilder.controlStart(); Action provision = ActivityBuilder.actionNode("Provision",VM); ActivityFinalNode stop = ActivityBuilder.controlStop(); Fork fork = ActivityBuilder.forkNode(false); ActivityBuilder.connect(fork, provision, true);

slide-11
SLIDE 11

s

Technology for a better society

Runtime environment

Running System

Current Model

Adaptation Action Executor

Target Model Diff

(5)

Reasoning engine

Adaptation Plan Generator Plan Validator Plan Execution Engine

Adaptation Plan

Adaptation plan reasoner

slide-12
SLIDE 12

s

Technology for a better society

Demo – run time view of initial deployment

slide-13
SLIDE 13

s

Technology for a better society

Demo – run time view of Adaptation

slide-14
SLIDE 14

s

Technology for a better society

Discussion

  • Plan generator: Generate from the result of the diff an

adaptation plan. For now, domain (CloudML) dependent, and plan reasoner is application specific (e.g., Storm specific)

– At some point it needs to be, but probably room for generalisations/automation

  • Plan validator: Checks the correctness of the adaptation plan.

domain independent.

  • Execution engine: Workflow engine that navigates through the

plan, exploits reflection of component states. Domain independent

– Dynamic intervention of running adaptation plans?

  • Can make sense in the cloud domain, where adaptations can last long (in

some cases hours)

slide-15
SLIDE 15

s

Technology for a better society

Conclusion

  • A language to build adaptation plans
  • A runtime environment integrated within a

models@runtime engine to enact such adaptation plans

  • Future work

– Generalizing and applying our approach to other domains – Apply similar approach to larger part of the MAPE-K loop, providing frameworks for higher level adaptations.

slide-16
SLIDE 16

s

Technology for a better society

Thank you !

Contact: Arnor.solberg@sintef.no nicolas.ferry@sintef.no

16