SlideShare une entreprise Scribd logo
1  sur  31
A Practical Approach to Easily Monitoring andA Practical Approach to Easily Monitoring and
Managing IaaS EnvironmentsManaging IaaS Environments
07.07.2013 – MoCS '13
CIRI-ICT, Università di Bologna
Viale Risorgimento, 2 - 40136 Bologna Italy
Paolo Bellavista
Carlo Giannelli
Massimiliano Mattetti
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Center for Industrial Research on ICT of the
University of Bologna
Main goals:
– promoting the technology transfer between the University
and regional Small/Medium Enterprises (SMEs)
– coordinating and developing industrial research projects
– disseminating research results
– offering knowledge transfer service in the ICT field while
meeting the needs of industry and sustainable development
More info at:
http://www.ciri-ict.unibo.it/en/
CIRI ICTCIRI ICT
2
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
IaaS opportunities for SME
– Cloud Computing solutions vs. SMEs requirements
EMMI framework
- Architecture and features
- QoS management
Test-bed Evaluation
– Deployment environment
– Failover and scale-out test
3
AgendaAgenda
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
The cloud computing market stack
4
IaaS opportunities forIaaS opportunities for SMEs (1)SMEs (1)
Solutions of interest for a private cloud
infrastructure
We have investigated the needs of our SMEs and the
main emerging interest is about a possible on-premise
implementation of a private cloud infrastructure
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
IaaS opportunities forIaaS opportunities for SMEs (2)SMEs (2)
Infrastructure as a Service (IaaS)
- fully exploit available hardware capabilities
- promptly react to traffic/computational load variations
- efficiently reduce energy consumption
Costs and complexity of both software and
hardware infrastructure have limited the adoption of
off-the-shelf proprietary solutions
SMEs may have troubles when adapting open-
source solutions to their own requirements, e.g.,
because of the limited know-how in cloud computing
5
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Our main goal: demonstrating that private
cloud IaaS solutions can be easily and
effortlessly adopted
To fill the gap between open-source
solutions and business requirements
we developed high level functionalities
for the smart management of services on
top of basic mechanisms offered by
IaaS platforms
6
IaaS opportunities forIaaS opportunities for SMEs (3)SMEs (3)
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
EMMI Framework (1)EMMI Framework (1)
The Easy Monitoring and Management of
IaaS (EMMI) framework
- based on open-source software components
- designed and implemented for the smart
management of services offered on top of
private clouds
Manages virtual machines running the services
Collects monitoring data of physical servers
and virtual machines
7
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
EMMI Framework (2)EMMI Framework (2)
8
Cloud
Monitor
Cloud
Controller
Load
Balancer
Manager
Web Server Manager
configure
load
balancer
Apache
jk
Open
Stack
Collectd
configure
virtual
machines
physical host and
virtual machine
state
VM
state
Four main components
Three-layer architecture
Open
Source
Tools
General
Purpose
Layer
Service
Specific
Layer
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
EMMI Framework (3)EMMI Framework (3)
9
OpenStack for IaaS management
Collectd for distributed
system monitoring
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Web Server as type of services managed
by the framework
– Apache Tomcat 7 as application server
– Apache mod_jk for load balancing
EMMI Framework (4)EMMI Framework (4)
10
Tomcat
worker 1
Tomcat
worker 2
Client
AJP
8009
AJP
8009
HTTP
Apache 2 + mod_jk
Port 80
Load Balancer Instance
Worker
Instances
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Encapsulates OpenStack RESTful API
Offers API independent from OpenStack
Exploits the novaclient sub-component
provided by the OpenStack community
The framework can be reused with other
cloud platforms (e.g. Eucalyptus,
CloudStack) changing the sub-module that
encapsulates OpenStack APIs
Cloud ControllerCloud Controller
11
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Gathers data from Cloud Controller (virtual machine
states, e.g., active, suspended) and nova-compute
nodes (network traffic load, available RAM, free
mass storage, and CPU usage) via Collectd
Provides to upper layers a uniform view of the
environment
Encapsulates gathered data in a dictionary-based
data model allowing to quickly retrieve a wide range
of information of both physical and virtual machines
12
Cloud MonitorCloud Monitor
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Provides the capability of dynamically
modifying the load balancer in a
programmatic way
Interacts with Apache mod_jk via HTTP
requests to gather the state of the load
balancer and to modify its configuration
Appropriately customizes the
configuration files that are injected into
virtual machines
13
Load Balancer Manager (LBM)Load Balancer Manager (LBM)
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Creates/migrates/suspends/resumes/destroys
virtual machines in relation to the current state
of the cloud
Exploits Cloud Monitor to periodically check the
state of the cloud
Encapsulates the application logic that
implements the failover and scale-out features
To be configured by IT administrators
14
Web Server Manager (WSM)Web Server Manager (WSM)
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
1. Prepare a virtual
machine
containing the
desired Web
application in one
of the many
standard formats
supported by
OpenStack
2. Provide an XML
document
specifying the
desired
configuration
15
Two-level ConfigurationTwo-level Configuration
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Starting a new virtual machine in an almost
overloaded physical host may further lower the
global QoS
Our scheduling algorithm considers following
parameters for each physical host i:
– FreeRAMi, the available RAM
– IdleCPUi, the percentage of CPU idle time
– FreeDiski, the available mass storage
– Read/WriteDiskThroughputi, the performance of
read/write operations on mass storage
– #VMi, the amount of already active virtual machines
16
Virtual Machine Scheduler (1)Virtual Machine Scheduler (1)
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 17
Virtual Machine Scheduler (2)Virtual Machine Scheduler (2)
Web Server Manager selects the least loaded
physical host, i.e., the host with highest
Performancei
– w: weights in the [0, 1] range
– t: sum of data gathered from every physical host,
e.g.,
Performancei =
FreeRAMi × wfr
tfr
+
IdleCPUi × wic
tic
+
FreeDiski × wfd
tfd
−
ReadDiskThroughputi × wrdt
trdt
−
WriteDiskThroughputi × wwdt
twdt
−
#VM × wvn
tvn
tfr = FreeRAMii
∑
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Web Server Manager currently provides
two main QoS features:
– failover, periodically checking the state of
physical and virtual machines and
instantiating new virtual machines in case of
failures
– scale-out, verifying the QoS level and
adding new virtual machine instances
appropriately
18
QoS FeaturesQoS Features
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Cloud Monitor gathers data from physical and virtual
machines every 2.5s, tagging a machine as failed if
it does not receive data for 5s (the period is
reconfigurable at run-time)
Virtual machine failure:
– worker: WSM interacts with LBM to replace failed virtual
machines with a new worker instance
– balancer: WSM instances a new balancer and restores
the Apache mod_jk configuration via LBM
Physical host failure: each hosted virtual machine
dynamically reallocated in other running hosts
19
FailoverFailover
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Alerts to identify if services are offered with
degraded QoS
a) VM-CPU, triggered whenever the CPU of a virtual
machine is higher than a threshold (default 85%) for a
given period time (default 10s)
b) VM-TRAFFIC, triggered whenever the outgoing traffic
throughput of a virtual machine (running a Tomcat
worker instance) is higher than a threshold (default
6MB/s) for a given period (default 10s)
Once an alert has been triggered, Web Server
Manager selects a host to instantiate a new Tomcat
worker on and interacts with Load Balancer Manager
to update the mod_jk configuration
20
Scale-outScale-out
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Limit the consumption of virtual machines
that could potentially harm other co-hosted
services
Three alerts:
– H-RAM: whenever the free RAM of a host lowers
below a threshold (default 15%)
– H-DISK: similar to H-RAM but considering the
available mass storage
– H-CPU: whenever the CPU idle time goes below a
threshold (10% default) for more than a
configurable period time (15s default)
21
Identify Possible OverloadsIdentify Possible Overloads
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
DeploymentDeployment Environment (1)Environment (1)
22
Virtual machine
running the
load balancer
Two cluster domains of
Tomcat workers each
one with two replicas
Virtual
machine
running
worker 1
Virtual
machine
running
worker 1
Virtual
machine
running
worker 2
Virtual
machine
running
worker 2
Virtual
machine
running
worker 3
Virtual
machine
running
worker 3
Virtual
machine
running
worker 4
Virtual
machine
running
worker 4
Sticky Session + Tomcat
Cluster Domain to achieve
horizontal scalability and
failover
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
DeploymentDeployment Environment (2)Environment (2)
23
nova-network
Server1
Server2
Server1
Server2 (jk)
Server3
Server1 (jk)
Server3 (jk)
Server1
Cluster
Host A Host CHost B Host D
Internet
Four physical hosts
(Host A/D)
Eight virtual machines
providing three Web
servers (Server 1/3)
clustered in four groups of
two instances each
Server 1 is replicated four
times in two clusters, while
Server 2 and Server 3 two
times in one cluster each
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Five physical hosts:
– HP1/2 with high performance (8GB RAM, quad-core with hyper-threading
technology @3.2GHz): HP1 runs the EMMI framework and main OpenStack
components monitoring and controlling the system, HP2 runs nova-network
performing as unique entry-point from the Internet
– LP1/2/3 with low performance (4GB RAM, dual-core @2.6GHz), running the
Collectd client and OpenStack nova-compute component
DeploymentDeployment Environment (3)Environment (3)
24
Internet
HP1
LP1 LP2 LP3
HP2
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Test scenario: two different
services, each one in a cluster
and each one with two replicas
(Server 1 on LP1 and LP2,
Server 2 on LP2 and LP3)
Machine failure simulated by
abruptly disconnecting LP3
(not containing the virtual
machine with mod_jk) from the
network
Failover TestFailover Test
25
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Test scenario: one cluster with two replicas. The
Web application consists of an HTML page with a
170KB image
Apache JMeter to emulate the HTTP workload
below
Scale-out TestScale-out Test (1)
26
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Scale-out TestScale-out Test (2)
27
Average response time: 2188 ms
Dropped requests: 41.98%
Response times without EMMI framework
failure in more than 40%
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Response times with EMMI framework
Scale-out TestScale-out Test (3)
28
Average response time: 1939 ms
Dropped requests: 2.36%
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Scale-out TestScale-out Test (4)
29
00:00:28 00:00:59 00:01:51 00:02:13 00:02:51
Workload, response times, and EMMI procedures
Scale-out
Activated
New Replicas
Added
00:02:26
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Our practical approach demonstrates that private
cloud solutions can be easily adopted by SMEs in
a cost effective way
Test results prove the effectiveness of our metrics
– prompt adaptation and reconfiguration of physical
hosts and virtual machines in relation to the current
state of the environment
Ongoing work
– additional services on top our private cloud, e.g.,
private Dropbox-like store and distributed DBMS
– federated deployment, where remotely located cloud
environments can easily interact and cooperate
Conclusions & Ongoing WorkConclusions & Ongoing Work
30
Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13
Any Questions?Any Questions?
Contact info:
Massimiliano Mattetti
massimiliano.mattetti@unibo.it
http://www.ciri-ict.unibo.it/en/ciri-ict/personal-
pages/massimiliano-mattetti
31
Thanks for your attention 
Questions time…

Contenu connexe

Similaire à A Practical Approach to Easily Monitoring and Managing IaaS Environments

IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...
IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...
IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...IRJET Journal
 
IRJET- Load Balancing and Crash Management in IoT Environment
IRJET-  	  Load Balancing and Crash Management in IoT EnvironmentIRJET-  	  Load Balancing and Crash Management in IoT Environment
IRJET- Load Balancing and Crash Management in IoT EnvironmentIRJET Journal
 
Performance Aware SDN, LSPE talk
Performance Aware SDN, LSPE talkPerformance Aware SDN, LSPE talk
Performance Aware SDN, LSPE talknetvis
 
Resource provisioning for video on demand in saas
Resource provisioning for video on demand in saasResource provisioning for video on demand in saas
Resource provisioning for video on demand in saasIAEME Publication
 
An emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge ApplicationsAn emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge ApplicationsMoysisSymeonides
 
Journey to Containerized Application / Google Container Engine
Journey to Containerized Application / Google Container EngineJourney to Containerized Application / Google Container Engine
Journey to Containerized Application / Google Container EngineGoogle Cloud Platform - Japan
 
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...IRJET Journal
 
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUEAUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUEIRJET Journal
 
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...idescitation
 
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...Eduardo Patrocinio
 
Benchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metricsBenchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metricsRim Moussa
 
From Grid to Cloud
From Grid to CloudFrom Grid to Cloud
From Grid to Cloudgojkoadzic
 
CloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage DataCloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage DataTariq Iqbal
 
CloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage DataCloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage DataShapeBlue
 
Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...
Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...
Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...Facultad de Informática UCM
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...acijjournal
 
Cloud 2010
Cloud 2010Cloud 2010
Cloud 2010steccami
 

Similaire à A Practical Approach to Easily Monitoring and Managing IaaS Environments (20)

IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...
IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...
IRJET- Time and Resource Efficient Task Scheduling in Cloud Computing Environ...
 
IRJET- Load Balancing and Crash Management in IoT Environment
IRJET-  	  Load Balancing and Crash Management in IoT EnvironmentIRJET-  	  Load Balancing and Crash Management in IoT Environment
IRJET- Load Balancing and Crash Management in IoT Environment
 
Performance Aware SDN, LSPE talk
Performance Aware SDN, LSPE talkPerformance Aware SDN, LSPE talk
Performance Aware SDN, LSPE talk
 
Cloud by dev
Cloud by devCloud by dev
Cloud by dev
 
Resource provisioning for video on demand in saas
Resource provisioning for video on demand in saasResource provisioning for video on demand in saas
Resource provisioning for video on demand in saas
 
An emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge ApplicationsAn emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge Applications
 
Journey to Containerized Application / Google Container Engine
Journey to Containerized Application / Google Container EngineJourney to Containerized Application / Google Container Engine
Journey to Containerized Application / Google Container Engine
 
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
 
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUEAUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
 
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
 
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
 
Benchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metricsBenchmarking data warehouse systems in the cloud: new requirements & new metrics
Benchmarking data warehouse systems in the cloud: new requirements & new metrics
 
From Grid to Cloud
From Grid to CloudFrom Grid to Cloud
From Grid to Cloud
 
CloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage DataCloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage Data
 
CloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage DataCloudStack Metering – Working with the Usage Data
CloudStack Metering – Working with the Usage Data
 
Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...
Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...
Fast and energy-efficient eNVM based memory organisation at L3-L1 layers for ...
 
Distributed Systems in Data Engineering
Distributed Systems in Data EngineeringDistributed Systems in Data Engineering
Distributed Systems in Data Engineering
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
 
Cisco project ideas
Cisco   project ideasCisco   project ideas
Cisco project ideas
 
Cloud 2010
Cloud 2010Cloud 2010
Cloud 2010
 

Dernier

Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456KiaraTiradoMicha
 

Dernier (20)

Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 

A Practical Approach to Easily Monitoring and Managing IaaS Environments

  • 1. A Practical Approach to Easily Monitoring andA Practical Approach to Easily Monitoring and Managing IaaS EnvironmentsManaging IaaS Environments 07.07.2013 – MoCS '13 CIRI-ICT, Università di Bologna Viale Risorgimento, 2 - 40136 Bologna Italy Paolo Bellavista Carlo Giannelli Massimiliano Mattetti
  • 2. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Center for Industrial Research on ICT of the University of Bologna Main goals: – promoting the technology transfer between the University and regional Small/Medium Enterprises (SMEs) – coordinating and developing industrial research projects – disseminating research results – offering knowledge transfer service in the ICT field while meeting the needs of industry and sustainable development More info at: http://www.ciri-ict.unibo.it/en/ CIRI ICTCIRI ICT 2
  • 3. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 IaaS opportunities for SME – Cloud Computing solutions vs. SMEs requirements EMMI framework - Architecture and features - QoS management Test-bed Evaluation – Deployment environment – Failover and scale-out test 3 AgendaAgenda
  • 4. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 The cloud computing market stack 4 IaaS opportunities forIaaS opportunities for SMEs (1)SMEs (1) Solutions of interest for a private cloud infrastructure We have investigated the needs of our SMEs and the main emerging interest is about a possible on-premise implementation of a private cloud infrastructure
  • 5. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 IaaS opportunities forIaaS opportunities for SMEs (2)SMEs (2) Infrastructure as a Service (IaaS) - fully exploit available hardware capabilities - promptly react to traffic/computational load variations - efficiently reduce energy consumption Costs and complexity of both software and hardware infrastructure have limited the adoption of off-the-shelf proprietary solutions SMEs may have troubles when adapting open- source solutions to their own requirements, e.g., because of the limited know-how in cloud computing 5
  • 6. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Our main goal: demonstrating that private cloud IaaS solutions can be easily and effortlessly adopted To fill the gap between open-source solutions and business requirements we developed high level functionalities for the smart management of services on top of basic mechanisms offered by IaaS platforms 6 IaaS opportunities forIaaS opportunities for SMEs (3)SMEs (3)
  • 7. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 EMMI Framework (1)EMMI Framework (1) The Easy Monitoring and Management of IaaS (EMMI) framework - based on open-source software components - designed and implemented for the smart management of services offered on top of private clouds Manages virtual machines running the services Collects monitoring data of physical servers and virtual machines 7
  • 8. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 EMMI Framework (2)EMMI Framework (2) 8 Cloud Monitor Cloud Controller Load Balancer Manager Web Server Manager configure load balancer Apache jk Open Stack Collectd configure virtual machines physical host and virtual machine state VM state Four main components Three-layer architecture Open Source Tools General Purpose Layer Service Specific Layer
  • 9. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 EMMI Framework (3)EMMI Framework (3) 9 OpenStack for IaaS management Collectd for distributed system monitoring
  • 10. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Web Server as type of services managed by the framework – Apache Tomcat 7 as application server – Apache mod_jk for load balancing EMMI Framework (4)EMMI Framework (4) 10 Tomcat worker 1 Tomcat worker 2 Client AJP 8009 AJP 8009 HTTP Apache 2 + mod_jk Port 80 Load Balancer Instance Worker Instances
  • 11. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Encapsulates OpenStack RESTful API Offers API independent from OpenStack Exploits the novaclient sub-component provided by the OpenStack community The framework can be reused with other cloud platforms (e.g. Eucalyptus, CloudStack) changing the sub-module that encapsulates OpenStack APIs Cloud ControllerCloud Controller 11
  • 12. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Gathers data from Cloud Controller (virtual machine states, e.g., active, suspended) and nova-compute nodes (network traffic load, available RAM, free mass storage, and CPU usage) via Collectd Provides to upper layers a uniform view of the environment Encapsulates gathered data in a dictionary-based data model allowing to quickly retrieve a wide range of information of both physical and virtual machines 12 Cloud MonitorCloud Monitor
  • 13. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Provides the capability of dynamically modifying the load balancer in a programmatic way Interacts with Apache mod_jk via HTTP requests to gather the state of the load balancer and to modify its configuration Appropriately customizes the configuration files that are injected into virtual machines 13 Load Balancer Manager (LBM)Load Balancer Manager (LBM)
  • 14. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Creates/migrates/suspends/resumes/destroys virtual machines in relation to the current state of the cloud Exploits Cloud Monitor to periodically check the state of the cloud Encapsulates the application logic that implements the failover and scale-out features To be configured by IT administrators 14 Web Server Manager (WSM)Web Server Manager (WSM)
  • 15. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 1. Prepare a virtual machine containing the desired Web application in one of the many standard formats supported by OpenStack 2. Provide an XML document specifying the desired configuration 15 Two-level ConfigurationTwo-level Configuration
  • 16. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Starting a new virtual machine in an almost overloaded physical host may further lower the global QoS Our scheduling algorithm considers following parameters for each physical host i: – FreeRAMi, the available RAM – IdleCPUi, the percentage of CPU idle time – FreeDiski, the available mass storage – Read/WriteDiskThroughputi, the performance of read/write operations on mass storage – #VMi, the amount of already active virtual machines 16 Virtual Machine Scheduler (1)Virtual Machine Scheduler (1)
  • 17. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 17 Virtual Machine Scheduler (2)Virtual Machine Scheduler (2) Web Server Manager selects the least loaded physical host, i.e., the host with highest Performancei – w: weights in the [0, 1] range – t: sum of data gathered from every physical host, e.g., Performancei = FreeRAMi × wfr tfr + IdleCPUi × wic tic + FreeDiski × wfd tfd − ReadDiskThroughputi × wrdt trdt − WriteDiskThroughputi × wwdt twdt − #VM × wvn tvn tfr = FreeRAMii ∑
  • 18. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Web Server Manager currently provides two main QoS features: – failover, periodically checking the state of physical and virtual machines and instantiating new virtual machines in case of failures – scale-out, verifying the QoS level and adding new virtual machine instances appropriately 18 QoS FeaturesQoS Features
  • 19. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Cloud Monitor gathers data from physical and virtual machines every 2.5s, tagging a machine as failed if it does not receive data for 5s (the period is reconfigurable at run-time) Virtual machine failure: – worker: WSM interacts with LBM to replace failed virtual machines with a new worker instance – balancer: WSM instances a new balancer and restores the Apache mod_jk configuration via LBM Physical host failure: each hosted virtual machine dynamically reallocated in other running hosts 19 FailoverFailover
  • 20. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Alerts to identify if services are offered with degraded QoS a) VM-CPU, triggered whenever the CPU of a virtual machine is higher than a threshold (default 85%) for a given period time (default 10s) b) VM-TRAFFIC, triggered whenever the outgoing traffic throughput of a virtual machine (running a Tomcat worker instance) is higher than a threshold (default 6MB/s) for a given period (default 10s) Once an alert has been triggered, Web Server Manager selects a host to instantiate a new Tomcat worker on and interacts with Load Balancer Manager to update the mod_jk configuration 20 Scale-outScale-out
  • 21. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Limit the consumption of virtual machines that could potentially harm other co-hosted services Three alerts: – H-RAM: whenever the free RAM of a host lowers below a threshold (default 15%) – H-DISK: similar to H-RAM but considering the available mass storage – H-CPU: whenever the CPU idle time goes below a threshold (10% default) for more than a configurable period time (15s default) 21 Identify Possible OverloadsIdentify Possible Overloads
  • 22. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 DeploymentDeployment Environment (1)Environment (1) 22 Virtual machine running the load balancer Two cluster domains of Tomcat workers each one with two replicas Virtual machine running worker 1 Virtual machine running worker 1 Virtual machine running worker 2 Virtual machine running worker 2 Virtual machine running worker 3 Virtual machine running worker 3 Virtual machine running worker 4 Virtual machine running worker 4 Sticky Session + Tomcat Cluster Domain to achieve horizontal scalability and failover
  • 23. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 DeploymentDeployment Environment (2)Environment (2) 23 nova-network Server1 Server2 Server1 Server2 (jk) Server3 Server1 (jk) Server3 (jk) Server1 Cluster Host A Host CHost B Host D Internet Four physical hosts (Host A/D) Eight virtual machines providing three Web servers (Server 1/3) clustered in four groups of two instances each Server 1 is replicated four times in two clusters, while Server 2 and Server 3 two times in one cluster each
  • 24. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Five physical hosts: – HP1/2 with high performance (8GB RAM, quad-core with hyper-threading technology @3.2GHz): HP1 runs the EMMI framework and main OpenStack components monitoring and controlling the system, HP2 runs nova-network performing as unique entry-point from the Internet – LP1/2/3 with low performance (4GB RAM, dual-core @2.6GHz), running the Collectd client and OpenStack nova-compute component DeploymentDeployment Environment (3)Environment (3) 24 Internet HP1 LP1 LP2 LP3 HP2
  • 25. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Test scenario: two different services, each one in a cluster and each one with two replicas (Server 1 on LP1 and LP2, Server 2 on LP2 and LP3) Machine failure simulated by abruptly disconnecting LP3 (not containing the virtual machine with mod_jk) from the network Failover TestFailover Test 25
  • 26. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Test scenario: one cluster with two replicas. The Web application consists of an HTML page with a 170KB image Apache JMeter to emulate the HTTP workload below Scale-out TestScale-out Test (1) 26
  • 27. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Scale-out TestScale-out Test (2) 27 Average response time: 2188 ms Dropped requests: 41.98% Response times without EMMI framework failure in more than 40%
  • 28. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Response times with EMMI framework Scale-out TestScale-out Test (3) 28 Average response time: 1939 ms Dropped requests: 2.36%
  • 29. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Scale-out TestScale-out Test (4) 29 00:00:28 00:00:59 00:01:51 00:02:13 00:02:51 Workload, response times, and EMMI procedures Scale-out Activated New Replicas Added 00:02:26
  • 30. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Our practical approach demonstrates that private cloud solutions can be easily adopted by SMEs in a cost effective way Test results prove the effectiveness of our metrics – prompt adaptation and reconfiguration of physical hosts and virtual machines in relation to the current state of the environment Ongoing work – additional services on top our private cloud, e.g., private Dropbox-like store and distributed DBMS – federated deployment, where remotely located cloud environments can easily interact and cooperate Conclusions & Ongoing WorkConclusions & Ongoing Work 30
  • 31. Split, Croatia — 07.07.2013 Massimiliano Mattetti - MoCS '13 Any Questions?Any Questions? Contact info: Massimiliano Mattetti massimiliano.mattetti@unibo.it http://www.ciri-ict.unibo.it/en/ciri-ict/personal- pages/massimiliano-mattetti 31 Thanks for your attention  Questions time…

Notes de l'éditeur

  1. description of each host and virtual machine requires about 15KB and 5KB respectively
  2. it tries to migrate one of its virtual machines with lowest priority to another host, possibly suspending it if the migration is not possible
  3. Domain let lowering the session replication transfer between them.