3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

35
3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management Dario Bruneo, Francesco Longo, Antonio Puliafito Dipartimento di Ingegneria DICIEAMA Università degli Studi di Messina Messina, Italy IEEE / IFIP International Conference on Network and Service Management (CNSM) - Nov 17-21 2014 - Rio de Janeiro (Brazil) Clarissa Cassales Marquezan, Florian Wessling, Andreas Metzger Paluno University of Duisburg-Essen Essen, Germany

Transcript of 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

Page 1: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and

Application Management

Dario Bruneo, Francesco Longo, Antonio Puliafito

Dipartimento di Ingegneria DICIEAMA Università degli Studi di Messina

Messina, Italy

IEEE / IFIP International Conference on Network and Service Management (CNSM) - Nov 17-21 2014 - Rio de Janeiro (Brazil)

Clarissa Cassales Marquezan, Florian Wessling, Andreas Metzger

PalunoUniversity of Duisburg-Essen

Essen, Germany

Page 2: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Outline

• Managing and monitoring Cloud environments

• Cloud layers

• Data collection and management

• The proposed 3-D monitoring model

• Context of Interest

• A WordPress-based quantitative analysis

2

Page 3: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Managing cloud environments

• Appropriate cloud management is essential in order to respect stringent SLAs in terms of:• quality of service• operational costs• availability/reliability

• Popular management actions include:

3

• multi-cloud resource management

• load balancing

• elasticity

• migration of virtual resources

• infrastructure resource management

Page 4: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Managing cloud environments (cont’d.)

• However, a cloud environment is a complex environment composed of many different entities and layers

4

Source: ThinkStock • these entities typically offer dedicated management actions that can be used to enable dynamic adaptation at runtime

• various management actions can be applied simultaneously

• this might negatively affect both cloud application QoS and cloud infrastructure performance!

Page 5: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud monitoring

• The decision on which management action(s) are appropriate for a given situation depends on monitoring and analysis support able to consider the complex dependencies between cloud entities and their management mechanisms

5

Application

Page 6: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud monitoring

• The decision on which management action(s) are appropriate for a given situation depends on monitoring and analysis support able to consider the complex dependencies between cloud entities and their management mechanisms

5

Application monitoring

Page 7: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud monitoring

• The decision on which management action(s) are appropriate for a given situation depends on monitoring and analysis support able to consider the complex dependencies between cloud entities and their management mechanisms

5

Application monitoring Infrastructure

monitoring

Page 8: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud monitoring

• The decision on which management action(s) are appropriate for a given situation depends on monitoring and analysis support able to consider the complex dependencies between cloud entities and their management mechanisms

5

Unified monitoring!!!

Page 9: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud layers

6

App 1App 2

Let’s have a look at the way Cloud applications are composed/deployed

Page 10: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud layers

6

App 1App 2

DBDB AS

AS LBAS

Let’s have a look at the way Cloud applications are composed/deployed• each application is composed by a

set of entities, such as servers and software components (e.g., web servers, database servers)

Page 11: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud layers

6

App 1App 2

DBDB AS

AS LBAS

VM

VMVM

VMVM

Let’s have a look at the way Cloud applications are composed/deployed• each application is composed by a

set of entities, such as servers and software components (e.g., web servers, database servers)

• such entities are deployed using single or multiple VMs

Page 12: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud layers

6

App 1App 2

DBDB AS

AS LBAS

VM

VMVM

VMVM

PMPM

PM

Let’s have a look at the way Cloud applications are composed/deployed• each application is composed by a

set of entities, such as servers and software components (e.g., web servers, database servers)

• such entities are deployed using single or multiple VMs

• VMs are allocated in different PMs according to provider-specific algorithms

Page 13: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud layers

6

App 1App 2

DBDB AS

AS LBAS

VM

VMVM

VMVM

PMPM

PM Physic

al

Laye

r

Virtualiz

ation

Laye

r

Applica

tion

Archite

cture

Laye

r

Applica

tion B

usine

ss

Logic

Laye

r

Let’s have a look at the way Cloud applications are composed/deployed• each application is composed by a

set of entities, such as servers and software components (e.g., web servers, database servers)

• such entities are deployed using single or multiple VMs

• VMs are allocated in different PMs according to provider-specific algorithms

Page 14: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Cloud layers

6

App 1App 2

DBDB AS

AS LBAS

VM

VMVM

VMVM

Mon

itorin

g Bu

s

PMPM

PM Physic

al

Laye

r

Virtualiz

ation

Laye

r

Applica

tion

Archite

cture

Laye

r

Applica

tion B

usine

ss

Logic

Laye

r

Let’s have a look at the way Cloud applications are composed/deployed• each application is composed by a

set of entities, such as servers and software components (e.g., web servers, database servers)

• such entities are deployed using single or multiple VMs

• VMs are allocated in different PMs according to provider-specific algorithms

Data coming from different layers have to be opportunely collected (e.g., integrated tools)

Page 15: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Data collection• How to integrate data coming from different layers?

7

Pollster 1libvirt

Pollster 2libvirt

Pollster nlibvirt

App Pollster

CW Probe

Plugin1

Plugin2

Pluginm

Internalmonitoring

tools DB

Externalmonitoring

tools DB

Ceilometer Compute

App

VM

AMQPqueue

Ceilometer Controller

AMQPqueue

DBdispatcher

CEPdispatcher

MongoDB

Page 16: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Data management

• Just the collection of data is not enough

• It is still necessary the definition of a monitoring model that can lead to

8

• successful data analyses • easy runtime detection of situations

where multiple management actions could be applied

Page 17: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

3-D Cloud monitoring model

• We propose using three dimensions to define a cloud monitoring model

to support an elaborated analysis of the measured information

• We assume:• entities can be monitored and their

measurements can be correlated• the existence of mappings among the entities across layers• the Monitoring as a Service model is used

9

Page 18: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

3-D Cloud monitoring model (cont’d.)

(1) the PM on top of which the metric was collected

(2) the application to which the metric is related

(3) the kind of metric and its corresponding cloud layer

10

Application Architecture

Monitoring Volume

PhysicalMachines

CloudMetrics

PLVL

AAL

ABLL

Applica

tions

Cloud EnvironmentMonitoring Volume

A specific metric within the space of the collected data can be identified by three different characteristics:

The Monitoring Volume can be sub-divided and reduced into monitoring sub-volumes

Page 19: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Monitoring slices• The space of the collected metrics can be cut through with the

use of planes to identify subsets of the space that are of interest for a given situation

11

Such a monitoring slice groups all the metrics in all the layers that are collected for application appi, on top of all the PMs that host virtual resources associated with appi.

Such a monitoring slice involves all the metrics in all the layers that are related to pmj

PhysicalMachines

CloudMetrics

appiMonitoringSlice

PLVL

AAL

ABLL

Applications

app i Physical

Machines

CloudMetrics

pmjMonitoringSlice

PLVL

AAL

ABLL

pmj

Applications

Page 20: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Monitoring slices (cont’d.)• We use the intersection among monitoring slices from different

planes to detect situations that will eventually lead to the activation of multiple management actions throughout the different cloud entities

12

PhysicalMachines

CloudMetrics

pmjMonitoringSlice

PLVL

AAL

ABLL

pmj

Applications

Page 21: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Monitoring slices (cont’d.)• We use the intersection among monitoring slices from different

planes to detect situations that will eventually lead to the activation of multiple management actions throughout the different cloud entities

12

appiMonitoringSlice

app i Physical

Machines

CloudMetrics

pmjMonitoringSlice

PLVL

AAL

ABLL

pmj

Applications

The intersection of the two slices (highlighted in red) represents the set of the metrics in the different cloud layers that are related to

application appi and measured in pmj

Page 22: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Monitoring slices (cont’d.)• We use the intersection among monitoring slices from different

planes to detect situations that will eventually lead to the activation of multiple management actions throughout the different cloud entities

12

appiMonitoringSlice

app i Physical

Machines

CloudMetrics

pmjMonitoringSlice

PLVL

AAL

ABLL

pmj

Applications

The intersection of the two slices (highlighted in red) represents the set of the metrics in the different cloud layers that are related to

application appi and measured in pmj

• not all the monitoring data in an intersection is relevant for the identification of such situations

• for this reason we introduce the concept of Context of Interest

Page 23: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Context of Interest

• A Context of Interest (CoI) is the simultaneous observation of metrics in the intersection of monitoring slices that are relevant for taking management actions in different layers of the cloud environment in response to dynamic changes inside such an environment

13

• this concept does not determine how information is collected in the cloud environment

• it rather establishes how such information will be analyzed

CPUMem…

Page 24: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Toward a complete formalism

• We proposed a complete formalism for the CoI concept (described in the paper)

• Goals:

• creating automatic configuration tools based on information models

• investigating the use of correlation techniques to automatically devise CoI

14

Definition 8 (Set of Metrics) The set of all metricsM is composed by all the metrics that can bemeasured in the cloud environment. M = {mk} wheremk 2 (MPL [ MV L [ MAAL [ MABLL), 1 k K, andK = P+Q+R+S.

Definition 9 (Cloud Monitoring Volume) Thecloud monitoring volume V = {(appi, pm j,mk)} (with|V | = |A |⇥ |P|⇥ |M |) is the Cartesian product of sets A ,P , and M indicating the space of information that can becollected in a cloud environment.

Fig. 2 graphically depicts V , also highlighting the subsetcorresponding to the Application Architecture Layer. Let usconsider a function f : V ⇥ T ! R[ {null} where T ✓ R+

is the set of time instants. Then, f (i, j,k, t) is the valueassociated with the metric mk related to the componentsof application appi deployed in the PM pm j, measured attime instant t. If the application appi does not have anycomponent actually deployed in pm j or the measure mk doesnot apply to the specific application, the null value is returned.

Definition 10 (Application Monitoring Slice) Anapplication monitoring slice SA is a plane {(app, pm j,mk)}in the cloud monitoring volume V obtained by consideringall the points in the volume associated to a specific app 2A .

Definition 11 (Physical Machine Monitoring Slice)A physical machine monitoring slice SPM is a plane{(appi, pm,mk)} in the cloud monitoring volume V obtainedby considering all the points in the volume associated to aspecific pm 2 P .

Fig. 3 graphically depicts two monitoring slices. Theintersection between the application monitoring sliceassociated to appi and the physical machine monitoring sliceassociated to pm j is represented by a dashed line.

Definition 12 (Observing Data Set) An observingdata set O over a subset of metrics Mo ✓ M is a subset{(app, pm,mo)} (with mo 2Mo) of the monitoring volume Vobtained by properly selecting the points in the intersectionbetween a physical machine monitoring slice SPM (associatedto a physical machine pm) and an application monitoringslice SA (associated to an application app) that correspondto metrics in Mo.

From a practical point of view, an observing data set canbe used to select a certain number of metrics of interestfor the components of a specific application deployed on acertain PM. In Fig. 3, an example of an observing data set ishighlighted in red.

Definition 13 (Application Cut Set) An applicationcut set CA is a set of application monitoring slices (with1 |CA| |A |).

Definition 14 (Physical Machine Cut Set) A physicalmachine cut set CPM is a set of physical machine monitoringslices (with 1 |CPM| |P|).

Definition 15 (Application Context of Interest) An appli-cation context of interest CoIA is a set of observing data sets

{Oz} obtained from the intersection between the applicationmonitoring slice SA related to application app and a physicalmachine cut set CPM , with 1 z |CPM| satisfying thefollowing constraints:

9 c0 = (app, pm0,m0), c00 = (app, pm00,m00) 2CoIA :c0 2 Oz0 ,c00 2 Oz00 , z0 6= z00 ORlayer(m0) 6= layer(m00)

where the function layer returns the metric set correspondingto a metric m. The constraints guarantee that there willexist at least 2 metrics associated with the same applicationthat belong either to different PMs or layers of the cloudenvironment. This is necessary to characterize situationswhere management actions for the same application can becoordinated. Being these actions either in entities hosted indifferent physical machines or in different layers of the cloudenvironment but all associated with the same application.

Definition 16 (Physical Machine Context of Interest) Aphysical machine context of interest CoIPM is a set of observ-ing data sets {Oz} obtained from the intersection between thephysical machine monitoring slice SPM related to the physicalmachine pm and an application cut set CA, with 1 z |CA|satisfying the following constraints:

9 c0 = (app0, pm,m0), c00 = (app0, pm,m00) 2CoIPM :c0 2 Oz0 ,c00 2 Oz00 , z0 6= z00 ORlayer(m0) 6= layer(m00).

The constraints, in this case, guarantee that there will exist atleast 2 metrics associated with the same PM that belong eitherto different applications or layers of the cloud environment.The objective of these constraints is to characterize situationsto coordinate management actions inside the same physicalmachine that affect either different applications or entities indifferent layers of the cloud for the specific physical machine.

Definition 17 (Context of Interest) A context of interestCoI is either an application context of interest or a physicalmachine context of interest. Multiple CoIs can be definedfor the same cloud monitoring volume. In addition, the sametype of metric can appear in one or more CoIs.

In a cloud environment, the main role played by distinctCoIs is to support the detecting of specific situations leadingto multiple management actions. In the next section, we usethe WordPress application to provide concrete examples ofhow CoIs and management actions are related to each other.

B. Context of Interest and Management Actions

The goal of using the CoIs is to define the set of metrics thatexpose situations in which multiple management actions wouldbe applicable, but not all of them should be actually enforced.This is because either one of the management actions is notthe most appropriate for the situation or because all of themapplied together will only reinforce the problem experiencedby the application. In this section, we describe how CoIs can

Definition 8 (Set of Metrics) The set of all metricsM is composed by all the metrics that can bemeasured in the cloud environment. M = {mk} wheremk 2 (MPL [ MV L [ MAAL [ MABLL), 1 k K, andK = P+Q+R+S.

Definition 9 (Cloud Monitoring Volume) Thecloud monitoring volume V = {(appi, pm j,mk)} (with|V | = |A |⇥ |P|⇥ |M |) is the Cartesian product of sets A ,P , and M indicating the space of information that can becollected in a cloud environment.

Fig. 2 graphically depicts V , also highlighting the subsetcorresponding to the Application Architecture Layer. Let usconsider a function f : V ⇥ T ! R[ {null} where T ✓ R+

is the set of time instants. Then, f (i, j,k, t) is the valueassociated with the metric mk related to the componentsof application appi deployed in the PM pm j, measured attime instant t. If the application appi does not have anycomponent actually deployed in pm j or the measure mk doesnot apply to the specific application, the null value is returned.

Definition 10 (Application Monitoring Slice) Anapplication monitoring slice SA is a plane {(app, pm j,mk)}in the cloud monitoring volume V obtained by consideringall the points in the volume associated to a specific app 2A .

Definition 11 (Physical Machine Monitoring Slice)A physical machine monitoring slice SPM is a plane{(appi, pm,mk)} in the cloud monitoring volume V obtainedby considering all the points in the volume associated to aspecific pm 2 P .

Fig. 3 graphically depicts two monitoring slices. Theintersection between the application monitoring sliceassociated to appi and the physical machine monitoring sliceassociated to pm j is represented by a dashed line.

Definition 12 (Observing Data Set) An observingdata set O over a subset of metrics Mo ✓ M is a subset{(app, pm,mo)} (with mo 2Mo) of the monitoring volume Vobtained by properly selecting the points in the intersectionbetween a physical machine monitoring slice SPM (associatedto a physical machine pm) and an application monitoringslice SA (associated to an application app) that correspondto metrics in Mo.

From a practical point of view, an observing data set canbe used to select a certain number of metrics of interestfor the components of a specific application deployed on acertain PM. In Fig. 3, an example of an observing data set ishighlighted in red.

Definition 13 (Application Cut Set) An applicationcut set CA is a set of application monitoring slices (with1 |CA| |A |).

Definition 14 (Physical Machine Cut Set) A physicalmachine cut set CPM is a set of physical machine monitoringslices (with 1 |CPM| |P|).

Definition 15 (Application Context of Interest) An appli-cation context of interest CoIA is a set of observing data sets

{Oz} obtained from the intersection between the applicationmonitoring slice SA related to application app and a physicalmachine cut set CPM , with 1 z |CPM| satisfying thefollowing constraints:

9 c0 = (app, pm0,m0), c00 = (app, pm00,m00) 2CoIA :c0 2 Oz0 ,c00 2 Oz00 , z0 6= z00 ORlayer(m0) 6= layer(m00)

where the function layer returns the metric set correspondingto a metric m. The constraints guarantee that there willexist at least 2 metrics associated with the same applicationthat belong either to different PMs or layers of the cloudenvironment. This is necessary to characterize situationswhere management actions for the same application can becoordinated. Being these actions either in entities hosted indifferent physical machines or in different layers of the cloudenvironment but all associated with the same application.

Definition 16 (Physical Machine Context of Interest) Aphysical machine context of interest CoIPM is a set of observ-ing data sets {Oz} obtained from the intersection between thephysical machine monitoring slice SPM related to the physicalmachine pm and an application cut set CA, with 1 z |CA|satisfying the following constraints:

9 c0 = (app0, pm,m0), c00 = (app0, pm,m00) 2CoIPM :c0 2 Oz0 ,c00 2 Oz00 , z0 6= z00 ORlayer(m0) 6= layer(m00).

The constraints, in this case, guarantee that there will exist atleast 2 metrics associated with the same PM that belong eitherto different applications or layers of the cloud environment.The objective of these constraints is to characterize situationsto coordinate management actions inside the same physicalmachine that affect either different applications or entities indifferent layers of the cloud for the specific physical machine.

Definition 17 (Context of Interest) A context of interestCoI is either an application context of interest or a physicalmachine context of interest. Multiple CoIs can be definedfor the same cloud monitoring volume. In addition, the sametype of metric can appear in one or more CoIs.

In a cloud environment, the main role played by distinctCoIs is to support the detecting of specific situations leadingto multiple management actions. In the next section, we usethe WordPress application to provide concrete examples ofhow CoIs and management actions are related to each other.

B. Context of Interest and Management Actions

The goal of using the CoIs is to define the set of metrics thatexpose situations in which multiple management actions wouldbe applicable, but not all of them should be actually enforced.This is because either one of the management actions is notthe most appropriate for the situation or because all of themapplied together will only reinforce the problem experiencedby the application. In this section, we describe how CoIs can

Page 25: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

• The goal of using the CoI is to define the set of metrics that expose situations in which multiple management actions would be applicable

Management Actions

15

TABLE IEXAMPLE OF A CoI FOR THE WORDPRESS APPLICATION.

Layer Tuple DescriptionMPL (app1, pm2, plm cpu) Physical CPU UsageMPL (app1, pm2, plm mem) Physical Memory UsageMV L (app1, pm2,vlm cpu) Virtual CPU UsageMV L (app1, pm2,vlm mem) Virtual Memory UsageMAAL (app1, pm2,aalm mysql conn) MySQL Num. of ConnectionsMAAL (app1, pm2,aalm wb pages) Apache Pages per SecondMABLL (app1, pm2,abllm wb perrors) WordPress Pages ErrorsMABLL (app1, pm2,abllm response) WordPress Response Time

be used for the WordPress application in a cloud environment.WordPress is a CMS (Content Management System) for per-sonal blogs and Web sites. It allows a simple creation of postsand pages together with a simple comment management. TheWordPress system architecture is composed of the Apache2Web server, the MySQL DBMS, the Memchached tool, andthe code implementing the functionalities of the CMS itself.Different cloud deployment configurations can be used for thisapplication. We assume the simplest deployment alternativewhere all components of the WordPress application are de-ployed inside the same VM. Using the model proposed in[9], we first identify the possible changes that can be sufferedby the entities in the cloud environment hosting this specificdeployment of the WordPress Application (as illustrated inFig 5): (1) increase virtual resources; (2) request a new VMand move some components of the application to the new VM;(3) change the Apache Web server configuration; (4) changethe MySQL DBMS configuration.

The above listed management actions can be activatedindependently of each other and eventually simultaneously ifno mechanism is used to coordinate their activation. In thisWordPress example, suppose we want to identify the man-agement actions to be taken before appealing to auto-scaling,which typically implies some kind of cost either in monetaryor availability terms. Then, we define a CoI for this applicationas illustrated in Table I. The CoI in this table is the physicalmachine CoIPM for the machine depicted in Fig. 5. The goal ofthis example is to identify which management actions can beactivated in respect to application app1 in different entities ofthe cloud layers related to this application when these metricsare observed together. Then, the next step is to define rulesupon the metrics of a CoI that determine when each of theidentified management actions can be applied, as illustrated inFig. 4. The joint observation of the metrics in the CoI leadsto the identification of different management actions. For now,the analysis of the actions is a simple hierarchy of managementactions denoted by if-then-else. However, these actionscould be ranked according to the cost of their enforcement,and this is planned to be developed as future work.

The CoI and the management actions presented in this paperstill require the human intervention for their configuration.However we intent to create automatic configuration toolsbased on information models [9]; and investigate the use ofcorrelation techniques to automatically devise CoI.

if ((abllm_response is high)

AND (aalm_mysql_conn is high)

AND (abllm_wb_perrors is high)

AND (aalm_wb_pages is low)

AND (vlm_cpu is high)

AND (vlm_mem is high))

then

Apply management action (4)

...

if ((aalm_mysql_conn is high)

AND (abllm_wb_perrors is low)

AND (vlm_cpu is high)

AND (vlm_mem is high))

then

Apply management action (1)

Fig. 4. Using CoI for specification of management action rules.

V. EXPERIMENTS

In this section, we present the experimental results on ana-lyzing cloud monitoring information using the 3-D monitoringmodel and the CoI concept introduced in this paper. The aimis to have a simple testbed where we show the data complexityand the necessity to correctly interpret information monitoredfrom all the cloud layers. Our goal is to demonstrate that byusing CoIs it is possible to identify and choose more effectivemanagement actions. To achieve this goal, we make use of theWordpress application case study described in the previoussection. We introduce three experiments for the same casestudy. In the first no management action is activated. Thesecond one considers the activation of auto-scaling policies.The third one uses the CoI depicted in Table I and themanagement rules in Fig. 4. The experiments show how theseactions behave for the given scenario and demonstrate theeffectiveness of our proposed approach. In Section V-A, wedescribe a real testbed and how it emulates the deployment ofthe WordPress application in a cloud environment. Section V-Bpresents the details about the synthetic load generated tostress the WordPress application. Section V-C discusses thenumerical results observed during the experiments.

A. Testbed arrangementFig. 5 shows the testbed arrangement. We exploited three

PMs. Two of them (PM1 and PM3) are IBM LS21 bladeservers, while the third one (PM2) is an IBM X3630 M3storage servers. The corresponding hardware configurationsare shown in Fig. 5. On all the PMs, we installed the ScientificLinux 6.5 distribution. On PM1, we installed an OpenStackcontroller node with Keystone, Glance, Nova (but withoutNova-Compute), and Horizon services. On PM2, the Nova-Compute service was installed in order to be able to instantiateVMs on top of it. We deployed a single VM (VM1) onPM2 where we host all the components of the WordPressapplication. In VM1, we installed the Apache2 Web server,the MySQL DBMS, the Memchached tool, and WordPress.In commercial clouds, a database service is usually purchasedwith a limited number of supported concurrent connections.For example, Amazon Relational Database Service (Amazon

TABLE IEXAMPLE OF A CoI FOR THE WORDPRESS APPLICATION.

Layer Tuple DescriptionMPL (app1, pm2, plm cpu) Physical CPU UsageMPL (app1, pm2, plm mem) Physical Memory UsageMV L (app1, pm2,vlm cpu) Virtual CPU UsageMV L (app1, pm2,vlm mem) Virtual Memory UsageMAAL (app1, pm2,aalm mysql conn) MySQL Num. of ConnectionsMAAL (app1, pm2,aalm wb pages) Apache Pages per SecondMABLL (app1, pm2,abllm wb perrors) WordPress Pages ErrorsMABLL (app1, pm2,abllm response) WordPress Response Time

be used for the WordPress application in a cloud environment.WordPress is a CMS (Content Management System) for per-sonal blogs and Web sites. It allows a simple creation of postsand pages together with a simple comment management. TheWordPress system architecture is composed of the Apache2Web server, the MySQL DBMS, the Memchached tool, andthe code implementing the functionalities of the CMS itself.Different cloud deployment configurations can be used for thisapplication. We assume the simplest deployment alternativewhere all components of the WordPress application are de-ployed inside the same VM. Using the model proposed in[9], we first identify the possible changes that can be sufferedby the entities in the cloud environment hosting this specificdeployment of the WordPress Application (as illustrated inFig 5): (1) increase virtual resources; (2) request a new VMand move some components of the application to the new VM;(3) change the Apache Web server configuration; (4) changethe MySQL DBMS configuration.

The above listed management actions can be activatedindependently of each other and eventually simultaneously ifno mechanism is used to coordinate their activation. In thisWordPress example, suppose we want to identify the man-agement actions to be taken before appealing to auto-scaling,which typically implies some kind of cost either in monetaryor availability terms. Then, we define a CoI for this applicationas illustrated in Table I. The CoI in this table is the physicalmachine CoIPM for the machine depicted in Fig. 5. The goal ofthis example is to identify which management actions can beactivated in respect to application app1 in different entities ofthe cloud layers related to this application when these metricsare observed together. Then, the next step is to define rulesupon the metrics of a CoI that determine when each of theidentified management actions can be applied, as illustrated inFig. 4. The joint observation of the metrics in the CoI leadsto the identification of different management actions. For now,the analysis of the actions is a simple hierarchy of managementactions denoted by if-then-else. However, these actionscould be ranked according to the cost of their enforcement,and this is planned to be developed as future work.

The CoI and the management actions presented in this paperstill require the human intervention for their configuration.However we intent to create automatic configuration toolsbased on information models [9]; and investigate the use ofcorrelation techniques to automatically devise CoI.

if ((abllm_response is high)

AND (aalm_mysql_conn is high)

AND (abllm_wb_perrors is high)

AND (aalm_wb_pages is low)

AND (vlm_cpu is high)

AND (vlm_mem is high))

then

Apply management action (4)

...

if ((aalm_mysql_conn is high)

AND (abllm_wb_perrors is low)

AND (vlm_cpu is high)

AND (vlm_mem is high))

then

Apply management action (1)

Fig. 4. Using CoI for specification of management action rules.

V. EXPERIMENTS

In this section, we present the experimental results on ana-lyzing cloud monitoring information using the 3-D monitoringmodel and the CoI concept introduced in this paper. The aimis to have a simple testbed where we show the data complexityand the necessity to correctly interpret information monitoredfrom all the cloud layers. Our goal is to demonstrate that byusing CoIs it is possible to identify and choose more effectivemanagement actions. To achieve this goal, we make use of theWordpress application case study described in the previoussection. We introduce three experiments for the same casestudy. In the first no management action is activated. Thesecond one considers the activation of auto-scaling policies.The third one uses the CoI depicted in Table I and themanagement rules in Fig. 4. The experiments show how theseactions behave for the given scenario and demonstrate theeffectiveness of our proposed approach. In Section V-A, wedescribe a real testbed and how it emulates the deployment ofthe WordPress application in a cloud environment. Section V-Bpresents the details about the synthetic load generated tostress the WordPress application. Section V-C discusses thenumerical results observed during the experiments.

A. Testbed arrangementFig. 5 shows the testbed arrangement. We exploited three

PMs. Two of them (PM1 and PM3) are IBM LS21 bladeservers, while the third one (PM2) is an IBM X3630 M3storage servers. The corresponding hardware configurationsare shown in Fig. 5. On all the PMs, we installed the ScientificLinux 6.5 distribution. On PM1, we installed an OpenStackcontroller node with Keystone, Glance, Nova (but withoutNova-Compute), and Horizon services. On PM2, the Nova-Compute service was installed in order to be able to instantiateVMs on top of it. We deployed a single VM (VM1) onPM2 where we host all the components of the WordPressapplication. In VM1, we installed the Apache2 Web server,the MySQL DBMS, the Memchached tool, and WordPress.In commercial clouds, a database service is usually purchasedwith a limited number of supported concurrent connections.For example, Amazon Relational Database Service (Amazon

not all the actions should be actually enforced

• one is not the most appropriate for the situation

• all of them applied together will only reinforce the problem experienced by the application

Page 26: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

The WordPress case study• WordPress is a CMS (Content Management System) for

personal blogs and Web sites

• It allows a simple creation of posts and pages together with a simple comment management

16

• The WordPress system architecture is composed of

• the Apache2 Web server• the MySQL DBMS• the Memchached tool• the code implementing the functionalities of the

CMS itself

Page 27: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Synthetic traffic generation

• The load on the WordPress Web site is synthetically generated using the Apache Jmeter tool

• It allows to record the actions executed by users when interacting with the Web site

• These actions are saved in terms of the HTTP requests the users performed and then Jmeter reproduces such requests according to a certain traffic pattern

17

Page 28: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Synthetic traffic generation (cont’d.)• We consider five categories of users, who perform a different

set of operations in a specific order.

• The users continuously perform their set of actions waiting for a random time between one set and the next one

• We defined three different scenarios (low, medium, and high) in order to stress the system

• For each scenario, we change the number of users in each category that are concurrently performing a set of operations in the WordPress Web site

18

RDS) provides predefined database instances with differentmaximum number of concurrent connections, e.g., t1.micro(with 34 connections at most), or m1.small (with 150 connec-tions at most). Therefore, we initially configured the MySQLDBMS to support a maximum of 50 concurrent connections.On PM3, we installed the Apache Jmeter tool that emulatesclients of the WordPress application as discussed in the nextsection. Software configurations and versions are also depictedin Fig. 5. Finally, we installed a set of monitoring tools. Weexploited: Nagios for retrieving data from the Physical layer(CPU and memory). Havana OpenStack Ceilometer to collectinformation from the virtualization layer (vitual CPU andmemory consumption). AWStats and MyCheckPoint extractdata from the Application Architecture layer, respectively,collecting the number of pages per second provided by theApache Web server and the number of concurrent connectionsat the MySQL DBMS. Finally, at the Application BusinessLogic layer, Apache Jmeter analysis plug-ins collects thepercentage of errors experienced by users while accessing theWordPress Web site and the response time of each user action.

● 6 VCPU

● 16 GB Memory

● 20 GB virtual storage

● Scientific Linux 6.5

● Apache2 with php5 and

php-pecl-memcached plugin

● MySql-Server 5.1.73

● Memcached 1.1.4

● Wordpress 3.8.1

● Wordpress plugins:

○ Advanced Random Posts Widget 1.51

○ Configure Login Timeout 1.0

○ Disable Check Comment Flood 1.0

○ Memcached Object Cache 2.0.2

● CPU: 2 x Dual-Core AMD Opteron 2218

HE @ 2.8 GHz (2 cores each)

● RAM: 8 GB

● Storage: 73 GB SATA disk

● Scientific Linux 6.5

● Openstack (Havana)

● CPU: Intel Xeon E5506 @ 2.13 GHz (8 cores each)

● RAM: 36 GB● Storage: 6 x 500 GB SATA disks● Scientific Linux 6.5 ● Openstack (Havana)

MySql

Memcache

Apache

WordPress

OpenStack

controller

OpenStack

compute

Cloud Environment Client Side

Jmeter

PM1 PM2 PM3

● Jmeter 2.11

VM1

Key

Ceilometer

(Havana)

Nagios (3.5.1)

AWStats (7.3.1)

Jmeter (2.11)

analysis plugin

Mycheckpoint

(231-1)

Fig. 5. Testbed arrangement with PMs, VMs, hardware/software configura-tion, and monitoring tools.

B. Synthetic traffic generation

During the experimentation, the load on the WordPressWeb site is synthetically generated using the Apache Jmetertool. It allows to record the actions executed by users wheninteracting with the Web site. These actions are saved in termsof the HTTP requests the users performed and then Jmeterreproduces such requests according to a certain traffic pattern.To reproduce such a pattern, we generated the synthetic trafficaccording to Table II. We consider five categories of users,who perform a different set of operations in a specific order.The users continuously perform their set of actions waiting for

a random time between one set and the next one. We definedthree different scenarios (low, medium, and high) in order tostress the system. For each scenario, we change the numberof users in each category that are concurrently performing aset of operations in the WordPress Web site.

TABLE IICATEGORIES OF USERS AND POPULATION CHARACTERIZATION FOR EACH

OF THE THREE SCENARIOS DESCRIBED IN EACH COLUMN.

User Type and Description Low Load Medium Load High LoadAdmin creating new post 1 1 1Guest reading latest post 1 15 30Guest reading random post 1 15 30Guest reading latest post 1 15 30and leaving a commentGuest reading random post 1 15 30and leaving a comment

C. Experimentation

We conducted the experimentation by running each scenariofor 30 minutes on the testbed (Fig. 5) and collected from themonitoring tools all the metrics specified in the CoI for theWordPress application, as illustrated in Table I. In this experi-ment we are interested in the Physical Machine MonitoringSlice for PM2. There is one main reason for this choice:all the components for the WordPress application and theirrespective monitoring information are deployed only on thismachine. In a more complex scenario, where the applicationis using multiple VM, we could focus, for instance, on theApplication Monitoring Slice for the WordPress application.This would give us all the monitoring metrics associated withthis application throughout all the machines where it is hosted.Figs. 6(a), 6(b), and 6(c) show the monitored informationobserved for the WordPress application CoI. In all thesefigures, the first 30 minutes of experimentation from 00:00 to00:30 represent the low load scenario; the interval from 00:30to 01:00 depicts the medium load scenario; and the high loadscenario corresponds to the interval from 01:00 to 01:30.

Fig. 6(a) corresponds to the initial deployment of the Word-Press application: 6 CPUs are assigned to the VM1, and themaximum number of concurrent connections in the MySQLDBMS is 50. In this case, there is no CoI and managementrules configured. In Fig. 6(a), we observe that during thelow and medium load scenarios the users experience a goodquality of service (with response time below 500 ms) and noerrors are present. However, during the high load scenario, thesystem is overloaded and both the number of errors and theresponse time increase considerably. Without using the modelsproposed in this paper, the administrator of the WordPressWeb site would have to look in different monitoring graphics(not necessarily clustered together) and manually relate theinformation to determine the best management action.

A natural reaction to the situation illustrated Fig. 6(a)would be the activation of traditional auto-scaling policies.This means that typically the metrics from Physical andVirtualization layers would be observed in order to activate the

Page 29: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Testbed arrangement

• Different cloud deployment configurations can be used for this application

• We assume the simplest deployment alternative where all components of the WordPress application are deployed inside the same VM

19

! 6 VCPU! 16 GB Memory! 20 GB virtual storage! Scientific Linux 6.5 ! Apache2 with php5 and

php-pecl-memcached plugin! MySql-Server 5.1.73! Memcached 1.1.4! Wordpress 3.8.1! Wordpress plugins: ○ Advanced Random Posts Widget 1.51

○ Configure Login Timeout 1.0○ Disable Check Comment Flood 1.0○ Memcached Object Cache 2.0.2

! CPU: 2 x Dual-Core AMD Opteron 2218 HE @ 2.8 GHz (2 cores each)

! RAM: 8 GB! Storage: 73 GB SATA disk! Scientific Linux 6.5 ! Openstack (Havana)

● CPU: Intel Xeon E5506 @ 2.13 GHz (8 cores each)

● RAM: 36 GB! Storage: 6 x 500 GB SATA disks● Scientific Linux 6.5 ● Openstack (Havana)

MySql

Memcached

Apache

WordPress

OpenStack controller

OpenStack compute

Cloud Environment Client Side

Jmeter

PM1 PM2 PM3

● Jmeter 2.11

VM1

Key

Ceilometer(Havana)

Nagios (3.5.1)

AWStats (7.3.1)

Jmeter (2.11)analysis plugin

Mycheckpoint (231-1)

Page 30: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Testbed arrangement (cont’d.)

• We first identify the possible changes that can be suffered by the entities in the cloud environment hosting this specific deployment of the WordPress Application • increase virtual resources• request a new VM and move some components of the application to the new VM• change the Apache Web server configuration• change the MySQL DBMS configuration

20

TABLE IEXAMPLE OF A CoI FOR THE WORDPRESS APPLICATION.

Layer Tuple DescriptionMPL (app1, pm2, plm cpu) Physical CPU UsageMPL (app1, pm2, plm mem) Physical Memory UsageMV L (app1, pm2,vlm cpu) Virtual CPU UsageMV L (app1, pm2,vlm mem) Virtual Memory UsageMAAL (app1, pm2,aalm mysql conn) MySQL Num. of ConnectionsMAAL (app1, pm2,aalm wb pages) Apache Pages per SecondMABLL (app1, pm2,abllm wb perrors) WordPress Pages ErrorsMABLL (app1, pm2,abllm response) WordPress Response Time

be used for the WordPress application in a cloud environment.WordPress is a CMS (Content Management System) for per-sonal blogs and Web sites. It allows a simple creation of postsand pages together with a simple comment management. TheWordPress system architecture is composed of the Apache2Web server, the MySQL DBMS, the Memchached tool, andthe code implementing the functionalities of the CMS itself.Different cloud deployment configurations can be used for thisapplication. We assume the simplest deployment alternativewhere all components of the WordPress application are de-ployed inside the same VM. Using the model proposed in[9], we first identify the possible changes that can be sufferedby the entities in the cloud environment hosting this specificdeployment of the WordPress Application (as illustrated inFig 5): (1) increase virtual resources; (2) request a new VMand move some components of the application to the new VM;(3) change the Apache Web server configuration; (4) changethe MySQL DBMS configuration.

The above listed management actions can be activatedindependently of each other and eventually simultaneously ifno mechanism is used to coordinate their activation. In thisWordPress example, suppose we want to identify the man-agement actions to be taken before appealing to auto-scaling,which typically implies some kind of cost either in monetaryor availability terms. Then, we define a CoI for this applicationas illustrated in Table I. The CoI in this table is the physicalmachine CoIPM for the machine depicted in Fig. 5. The goal ofthis example is to identify which management actions can beactivated in respect to application app1 in different entities ofthe cloud layers related to this application when these metricsare observed together. Then, the next step is to define rulesupon the metrics of a CoI that determine when each of theidentified management actions can be applied, as illustrated inFig. 4. The joint observation of the metrics in the CoI leadsto the identification of different management actions. For now,the analysis of the actions is a simple hierarchy of managementactions denoted by if-then-else. However, these actionscould be ranked according to the cost of their enforcement,and this is planned to be developed as future work.

The CoI and the management actions presented in this paperstill require the human intervention for their configuration.However we intent to create automatic configuration toolsbased on information models [9]; and investigate the use ofcorrelation techniques to automatically devise CoI.

if ((abllm_response is high)

AND (aalm_mysql_conn is high)

AND (abllm_wb_perrors is high)

AND (aalm_wb_pages is low)

AND (vlm_cpu is high)

AND (vlm_mem is high))

then

Apply management action (4)

...

if ((aalm_mysql_conn is high)

AND (abllm_wb_perrors is low)

AND (vlm_cpu is high)

AND (vlm_mem is high))

then

Apply management action (1)

Fig. 4. Using CoI for specification of management action rules.

V. EXPERIMENTS

In this section, we present the experimental results on ana-lyzing cloud monitoring information using the 3-D monitoringmodel and the CoI concept introduced in this paper. The aimis to have a simple testbed where we show the data complexityand the necessity to correctly interpret information monitoredfrom all the cloud layers. Our goal is to demonstrate that byusing CoIs it is possible to identify and choose more effectivemanagement actions. To achieve this goal, we make use of theWordpress application case study described in the previoussection. We introduce three experiments for the same casestudy. In the first no management action is activated. Thesecond one considers the activation of auto-scaling policies.The third one uses the CoI depicted in Table I and themanagement rules in Fig. 4. The experiments show how theseactions behave for the given scenario and demonstrate theeffectiveness of our proposed approach. In Section V-A, wedescribe a real testbed and how it emulates the deployment ofthe WordPress application in a cloud environment. Section V-Bpresents the details about the synthetic load generated tostress the WordPress application. Section V-C discusses thenumerical results observed during the experiments.

A. Testbed arrangementFig. 5 shows the testbed arrangement. We exploited three

PMs. Two of them (PM1 and PM3) are IBM LS21 bladeservers, while the third one (PM2) is an IBM X3630 M3storage servers. The corresponding hardware configurationsare shown in Fig. 5. On all the PMs, we installed the ScientificLinux 6.5 distribution. On PM1, we installed an OpenStackcontroller node with Keystone, Glance, Nova (but withoutNova-Compute), and Horizon services. On PM2, the Nova-Compute service was installed in order to be able to instantiateVMs on top of it. We deployed a single VM (VM1) onPM2 where we host all the components of the WordPressapplication. In VM1, we installed the Apache2 Web server,the MySQL DBMS, the Memchached tool, and WordPress.In commercial clouds, a database service is usually purchasedwith a limited number of supported concurrent connections.For example, Amazon Relational Database Service (Amazon

CoI

Page 31: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Results

• Baseline configuration

• during the high load scenario, the system is overloaded and both the number of errors and the response time increase considerably

• typically the metrics from Physical and Virtualization layers would be observed in order to activate the management action

• A natural reaction to such a situation would be the activation of traditional auto-scaling policies

21

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

CPU %

Time [h:m]

PMVM

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30Me

m (use

d) %

Time [h:m]

PMVM

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

MySq

l conne

ctions

(#)

Time [h:m]

0

10

20

30

40

50

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

Apach

e page

s/sec

Time [h:m]

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

WP er

rors %

Time [h:m]

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

Respo

nse tim

e (sec

)

Time [h:m]

low medium high

Clo

ud la

yers

Load intensity

Page 32: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Results

22

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

CPU %

Time [h:m]

PMVM

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30Me

m (use

d) %

Time [h:m]

PMVM

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

MySq

l conne

ctions

(#)

Time [h:m]

0

10

20

30

40

50

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

Apach

e page

s/sec

Time [h:m]

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

WP er

rors %

Time [h:m]

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

Respo

nse tim

e (sec

)

Time [h:m]

low medium high

• # Virtual CPUs: 6 ➜ 8

• there are no significant improvements in terms of quality of service

• this experiment demonstrates that the management action consisting of increasing the number of virtual CPUs associated with VM1 does not solve the situation

• the knowledge of information coming from different layers allows for a different management action to be considered as a possible solution to the overload situation

Page 33: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Results

23

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

CPU %

Time [h:m]

PMVM

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30Me

m (use

d) %

Time [h:m]

PMVM

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

MySq

l conne

ctions

(#)

Time [h:m]

0

10

20

30

40

50

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

Apach

e page

s/sec

Time [h:m]

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

WP er

rors %

Time [h:m]

0

20

40

60

80

100

00:00 00:10 00:20 00:30 00:40 00:50 01:00 01:10 01:20 01:30

Respo

nse tim

e (sec

)

Time [h:m]

low medium high

• maximum MySQL concurrent connections: 50 ➜ 100

• the actual problem is related to the maximum number of concurrent connections at the MySQL DBMS

• the quality of service experienced by the users has been greatly improved and the errors have been eliminated

• such a management action has the additional advantage of not influencing other applications in other VMs on top of the same PM

Page 34: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

Summary

• We proposed a new 3-D monitoring model by formalizing the innovative concept of CoI• to analyze the huge quantity of cloud monitoring information and to identify situations

in which multiple adaptations are possible, coordinating them and selecting the most appropriate

• Future work will deal with: • automation of the deployment of the monitoring tools based on the CoI (e.g., using

OpenStack Heat) • formalization of the adaptation actions and their relationship with the 3-D

monitoring model and with the concept of CoI (Situation of Interest)• implementation of more complex scenarios with multiple VMs, PMs, and

applications in order to demonstrate the advantages of our approach in a more realistic context

24

Page 35: 3-D Cloud Monitoring: Enabling Effective Cloud Infrastructure and Application Management (CNSM 2014)

IEEE / IFIP CNSM’14 - Nov 17-21 2014 - Rio de Janeiro (Brazil) Dario Bruneo

/25

thank you!

Dario Bruneo [email protected]

Dipartimento di Ingegneria DICIEAMA Università degli Studi di Messina

Messina, Italy25

http://www.cloudwave-fp7.euhttp://mdslab.unime.it

“Monitoring in a Cloud environment” free webinar

26 November 2014, 12.00 – 13.00 CET

http://bit.ly/ZVFyV1