SlideShare une entreprise Scribd logo
1  sur  78
Télécharger pour lire hors ligne
OCCI Monitoring
Augusto Ciuffoletti
OCCI Monitoring
Extending the OCCI API with monitoring capabilities
Augusto Ciuffoletti
Dept. of Computer Science - Univ. of Pisa
September 13, 2013
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
SLA is tightly related with monitoring, so we start from
cloud monitoring
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
SLA is tightly related with monitoring, so we start from
cloud monitoring
The user may be in its turn a service provider (inside
monitoring)
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
SLA is tightly related with monitoring, so we start from
cloud monitoring
The user may be in its turn a service provider (inside
monitoring)
The user may simply want to verify the quality of the
service (outside monitoring)
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
SLA is tightly related with monitoring, so we start from
cloud monitoring
The user may be in its turn a service provider (inside
monitoring)
The user may simply want to verify the quality of the
service (outside monitoring)
In both cases, the user needs the tools to define
resource monitoring
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
SLA is tightly related with monitoring, so we start from
cloud monitoring
The user may be in its turn a service provider (inside
monitoring)
The user may simply want to verify the quality of the
service (outside monitoring)
In both cases, the user needs the tools to define
resource monitoring
Keep into account the case of a composite service
(many providers)
OCCI Monitoring
Augusto Ciuffoletti
Motivation
SLA is a defined target to obtain user confidence
SLA is tightly related with monitoring, so we start from
cloud monitoring
The user may be in its turn a service provider (inside
monitoring)
The user may simply want to verify the quality of the
service (outside monitoring)
In both cases, the user needs the tools to define
resource monitoring
Keep into account the case of a composite service
(many providers)
A simple API aligned with OCCI
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
Monitoring is made of three basic activities
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
Monitoring is made of three basic activities
extract operational parameters from a Resource
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
Monitoring is made of three basic activities
extract operational parameters from a Resource
gather the operational parameters to obtain the
measure of a metric of interest
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
Monitoring is made of three basic activities
extract operational parameters from a Resource
gather the operational parameters to obtain the
measure of a metric of interest
deliver the measurement to the relevant party
OCCI Monitoring
Augusto Ciuffoletti
Aggregate and deliver
Distiguished activities that need the provision of
computing, storage, networking resources
OCCI Monitoring
Augusto Ciuffoletti
Aggregate and deliver
Distiguished activities that need the provision of
computing, storage, networking resources
Tightly integrated, under control of the provider
OCCI Monitoring
Augusto Ciuffoletti
Aggregate and deliver
Distiguished activities that need the provision of
computing, storage, networking resources
Tightly integrated, under control of the provider
Candidate for the introduction of a new kind of
resource: the Sensor
OCCI Monitoring
Augusto Ciuffoletti
Aggregate and deliver
Distiguished activities that need the provision of
computing, storage, networking resources
Tightly integrated, under control of the provider
Candidate for the introduction of a new kind of
resource: the Sensor
The user that wants to exert monitoring instantiates
(and pays for) a Sensor
OCCI Monitoring
Augusto Ciuffoletti
Aggregate and deliver
Distiguished activities that need the provision of
computing, storage, networking resources
Tightly integrated, under control of the provider
Candidate for the introduction of a new kind of
resource: the Sensor
The user that wants to exert monitoring instantiates
(and pays for) a Sensor
Note: a cost is associated to the Sensor, although this
is not explicit in the definition of monitoring
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
The monitoring function is controlled by time
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
The monitoring function is controlled by time
The native attributes of a Sensor are:
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
The monitoring function is controlled by time
The native attributes of a Sensor are:
How frequently it produces a new measurement
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
The monitoring function is controlled by time
The native attributes of a Sensor are:
How frequently it produces a new measurement
During which time lapse it performs the measurements
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
The monitoring function is controlled by time
The native attributes of a Sensor are:
How frequently it produces a new measurement
During which time lapse it performs the measurements
Too many variants for aggregation/delivery:
OCCI-mixins
OCCI Monitoring
Augusto Ciuffoletti
Basic functions
The monitoring function is controlled by time
The native attributes of a Sensor are:
How frequently it produces a new measurement
During which time lapse it performs the measurements
Too many variants for aggregation/delivery:
OCCI-mixins
Mixins are classified using tags (sort of subtyping)
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
Capability of extracting measurements (e.g., through
resource instrumentation)
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
Capability of extracting measurements (e.g., through
resource instrumentation)
This is represented as a collector link from the sensor to
the resource
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
Capability of extracting measurements (e.g., through
resource instrumentation)
This is represented as a collector link from the sensor to
the resource
The generic attributes of a collector correspond to the
sampling period:
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
Capability of extracting measurements (e.g., through
resource instrumentation)
This is represented as a collector link from the sensor to
the resource
The generic attributes of a collector correspond to the
sampling period:
The sampling period
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
Capability of extracting measurements (e.g., through
resource instrumentation)
This is represented as a collector link from the sensor to
the resource
The generic attributes of a collector correspond to the
sampling period:
The sampling period
The accuracy of the sampling period
OCCI Monitoring
Augusto Ciuffoletti
Extract measurements
This is an ability that a sensor has with respect to a real
resource
Capability of extracting measurements (e.g., through
resource instrumentation)
This is represented as a collector link from the sensor to
the resource
The generic attributes of a collector correspond to the
sampling period:
The sampling period
The accuracy of the sampling period
OCCI-mixins are introduced to specify the measurement
technique used
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
Syntactic and semantic restrictions can be introduced
for mixins with a certain label, thus supporting a
specification
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
Syntactic and semantic restrictions can be introduced
for mixins with a certain label, thus supporting a
specification
By defining tagged mixins, the provider describes the
monitoring capabilities offered to the user
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
Syntactic and semantic restrictions can be introduced
for mixins with a certain label, thus supporting a
specification
By defining tagged mixins, the provider describes the
monitoring capabilities offered to the user
Next slides describe three such tags:
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
Syntactic and semantic restrictions can be introduced
for mixins with a certain label, thus supporting a
specification
By defining tagged mixins, the provider describes the
monitoring capabilities offered to the user
Next slides describe three such tags:
metric specific for collector links
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
Syntactic and semantic restrictions can be introduced
for mixins with a certain label, thus supporting a
specification
By defining tagged mixins, the provider describes the
monitoring capabilities offered to the user
Next slides describe three such tags:
metric specific for collector links
aggregator specific for sensor resources
OCCI Monitoring
Augusto Ciuffoletti
Mixin sub-typing: the tags
According with the OCCI core specification a mixin with
no attributes (a tag) can be associated to another mixin
as a sort of label
Syntactic and semantic restrictions can be introduced
for mixins with a certain label, thus supporting a
specification
By defining tagged mixins, the provider describes the
monitoring capabilities offered to the user
Next slides describe three such tags:
metric specific for collector links
aggregator specific for sensor resources
publisher specific for sensor resources
OCCI Monitoring
Augusto Ciuffoletti
The metric tag
The tag metric is associated with a measurement
technique, and is related with a collector link;
OCCI Monitoring
Augusto Ciuffoletti
The metric tag
The tag metric is associated with a measurement
technique, and is related with a collector link;
The mixin that has the metric tag has the following
attributes:
OCCI Monitoring
Augusto Ciuffoletti
The metric tag
The tag metric is associated with a measurement
technique, and is related with a collector link;
The mixin that has the metric tag has the following
attributes:
metric attribute strings that are used as an identifier to
refer to the output measurement stream
OCCI Monitoring
Augusto Ciuffoletti
The metric tag
The tag metric is associated with a measurement
technique, and is related with a collector link;
The mixin that has the metric tag has the following
attributes:
metric attribute strings that are used as an identifier to
refer to the output measurement stream
control attributes used to control the measurement
process (e.g. packet length of a ping)
OCCI Monitoring
Augusto Ciuffoletti
The aggregator tag
the tag aggregator is associated with a mixin that
implements an algorithm for monitoring data
aggregation
OCCI Monitoring
Augusto Ciuffoletti
The aggregator tag
the tag aggregator is associated with a mixin that
implements an algorithm for monitoring data
aggregation
an aggregator mixin is related with a sensor resource
OCCI Monitoring
Augusto Ciuffoletti
The aggregator tag
the tag aggregator is associated with a mixin that
implements an algorithm for monitoring data
aggregation
an aggregator mixin is related with a sensor resource
the mixin with the aggregator tag are characterized by:
OCCI Monitoring
Augusto Ciuffoletti
The aggregator tag
the tag aggregator is associated with a mixin that
implements an algorithm for monitoring data
aggregation
an aggregator mixin is related with a sensor resource
the mixin with the aggregator tag are characterized by:
input attributes strings that are used as an identifier to
refer to input measurement streams
OCCI Monitoring
Augusto Ciuffoletti
The aggregator tag
the tag aggregator is associated with a mixin that
implements an algorithm for monitoring data
aggregation
an aggregator mixin is related with a sensor resource
the mixin with the aggregator tag are characterized by:
input attributes strings that are used as an identifier to
refer to input measurement streams
control attributes that are parameters for the
aggregation function (e.g. the gain in an
EWMA)
OCCI Monitoring
Augusto Ciuffoletti
The aggregator tag
the tag aggregator is associated with a mixin that
implements an algorithm for monitoring data
aggregation
an aggregator mixin is related with a sensor resource
the mixin with the aggregator tag are characterized by:
input attributes strings that are used as an identifier to
refer to input measurement streams
control attributes that are parameters for the
aggregation function (e.g. the gain in an
EWMA)
metric attributes strings that are used as an identifier to
refer to the output measurement stream
OCCI Monitoring
Augusto Ciuffoletti
The publisher tag
the tag publisher is associated with a mixin that
implements a technique to deliver the data outside the
monitoring infrastructure
OCCI Monitoring
Augusto Ciuffoletti
The publisher tag
the tag publisher is associated with a mixin that
implements a technique to deliver the data outside the
monitoring infrastructure
a publisher mixin is related with a sensor resource
OCCI Monitoring
Augusto Ciuffoletti
The publisher tag
the tag publisher is associated with a mixin that
implements a technique to deliver the data outside the
monitoring infrastructure
a publisher mixin is related with a sensor resource
the mixin with a publisher tag are characterized by:
OCCI Monitoring
Augusto Ciuffoletti
The publisher tag
the tag publisher is associated with a mixin that
implements a technique to deliver the data outside the
monitoring infrastructure
a publisher mixin is related with a sensor resource
the mixin with a publisher tag are characterized by:
input attribute a string that is used as an identifier to
refer to input measurement stream
OCCI Monitoring
Augusto Ciuffoletti
The publisher tag
the tag publisher is associated with a mixin that
implements a technique to deliver the data outside the
monitoring infrastructure
a publisher mixin is related with a sensor resource
the mixin with a publisher tag are characterized by:
input attribute a string that is used as an identifier to
refer to input measurement stream
control attributes that are parameters for the publishing
function (e.g. the UDP port that is used
for streaming)
OCCI Monitoring
Augusto Ciuffoletti
The role of metric and input attributes
they describe the flow of monitoring data
OCCI Monitoring
Augusto Ciuffoletti
The role of metric and input attributes
they describe the flow of monitoring data
their values are unique identifiers in a scope
corresponding to a sensor and all outgoing collectors
OCCI Monitoring
Augusto Ciuffoletti
The role of metric and input attributes
they describe the flow of monitoring data
their values are unique identifiers in a scope
corresponding to a sensor and all outgoing collectors
the provider is free to implement the transport of the
measurement stream in the most convenient way
OCCI Monitoring
Augusto Ciuffoletti
Shortcuts for simple use cases
here metric mixin, can be associated directly to the
monitored resource and has a web service interface
OCCI Monitoring
Augusto Ciuffoletti
Shortcuts for simple use cases
here metric mixin, can be associated directly to the
monitored resource and has a web service interface
a tagged mixin can be associated with a generic
resource or link, avoiding the definition of a sensor or
collector
OCCI Monitoring
Augusto Ciuffoletti
Shortcuts for simple use cases
here metric mixin, can be associated directly to the
monitored resource and has a web service interface
a tagged mixin can be associated with a generic
resource or link, avoiding the definition of a sensor or
collector
shortcuts effectively help very simple use cases, but are
generally a source of inefficiency and complexity
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
The resources we want to monitor
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Create one Sensor resource
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Use two collectors to define the measurement activiy
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Associate two metric mixins to the Collector X
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
And another two metric mixins to the Collector Y
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Associate two aggregator mixins to the Sensor
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
One publisher is going to use raw data from the collector
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Another is going to receive measurements from the
aggregators
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
A frame for Collector X and its mixins
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
... one for Collector Y...
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
... one for the sensor
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
The scope of the Sensor (for metric streams ids)
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Feeding the aggregators: a,b,d are measurement stream ids
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Feeding publisher 2: aggregated (f,g) and raw data (e)
OCCI Monitoring
Augusto Ciuffoletti
Step by step design of a monitoring infrastructure
Feeding publisher 1: measurement stream b is multicast
OCCI Monitoring
Augusto Ciuffoletti
Also in the document
Conformance profiles: to accomodate the presence of
providers that do not implement a monitoring interface
OCCI Monitoring
Augusto Ciuffoletti
Also in the document
Conformance profiles: to accomodate the presence of
providers that do not implement a monitoring interface
Security issues
OCCI Monitoring
Augusto Ciuffoletti
Also in the document
Conformance profiles: to accomodate the presence of
providers that do not implement a monitoring interface
Security issues
A detailed example using the http rendering
OCCI Monitoring
Augusto Ciuffoletti
Also in the document
Conformance profiles: to accomodate the presence of
providers that do not implement a monitoring interface
Security issues
A detailed example using the http rendering
...and several bugs.
OCCI Monitoring
Augusto Ciuffoletti
Also in the document
Conformance profiles: to accomodate the presence of
providers that do not implement a monitoring interface
Security issues
A detailed example using the http rendering
...and several bugs.
That’s all...

Contenu connexe

Similaire à Extending the OCCI API with monitoring capabilities

Fitbit-Final Presentation
Fitbit-Final PresentationFitbit-Final Presentation
Fitbit-Final Presentation
Avik Das
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
Vivek chan
 
COIT20270 Application Development for Mobile PlatformsWeek 4.docx
COIT20270 Application Development for Mobile PlatformsWeek 4.docxCOIT20270 Application Development for Mobile PlatformsWeek 4.docx
COIT20270 Application Development for Mobile PlatformsWeek 4.docx
mary772
 
Android location and sensors API
Android location and sensors APIAndroid location and sensors API
Android location and sensors API
eleksdev
 
Threshold based filtering technique for efficient moving object detection and...
Threshold based filtering technique for efficient moving object detection and...Threshold based filtering technique for efficient moving object detection and...
Threshold based filtering technique for efficient moving object detection and...
eSAT Journals
 

Similaire à Extending the OCCI API with monitoring capabilities (20)

OCCI Monitoring at OGF42 - Concepts and demo
OCCI Monitoring at OGF42 - Concepts and demoOCCI Monitoring at OGF42 - Concepts and demo
OCCI Monitoring at OGF42 - Concepts and demo
 
Fitbit-Final Presentation
Fitbit-Final PresentationFitbit-Final Presentation
Fitbit-Final Presentation
 
SpringBoot 3 Observability
SpringBoot 3 ObservabilitySpringBoot 3 Observability
SpringBoot 3 Observability
 
Observe It Presentation
Observe It PresentationObserve It Presentation
Observe It Presentation
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
 
UCIAD overview
UCIAD overviewUCIAD overview
UCIAD overview
 
Creating aggregated Sensu monitors, or how to monitor a group of monitors
Creating aggregated Sensu monitors, or how to monitor a group of monitorsCreating aggregated Sensu monitors, or how to monitor a group of monitors
Creating aggregated Sensu monitors, or how to monitor a group of monitors
 
Monitoring Models
Monitoring ModelsMonitoring Models
Monitoring Models
 
IRJET- Full Body Motion Detection and Surveillance System Application
IRJET-  	  Full Body Motion Detection and Surveillance System ApplicationIRJET-  	  Full Body Motion Detection and Surveillance System Application
IRJET- Full Body Motion Detection and Surveillance System Application
 
COIT20270 Application Development for Mobile PlatformsWeek 4.docx
COIT20270 Application Development for Mobile PlatformsWeek 4.docxCOIT20270 Application Development for Mobile PlatformsWeek 4.docx
COIT20270 Application Development for Mobile PlatformsWeek 4.docx
 
Intelligent Video Surveillance System using Deep Learning
Intelligent Video Surveillance System using Deep LearningIntelligent Video Surveillance System using Deep Learning
Intelligent Video Surveillance System using Deep Learning
 
Security auditing architecture
Security auditing architectureSecurity auditing architecture
Security auditing architecture
 
Sensor Cloud
Sensor CloudSensor Cloud
Sensor Cloud
 
Wearable Gait Classification Using STM Sensortile
Wearable Gait Classification Using STM SensortileWearable Gait Classification Using STM Sensortile
Wearable Gait Classification Using STM Sensortile
 
Android location and sensors API
Android location and sensors APIAndroid location and sensors API
Android location and sensors API
 
Q180305116119
Q180305116119Q180305116119
Q180305116119
 
Blue eyes
Blue eyesBlue eyes
Blue eyes
 
IRJET- Human Activity Recognition using Smartphone Sensors
IRJET- Human Activity Recognition using Smartphone SensorsIRJET- Human Activity Recognition using Smartphone Sensors
IRJET- Human Activity Recognition using Smartphone Sensors
 
Threshold based filtering technique for efficient moving object detection and...
Threshold based filtering technique for efficient moving object detection and...Threshold based filtering technique for efficient moving object detection and...
Threshold based filtering technique for efficient moving object detection and...
 
Citadel training on context awareness solution
Citadel training on context awareness solutionCitadel training on context awareness solution
Citadel training on context awareness solution
 

Plus de Augusto Ciuffoletti

Grid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRIDGrid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRID
Augusto Ciuffoletti
 
Scalable concurrency control in a dynamic membership
Scalable concurrency control  in a dynamic membershipScalable concurrency control  in a dynamic membership
Scalable concurrency control in a dynamic membership
Augusto Ciuffoletti
 
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring ArchitecturePrototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Augusto Ciuffoletti
 

Plus de Augusto Ciuffoletti (14)

An open-source testbed for IoT systems
An open-source testbed for IoT systemsAn open-source testbed for IoT systems
An open-source testbed for IoT systems
 
0 basic
0 basic0 basic
0 basic
 
Thingspeak: integrazione
Thingspeak: integrazioneThingspeak: integrazione
Thingspeak: integrazione
 
Thingspeak: fondamenti
Thingspeak: fondamentiThingspeak: fondamenti
Thingspeak: fondamenti
 
Design and implementation of a low-cost modular sensor
Design and implementation of a low-cost modular sensorDesign and implementation of a low-cost modular sensor
Design and implementation of a low-cost modular sensor
 
Laboratorio Openstack
Laboratorio OpenstackLaboratorio Openstack
Laboratorio Openstack
 
Collision avoidance using a wandering token in the PTP protocol
Collision avoidance using a wandering token in the PTP protocolCollision avoidance using a wandering token in the PTP protocol
Collision avoidance using a wandering token in the PTP protocol
 
Design of a secure "Token Passing" protocol
Design of a secure "Token Passing" protocolDesign of a secure "Token Passing" protocol
Design of a secure "Token Passing" protocol
 
The wandering token
The wandering tokenThe wandering token
The wandering token
 
Network Monitoring in the age of the Cloud
Network Monitoring in the age of the CloudNetwork Monitoring in the age of the Cloud
Network Monitoring in the age of the Cloud
 
Grid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRIDGrid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRID
 
Scalable concurrency control in a dynamic membership
Scalable concurrency control  in a dynamic membershipScalable concurrency control  in a dynamic membership
Scalable concurrency control in a dynamic membership
 
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring ArchitecturePrototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring Architecture
 
Network Monitoring in the age of the Cloud
Network Monitoring in the age of the CloudNetwork Monitoring in the age of the Cloud
Network Monitoring in the age of the Cloud
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Extending the OCCI API with monitoring capabilities

  • 1. OCCI Monitoring Augusto Ciuffoletti OCCI Monitoring Extending the OCCI API with monitoring capabilities Augusto Ciuffoletti Dept. of Computer Science - Univ. of Pisa September 13, 2013
  • 2. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence
  • 3. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence SLA is tightly related with monitoring, so we start from cloud monitoring
  • 4. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence SLA is tightly related with monitoring, so we start from cloud monitoring The user may be in its turn a service provider (inside monitoring)
  • 5. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence SLA is tightly related with monitoring, so we start from cloud monitoring The user may be in its turn a service provider (inside monitoring) The user may simply want to verify the quality of the service (outside monitoring)
  • 6. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence SLA is tightly related with monitoring, so we start from cloud monitoring The user may be in its turn a service provider (inside monitoring) The user may simply want to verify the quality of the service (outside monitoring) In both cases, the user needs the tools to define resource monitoring
  • 7. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence SLA is tightly related with monitoring, so we start from cloud monitoring The user may be in its turn a service provider (inside monitoring) The user may simply want to verify the quality of the service (outside monitoring) In both cases, the user needs the tools to define resource monitoring Keep into account the case of a composite service (many providers)
  • 8. OCCI Monitoring Augusto Ciuffoletti Motivation SLA is a defined target to obtain user confidence SLA is tightly related with monitoring, so we start from cloud monitoring The user may be in its turn a service provider (inside monitoring) The user may simply want to verify the quality of the service (outside monitoring) In both cases, the user needs the tools to define resource monitoring Keep into account the case of a composite service (many providers) A simple API aligned with OCCI
  • 9. OCCI Monitoring Augusto Ciuffoletti Basic functions Monitoring is made of three basic activities
  • 10. OCCI Monitoring Augusto Ciuffoletti Basic functions Monitoring is made of three basic activities extract operational parameters from a Resource
  • 11. OCCI Monitoring Augusto Ciuffoletti Basic functions Monitoring is made of three basic activities extract operational parameters from a Resource gather the operational parameters to obtain the measure of a metric of interest
  • 12. OCCI Monitoring Augusto Ciuffoletti Basic functions Monitoring is made of three basic activities extract operational parameters from a Resource gather the operational parameters to obtain the measure of a metric of interest deliver the measurement to the relevant party
  • 13. OCCI Monitoring Augusto Ciuffoletti Aggregate and deliver Distiguished activities that need the provision of computing, storage, networking resources
  • 14. OCCI Monitoring Augusto Ciuffoletti Aggregate and deliver Distiguished activities that need the provision of computing, storage, networking resources Tightly integrated, under control of the provider
  • 15. OCCI Monitoring Augusto Ciuffoletti Aggregate and deliver Distiguished activities that need the provision of computing, storage, networking resources Tightly integrated, under control of the provider Candidate for the introduction of a new kind of resource: the Sensor
  • 16. OCCI Monitoring Augusto Ciuffoletti Aggregate and deliver Distiguished activities that need the provision of computing, storage, networking resources Tightly integrated, under control of the provider Candidate for the introduction of a new kind of resource: the Sensor The user that wants to exert monitoring instantiates (and pays for) a Sensor
  • 17. OCCI Monitoring Augusto Ciuffoletti Aggregate and deliver Distiguished activities that need the provision of computing, storage, networking resources Tightly integrated, under control of the provider Candidate for the introduction of a new kind of resource: the Sensor The user that wants to exert monitoring instantiates (and pays for) a Sensor Note: a cost is associated to the Sensor, although this is not explicit in the definition of monitoring
  • 18. OCCI Monitoring Augusto Ciuffoletti Basic functions The monitoring function is controlled by time
  • 19. OCCI Monitoring Augusto Ciuffoletti Basic functions The monitoring function is controlled by time The native attributes of a Sensor are:
  • 20. OCCI Monitoring Augusto Ciuffoletti Basic functions The monitoring function is controlled by time The native attributes of a Sensor are: How frequently it produces a new measurement
  • 21. OCCI Monitoring Augusto Ciuffoletti Basic functions The monitoring function is controlled by time The native attributes of a Sensor are: How frequently it produces a new measurement During which time lapse it performs the measurements
  • 22. OCCI Monitoring Augusto Ciuffoletti Basic functions The monitoring function is controlled by time The native attributes of a Sensor are: How frequently it produces a new measurement During which time lapse it performs the measurements Too many variants for aggregation/delivery: OCCI-mixins
  • 23. OCCI Monitoring Augusto Ciuffoletti Basic functions The monitoring function is controlled by time The native attributes of a Sensor are: How frequently it produces a new measurement During which time lapse it performs the measurements Too many variants for aggregation/delivery: OCCI-mixins Mixins are classified using tags (sort of subtyping)
  • 24. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource
  • 25. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource Capability of extracting measurements (e.g., through resource instrumentation)
  • 26. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource Capability of extracting measurements (e.g., through resource instrumentation) This is represented as a collector link from the sensor to the resource
  • 27. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource Capability of extracting measurements (e.g., through resource instrumentation) This is represented as a collector link from the sensor to the resource The generic attributes of a collector correspond to the sampling period:
  • 28. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource Capability of extracting measurements (e.g., through resource instrumentation) This is represented as a collector link from the sensor to the resource The generic attributes of a collector correspond to the sampling period: The sampling period
  • 29. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource Capability of extracting measurements (e.g., through resource instrumentation) This is represented as a collector link from the sensor to the resource The generic attributes of a collector correspond to the sampling period: The sampling period The accuracy of the sampling period
  • 30. OCCI Monitoring Augusto Ciuffoletti Extract measurements This is an ability that a sensor has with respect to a real resource Capability of extracting measurements (e.g., through resource instrumentation) This is represented as a collector link from the sensor to the resource The generic attributes of a collector correspond to the sampling period: The sampling period The accuracy of the sampling period OCCI-mixins are introduced to specify the measurement technique used
  • 31. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label
  • 32. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label Syntactic and semantic restrictions can be introduced for mixins with a certain label, thus supporting a specification
  • 33. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label Syntactic and semantic restrictions can be introduced for mixins with a certain label, thus supporting a specification By defining tagged mixins, the provider describes the monitoring capabilities offered to the user
  • 34. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label Syntactic and semantic restrictions can be introduced for mixins with a certain label, thus supporting a specification By defining tagged mixins, the provider describes the monitoring capabilities offered to the user Next slides describe three such tags:
  • 35. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label Syntactic and semantic restrictions can be introduced for mixins with a certain label, thus supporting a specification By defining tagged mixins, the provider describes the monitoring capabilities offered to the user Next slides describe three such tags: metric specific for collector links
  • 36. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label Syntactic and semantic restrictions can be introduced for mixins with a certain label, thus supporting a specification By defining tagged mixins, the provider describes the monitoring capabilities offered to the user Next slides describe three such tags: metric specific for collector links aggregator specific for sensor resources
  • 37. OCCI Monitoring Augusto Ciuffoletti Mixin sub-typing: the tags According with the OCCI core specification a mixin with no attributes (a tag) can be associated to another mixin as a sort of label Syntactic and semantic restrictions can be introduced for mixins with a certain label, thus supporting a specification By defining tagged mixins, the provider describes the monitoring capabilities offered to the user Next slides describe three such tags: metric specific for collector links aggregator specific for sensor resources publisher specific for sensor resources
  • 38. OCCI Monitoring Augusto Ciuffoletti The metric tag The tag metric is associated with a measurement technique, and is related with a collector link;
  • 39. OCCI Monitoring Augusto Ciuffoletti The metric tag The tag metric is associated with a measurement technique, and is related with a collector link; The mixin that has the metric tag has the following attributes:
  • 40. OCCI Monitoring Augusto Ciuffoletti The metric tag The tag metric is associated with a measurement technique, and is related with a collector link; The mixin that has the metric tag has the following attributes: metric attribute strings that are used as an identifier to refer to the output measurement stream
  • 41. OCCI Monitoring Augusto Ciuffoletti The metric tag The tag metric is associated with a measurement technique, and is related with a collector link; The mixin that has the metric tag has the following attributes: metric attribute strings that are used as an identifier to refer to the output measurement stream control attributes used to control the measurement process (e.g. packet length of a ping)
  • 42. OCCI Monitoring Augusto Ciuffoletti The aggregator tag the tag aggregator is associated with a mixin that implements an algorithm for monitoring data aggregation
  • 43. OCCI Monitoring Augusto Ciuffoletti The aggregator tag the tag aggregator is associated with a mixin that implements an algorithm for monitoring data aggregation an aggregator mixin is related with a sensor resource
  • 44. OCCI Monitoring Augusto Ciuffoletti The aggregator tag the tag aggregator is associated with a mixin that implements an algorithm for monitoring data aggregation an aggregator mixin is related with a sensor resource the mixin with the aggregator tag are characterized by:
  • 45. OCCI Monitoring Augusto Ciuffoletti The aggregator tag the tag aggregator is associated with a mixin that implements an algorithm for monitoring data aggregation an aggregator mixin is related with a sensor resource the mixin with the aggregator tag are characterized by: input attributes strings that are used as an identifier to refer to input measurement streams
  • 46. OCCI Monitoring Augusto Ciuffoletti The aggregator tag the tag aggregator is associated with a mixin that implements an algorithm for monitoring data aggregation an aggregator mixin is related with a sensor resource the mixin with the aggregator tag are characterized by: input attributes strings that are used as an identifier to refer to input measurement streams control attributes that are parameters for the aggregation function (e.g. the gain in an EWMA)
  • 47. OCCI Monitoring Augusto Ciuffoletti The aggregator tag the tag aggregator is associated with a mixin that implements an algorithm for monitoring data aggregation an aggregator mixin is related with a sensor resource the mixin with the aggregator tag are characterized by: input attributes strings that are used as an identifier to refer to input measurement streams control attributes that are parameters for the aggregation function (e.g. the gain in an EWMA) metric attributes strings that are used as an identifier to refer to the output measurement stream
  • 48. OCCI Monitoring Augusto Ciuffoletti The publisher tag the tag publisher is associated with a mixin that implements a technique to deliver the data outside the monitoring infrastructure
  • 49. OCCI Monitoring Augusto Ciuffoletti The publisher tag the tag publisher is associated with a mixin that implements a technique to deliver the data outside the monitoring infrastructure a publisher mixin is related with a sensor resource
  • 50. OCCI Monitoring Augusto Ciuffoletti The publisher tag the tag publisher is associated with a mixin that implements a technique to deliver the data outside the monitoring infrastructure a publisher mixin is related with a sensor resource the mixin with a publisher tag are characterized by:
  • 51. OCCI Monitoring Augusto Ciuffoletti The publisher tag the tag publisher is associated with a mixin that implements a technique to deliver the data outside the monitoring infrastructure a publisher mixin is related with a sensor resource the mixin with a publisher tag are characterized by: input attribute a string that is used as an identifier to refer to input measurement stream
  • 52. OCCI Monitoring Augusto Ciuffoletti The publisher tag the tag publisher is associated with a mixin that implements a technique to deliver the data outside the monitoring infrastructure a publisher mixin is related with a sensor resource the mixin with a publisher tag are characterized by: input attribute a string that is used as an identifier to refer to input measurement stream control attributes that are parameters for the publishing function (e.g. the UDP port that is used for streaming)
  • 53. OCCI Monitoring Augusto Ciuffoletti The role of metric and input attributes they describe the flow of monitoring data
  • 54. OCCI Monitoring Augusto Ciuffoletti The role of metric and input attributes they describe the flow of monitoring data their values are unique identifiers in a scope corresponding to a sensor and all outgoing collectors
  • 55. OCCI Monitoring Augusto Ciuffoletti The role of metric and input attributes they describe the flow of monitoring data their values are unique identifiers in a scope corresponding to a sensor and all outgoing collectors the provider is free to implement the transport of the measurement stream in the most convenient way
  • 56. OCCI Monitoring Augusto Ciuffoletti Shortcuts for simple use cases here metric mixin, can be associated directly to the monitored resource and has a web service interface
  • 57. OCCI Monitoring Augusto Ciuffoletti Shortcuts for simple use cases here metric mixin, can be associated directly to the monitored resource and has a web service interface a tagged mixin can be associated with a generic resource or link, avoiding the definition of a sensor or collector
  • 58. OCCI Monitoring Augusto Ciuffoletti Shortcuts for simple use cases here metric mixin, can be associated directly to the monitored resource and has a web service interface a tagged mixin can be associated with a generic resource or link, avoiding the definition of a sensor or collector shortcuts effectively help very simple use cases, but are generally a source of inefficiency and complexity
  • 59. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure The resources we want to monitor
  • 60. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Create one Sensor resource
  • 61. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Use two collectors to define the measurement activiy
  • 62. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Associate two metric mixins to the Collector X
  • 63. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure And another two metric mixins to the Collector Y
  • 64. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Associate two aggregator mixins to the Sensor
  • 65. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure One publisher is going to use raw data from the collector
  • 66. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Another is going to receive measurements from the aggregators
  • 67. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure A frame for Collector X and its mixins
  • 68. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure ... one for Collector Y...
  • 69. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure ... one for the sensor
  • 70. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure The scope of the Sensor (for metric streams ids)
  • 71. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Feeding the aggregators: a,b,d are measurement stream ids
  • 72. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Feeding publisher 2: aggregated (f,g) and raw data (e)
  • 73. OCCI Monitoring Augusto Ciuffoletti Step by step design of a monitoring infrastructure Feeding publisher 1: measurement stream b is multicast
  • 74. OCCI Monitoring Augusto Ciuffoletti Also in the document Conformance profiles: to accomodate the presence of providers that do not implement a monitoring interface
  • 75. OCCI Monitoring Augusto Ciuffoletti Also in the document Conformance profiles: to accomodate the presence of providers that do not implement a monitoring interface Security issues
  • 76. OCCI Monitoring Augusto Ciuffoletti Also in the document Conformance profiles: to accomodate the presence of providers that do not implement a monitoring interface Security issues A detailed example using the http rendering
  • 77. OCCI Monitoring Augusto Ciuffoletti Also in the document Conformance profiles: to accomodate the presence of providers that do not implement a monitoring interface Security issues A detailed example using the http rendering ...and several bugs.
  • 78. OCCI Monitoring Augusto Ciuffoletti Also in the document Conformance profiles: to accomodate the presence of providers that do not implement a monitoring interface Security issues A detailed example using the http rendering ...and several bugs. That’s all...