Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

17
Dynamic SLAs Discussion Omer Rana , School of Computer Science, Cardiff

Transcript of Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Page 1: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Dynamic SLAs

Discussion

Omer Rana, School of Computer Science,

Cardiff

Page 2: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Requirements

• Limitations of a single agreement– Modifications since agreement was in place

• Cost of doing re-establishment– Not fully aware of operating environment

• Flexibility in describing Service Level Objectives– Not sure what to ask for (not fully aware of the

environment in which operating)

Page 3: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

What is a “Dynamic Agreement”

• Case 1: Static Agreement – Identify Service Description Terms,– Guarantee Terms, and – Service Level Objectives (SLOs)

• Case 2: Dynamic Agreement– Identify Service Description Terms,– Guarantee Terms: defined as ranges or as

functions– Service Level Objectives: defined as ranges

or as functions

Page 4: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

EU-Catnets

Page 5: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Cat-COVITE markets and Catallactic Agents for Query Services

Client

Resource Agent1

Resource Agent2

Resource Agent3

LRM1Resource1

LRM2Resource2

LRM3Resource3

LRM4Resource4

LRM5Resource5

Input Search Criteria

WS-Agreement message

Service MarketResource Market

Negotiation messages

Pass the Query Job

Negotiation messages

Query Job Service

BS Agent1

BS Agent2

BS Agent3

CatallacticAccess Point

Complex Service Agent

Cat-COVITE (MGS)

Query

Query Job Service

Query Job Service

Page 6: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Cat-COVITE for Data Mining Services

Page 7: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

SLA Compliance (WS-QoC)

Page 8: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

• SDS has two primarily functions: SLA activation and SLA termination.

SLA activation

SLA termination

Verify SLA Distribute SLO SLA

QoC Service

Receipt

SLA Deployment

Page 9: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

• MS is responsible for monitoring service invocations, detecting any violation of service level objectives and sending action guarantees to responsible parties.

• MS Architecture:

propagates the obligations between the Subcomponents and control the

interaction between them.

maintains run-time informationon the metrics that are part of the SLA.

Compares measured SLA parameters against the thresholds defined in theSLA and notify the Action Service..

Notifies the responsibleparties.

Monitoring Service

Page 10: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

• Its role is to update the QoC metrics associated with a set of services.

• For each QoS metric, the QoC service computes the difference between the predicted or suggested value, and the actual value delivered.

• We can therefore consider the SLA to be a set: SLA = {m1, ...,mk} of metrics that need to be satisfied.

Compute QoC

Receipt from SDS

Service Broker

QoC

Page 11: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

• The projected value mp is the value that the service consumer and provider have agreed upon, and is defined in the SLA.

• The actual value ma is the value that the service provider delivers, and is measured by the monitoring service

• In the context of an SLA, therefore, we can determine ∆M for the ith metric (1 < i < k) – leading to:

• This normalised value allows us to ensure that we can fairly compare (within some limited bound) different metrics.

• A positive value occurs when the actual value is less than the projected value, and vice versa.

Computing QoC

Page 12: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

• Not all metrics are likely to be of the same significance to a user.

• we can prioritize each metric – and therefore also the difference observed for that metric (between the actual and the predicted values).

• This leads us to the concept of a weighted (by !i) normalised difference for a given metric, hence:

Computing QoC … 2

Page 13: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

1. How can trust information be acquired based on interaction between service users and providers

2. How can trust information be used in the context of service composition (such as a workflow session)

SLA Usage

Page 14: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Rating the Reliability of a service (cont..).

► A service user rates service behaviour by examining the terms in the SLA with his observation during service execution.

► As users cannot monitor the service execution directly, users compute the estimated execution time test.

The Rating Phase (cont..)

∆t = tgen - test

Time Difference

Actual

Execution

Time

Estimated Time

Elements of a SLA

Page 15: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Rating the Reliability of a service.

► A user sends a service request to invoke a particular service.

The Rating Phase

Service Negotiate SLA

SLA

SLA establishedInvoking the service based on SLASLA Violation

►SLA violation implies that the service was not executed successfully.RMS

►The user sends feedback to the RMS. ►The feedback is one the following values: { -2, -1, 0, 1, 2}

Page 16: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Download Analysis

00.10.20.30.40.50.60.70.80.9

1

1 2 3 4 5 6 7

Service ID

Fra

ctio

n o

f su

cces

sfu

l d

ow

nlo

ads

Series1

Series2

Series 1:StandardDownload

Series 2:With TrustRating

Simulation:7 services2 clients100 downloads

One shotdownloads

Page 17: Dynamic SLAs Discussion Omer Rana, School of Computer Science, Cardiff.

Trust Values

0

0.2

0.4

0.6

0.8

1

1.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Time Slots

Tru

st V

alu

es

Series1

Time Slot = 1 minute interval