SlideShare a Scribd company logo
1 of 24
Download to read offline
Dynamic Deployment
of Distributed OSGi
applications on a IaaS
Noël de Palma, Didier Donsez,
Alain Tchana, Linh-Manh Pham
Université de Grenoble, LIG Equipe ERODS
Résumé
Noël de Palma, Didier Donsez, Alain Tchana, Linh-Manh Pham (Université de Grenoble, LIG équipe
ERODS), "Déploiement dynamique d'applications OSGi sur le Cloud"
Résumé: Les structures informatiques dématérialisées (informatique en nuage, Cloud Computing) ont en
quelques années révolutionné l’usage des ressources informatiques dans les entreprises. Les avancées en
terme de virtualisation et de grilles de calcul ont permis une évolution des infrastructures classiques vers des
infrastructures d'hébergement mutualisées et virtualisées. De nombreux travaux académiques et industriels
s’intéressent à l'utilisation de la technologie OSGi pour déployer des applications complexes. Ces opérations
de déploiement sont en général difficiles du fait de la nature très dynamique des infrastructures en nuage.
Nous présentons ici, RoboConf, un gestionnaire de déploiement et de configuration automatique
d'applications sur une infrastructure PaaS OSGi. Nous démontrons ensuite RoboConf avec le déploiement
automatique d'une application distribuée non triviale dans des conteneurs Apache Karaf sur des machines
virtuelles Amazon EC2 instanciées à la demande.
Outline
 Context : OSGi & Cloud
 Roboconf
 Roboconf for an OSGi PaaS
 Demo
OSGi specifications
 De-facto Standard for Modular Java applications
 Dynamic Deployment of Modules
 without rebooting ; exception : Eclipse plugins
 SOA principles in Java applications
 Specifications target standalone applications
 BUT
 Good candidate for distributed applications
and distributed middlewares
 JEE, EEG, DOSGi, ...
Cloud Computing
 Outsourcing of IT ressources
 Network, CPU Core, Memory, Storage
 Pay per Use
 Elasticity
 on-demand ressource allocation/desallocation
 Virtualization technics
 VM (VMWare, Xen, VirtualBox …), LCX, ...
 Types : Public, Private and Hybrid Clouds
 Models : IaaS, PaaS, SaaS (Map Reduce for Big Data)
 Cloud Providers
 Amazon, Google, Microsoft, HP, OVH, Eolas, …
 Concerns : Optimize physical machines numbers and consumed
electricity.
OSGi & Cloud
 Enterprise EG
 Cloud Computing (RFP 133)
 OSGi Cloud Ecosystems (RFC 183)

http://fr.slideshare.net/bosschaert/osgi-cloud-ecosystems

 Cloud-ready OSGi platforms
 Paremus, RedHat Jboss, PeerGreen …
 Academic researches
 OSGi4C
Cloud Computing :
Application Administrators point of view
A S D
0) create an EC2 account and enter (company's) credit card number
1) Define a configuration
2) Start AMIs
3) Configure dependencies (@IP, port, security, firewalls …)
4) Monitor performance and usage
Time consuming
Error Prone
Requests
Cloud Computing :
Application Administrators point of view
A
A
S
S D
D
0) create an EC2 account and enter (company's) credit card number
1) Define a configuration
2) Start AMIs
3) Configure dependencies (@IP, port, security, firewalls …)
4) Monitor performance and usage
5) Change the configuration
6) Start additionnal AMIs / Stop existing AMIs / Migrate AMIs
7) Re-Configure dependencies (@IP, port, security, …)
...
10) Pay monthly $$$$$ for CPU time, ...
Time consuming
Error Prone
Nightmare
Requests
Requests
Roboconf
 Motivation
 Automatic deployment/evolution of
distributed application configuration on a IaaS
 What does it do ?
 Instantiates and manages VM in the IaaS
 Deploys components on those VM
 Makes those components to configure each other
 RoboConf DSL : describing configurations
 Fully asynchronous
Roboconf DSL
Configuration Model
 Types (inheritance) & Instances & VM
 Import & Export Variables → pubsub
lifecycles scripts in
BASH, PUPPET, …
Deployment & Configuration
PubSub vars : Act as a distributed
configuration manager
AMIs
Repo
Scripts
Repo
Artifacts
Repo
AMIs contains
a RoboConf agent
Algorithm to exchange vars
• foreach export:
– subscribe to “import.$exportName”
– publish exported vars on “export.$exportName”
• foreach import:
– subscribe to “export.$importName”
– publish notification on “import.$importName”
• if receive notification
 publish exported vars on “export.$exportName”
Asynchronous Exchanges
→ Instances can be configured in any order!
→ Application is dynamic! Component can be added without effort!
12
Example with a simple JEE conf
Roboconf for OSGi
●
Motivations : OSGi PaaS
 Deploy and configure OSGi containers
and then «Distributed » OSGi applications
on VM IaaS
 Reuse/Share OSGi applications in same OSGi containers
 Isolate OSGi applications in differents OSGi containers or VMs
 Scripts
 for Felix and Karaf Containers
 for OSGi Applications

sets of bundles, features, CA cfgs and sys properties
 Repos
 OSGi containers (Felix, Karaf, ...)
 Bundles (.jar, tgz of .jar, .cfg, .sysprop)
 Private or Public (Felix OBR, Maven Central, ...)
Files for Apache Karaf
Demonstration
SpecJMS like Configuration (DSL)
VM2
IaaS : EC2
OSGi Container : Apache Karaf
App : erzatz of SpecJMS benchmark
VM3
VM1
Scripts
Repo
Bundles
Repo
roboconf
console
Demonstration
SpecJMS like Configuration (DSL)
VM2
IaaS : EC2
OSGi Container : Apache Karaf
App : erzatz of SpecJMS benchmark
KF
VM3
KF
VM1
KF
Scripts
Repo
Bundles
Repo
roboconf
console
Demonstration
SpecJMS like Configuration (DSL)
VM2
IaaS : EC2
OSGi Container : Apache Karaf
App : erzatz of SpecJMS benchmark
KF
JMS Sender
VM3
KF
JMS Receiver
VM1
KF
JMS Server
JNDI Server
Scripts
Repo
Containers &
Bundles
Repo
roboconf
console
Add a new sender (from the console)
VM2
KF
JMS Sender
VM3
KF
JMS Receiver
VM1
KF
JMS Server
JNDI Server
Scripts
Repo
Containers &
Bundles
Repo
VM4
KF
JMS Sender
KF
JMS Sender
roboconf
console
Add a new receiver (from the console)
VM2
KF
JMS Sender
VM3
KF
JMS Receiver
VM1
KF
JMS Server
JNDI Server
Scripts
Repo
Containers &
Bundles
Repo
VM4
KF
JMS Sender
KF
JMS Sender
VM5
KF
JMS Receiver
roboconf
console
Conclusion & Perpectives
 Deployment and Configuration for an OSGi PaaS
 More IaaS : Google, Azure, OpenStack, ...
 More scripting/configuration tools
 OSGi JMX, Permission Admin, MetaType
 Remote Deployment, Deployment Admin
 Coordination with Cellar's Distributed CA
 More lifecycle scripts : Ant, ...
 More monitoring/design tools
 Releasing to FOSS
Un peu de pub ...
 Ecole ICAR 2013 sur le Cloud Computing
26 au 30 Aout 2013 à Grenoble
 http://erods.liglab.fr/icar2013/
 Avec Microsoft, Intel, OVH, Eolas, OW2 ...
Extra
Puppet https://puppetlabs.com/
●
Popular Configuration manager
●
Defines the desired state of the system
●
using Packages, Files, Services

More Related Content

What's hot

What's hot (16)

HPE Storage KubeCon US 2018 Workshop
HPE Storage KubeCon US 2018 WorkshopHPE Storage KubeCon US 2018 Workshop
HPE Storage KubeCon US 2018 Workshop
 
Securely Enhancing Data Access in Hybrid Cloud with Alluxio
Securely Enhancing Data Access in Hybrid Cloud with AlluxioSecurely Enhancing Data Access in Hybrid Cloud with Alluxio
Securely Enhancing Data Access in Hybrid Cloud with Alluxio
 
AltaVault
AltaVaultAltaVault
AltaVault
 
Red hat on_power-ibm _lop_day_2015
Red hat on_power-ibm _lop_day_2015Red hat on_power-ibm _lop_day_2015
Red hat on_power-ibm _lop_day_2015
 
Real World Modern Development Use Cases with RackHD and Adobe
Real World Modern Development Use Cases with RackHD and AdobeReal World Modern Development Use Cases with RackHD and Adobe
Real World Modern Development Use Cases with RackHD and Adobe
 
Hack Shack workshop: Persist, optimize and accelerate using persistent storag...
Hack Shack workshop: Persist, optimize and accelerate using persistent storag...Hack Shack workshop: Persist, optimize and accelerate using persistent storag...
Hack Shack workshop: Persist, optimize and accelerate using persistent storag...
 
Aerospike AdTech Gets Hacked in Lower Manhattan
Aerospike AdTech Gets Hacked in Lower ManhattanAerospike AdTech Gets Hacked in Lower Manhattan
Aerospike AdTech Gets Hacked in Lower Manhattan
 
Accelerating Data Computation on Ceph Objects
Accelerating Data Computation on Ceph ObjectsAccelerating Data Computation on Ceph Objects
Accelerating Data Computation on Ceph Objects
 
Handling Increasing Load and Reducing Costs Using Aerospike NoSQL Database - ...
Handling Increasing Load and Reducing Costs Using Aerospike NoSQL Database - ...Handling Increasing Load and Reducing Costs Using Aerospike NoSQL Database - ...
Handling Increasing Load and Reducing Costs Using Aerospike NoSQL Database - ...
 
Hack Shack workshop: Improve day two operations with your own custom automati...
Hack Shack workshop: Improve day two operations with your own custom automati...Hack Shack workshop: Improve day two operations with your own custom automati...
Hack Shack workshop: Improve day two operations with your own custom automati...
 
Cassandra @ Yahoo Japan | Cassandra Summit 2016
Cassandra @ Yahoo Japan | Cassandra Summit 2016Cassandra @ Yahoo Japan | Cassandra Summit 2016
Cassandra @ Yahoo Japan | Cassandra Summit 2016
 
OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)
 
Running a High Performance NoSQL Database on Amazon EC2 for Just $1.68/Hour
Running a High Performance NoSQL Database on Amazon EC2 for Just $1.68/HourRunning a High Performance NoSQL Database on Amazon EC2 for Just $1.68/Hour
Running a High Performance NoSQL Database on Amazon EC2 for Just $1.68/Hour
 
Accelerate Analytics and ML in the Hybrid Cloud Era
Accelerate Analytics and ML in the Hybrid Cloud EraAccelerate Analytics and ML in the Hybrid Cloud Era
Accelerate Analytics and ML in the Hybrid Cloud Era
 
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
 
HPC on Azure for Reserach
HPC on Azure for ReserachHPC on Azure for Reserach
HPC on Azure for Reserach
 

Viewers also liked

Viewers also liked (7)

Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
 
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 
The impact of innovation on travel and tourism industries (World Travel Marke...
The impact of innovation on travel and tourism industries (World Travel Marke...The impact of innovation on travel and tourism industries (World Travel Marke...
The impact of innovation on travel and tourism industries (World Travel Marke...
 
Open Source Creativity
Open Source CreativityOpen Source Creativity
Open Source Creativity
 
Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 

Similar to Déploiement dynamique d'applications OSGi sur le Cloud

Current state of affairs cloud computing
Current state of affairs   cloud computingCurrent state of affairs   cloud computing
Current state of affairs cloud computing
Chirag Jog
 
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
catherinewall
 
GIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SC
GIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SCGIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SC
GIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SC
Jim Tochterman
 
The Open PaaS Stack
The Open PaaS StackThe Open PaaS Stack
The Open PaaS Stack
Guy Korland
 
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison PresentationMicrosoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Private Cloud
 

Similar to Déploiement dynamique d'applications OSGi sur le Cloud (20)

OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, SmileOCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
 
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
 
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
 
OpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid InfrastructureOpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid Infrastructure
 
OSGi DevCon 2009 Review
OSGi DevCon 2009 ReviewOSGi DevCon 2009 Review
OSGi DevCon 2009 Review
 
DICE & Cloudify – Quality Big Data Made Easy
DICE & Cloudify – Quality Big Data Made EasyDICE & Cloudify – Quality Big Data Made Easy
DICE & Cloudify – Quality Big Data Made Easy
 
Cloudy Ajax 08 10
Cloudy Ajax 08 10Cloudy Ajax 08 10
Cloudy Ajax 08 10
 
OSGi DevCon US 2010 Review
OSGi DevCon US 2010 ReviewOSGi DevCon US 2010 Review
OSGi DevCon US 2010 Review
 
resumePdf
resumePdfresumePdf
resumePdf
 
Current state of affairs cloud computing
Current state of affairs   cloud computingCurrent state of affairs   cloud computing
Current state of affairs cloud computing
 
Cwin16 tls-a micro-service deployment - v1.0
Cwin16 tls-a micro-service deployment - v1.0Cwin16 tls-a micro-service deployment - v1.0
Cwin16 tls-a micro-service deployment - v1.0
 
OCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platform
OCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platformOCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platform
OCCIware@POSS 2016 - an extensible, standard XaaS cloud consumer platform
 
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
 
GIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SC
GIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SCGIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SC
GIS & Cloud Computing - GAASC 2010 Fall Summit - Florence, SC
 
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
 
OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...
OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...
OCCIware, an extensible, standard-based XaaS consumer platform to manage ever...
 
The Open PaaS Stack
The Open PaaS StackThe Open PaaS Stack
The Open PaaS Stack
 
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison PresentationMicrosoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
 
7 flavours of devops implementation
7 flavours of devops implementation7 flavours of devops implementation
7 flavours of devops implementation
 
OSGi Cloud Ecosystems
OSGi Cloud EcosystemsOSGi Cloud Ecosystems
OSGi Cloud Ecosystems
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+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@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
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
 
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
 
+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...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
"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 ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
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
 

Déploiement dynamique d'applications OSGi sur le Cloud

  • 1. Dynamic Deployment of Distributed OSGi applications on a IaaS Noël de Palma, Didier Donsez, Alain Tchana, Linh-Manh Pham Université de Grenoble, LIG Equipe ERODS
  • 2. Résumé Noël de Palma, Didier Donsez, Alain Tchana, Linh-Manh Pham (Université de Grenoble, LIG équipe ERODS), "Déploiement dynamique d'applications OSGi sur le Cloud" Résumé: Les structures informatiques dématérialisées (informatique en nuage, Cloud Computing) ont en quelques années révolutionné l’usage des ressources informatiques dans les entreprises. Les avancées en terme de virtualisation et de grilles de calcul ont permis une évolution des infrastructures classiques vers des infrastructures d'hébergement mutualisées et virtualisées. De nombreux travaux académiques et industriels s’intéressent à l'utilisation de la technologie OSGi pour déployer des applications complexes. Ces opérations de déploiement sont en général difficiles du fait de la nature très dynamique des infrastructures en nuage. Nous présentons ici, RoboConf, un gestionnaire de déploiement et de configuration automatique d'applications sur une infrastructure PaaS OSGi. Nous démontrons ensuite RoboConf avec le déploiement automatique d'une application distribuée non triviale dans des conteneurs Apache Karaf sur des machines virtuelles Amazon EC2 instanciées à la demande.
  • 3. Outline  Context : OSGi & Cloud  Roboconf  Roboconf for an OSGi PaaS  Demo
  • 4. OSGi specifications  De-facto Standard for Modular Java applications  Dynamic Deployment of Modules  without rebooting ; exception : Eclipse plugins  SOA principles in Java applications  Specifications target standalone applications  BUT  Good candidate for distributed applications and distributed middlewares  JEE, EEG, DOSGi, ...
  • 5. Cloud Computing  Outsourcing of IT ressources  Network, CPU Core, Memory, Storage  Pay per Use  Elasticity  on-demand ressource allocation/desallocation  Virtualization technics  VM (VMWare, Xen, VirtualBox …), LCX, ...  Types : Public, Private and Hybrid Clouds  Models : IaaS, PaaS, SaaS (Map Reduce for Big Data)  Cloud Providers  Amazon, Google, Microsoft, HP, OVH, Eolas, …  Concerns : Optimize physical machines numbers and consumed electricity.
  • 6. OSGi & Cloud  Enterprise EG  Cloud Computing (RFP 133)  OSGi Cloud Ecosystems (RFC 183)  http://fr.slideshare.net/bosschaert/osgi-cloud-ecosystems   Cloud-ready OSGi platforms  Paremus, RedHat Jboss, PeerGreen …  Academic researches  OSGi4C
  • 7. Cloud Computing : Application Administrators point of view A S D 0) create an EC2 account and enter (company's) credit card number 1) Define a configuration 2) Start AMIs 3) Configure dependencies (@IP, port, security, firewalls …) 4) Monitor performance and usage Time consuming Error Prone Requests
  • 8. Cloud Computing : Application Administrators point of view A A S S D D 0) create an EC2 account and enter (company's) credit card number 1) Define a configuration 2) Start AMIs 3) Configure dependencies (@IP, port, security, firewalls …) 4) Monitor performance and usage 5) Change the configuration 6) Start additionnal AMIs / Stop existing AMIs / Migrate AMIs 7) Re-Configure dependencies (@IP, port, security, …) ... 10) Pay monthly $$$$$ for CPU time, ... Time consuming Error Prone Nightmare Requests Requests
  • 9. Roboconf  Motivation  Automatic deployment/evolution of distributed application configuration on a IaaS  What does it do ?  Instantiates and manages VM in the IaaS  Deploys components on those VM  Makes those components to configure each other  RoboConf DSL : describing configurations  Fully asynchronous
  • 10. Roboconf DSL Configuration Model  Types (inheritance) & Instances & VM  Import & Export Variables → pubsub lifecycles scripts in BASH, PUPPET, …
  • 11. Deployment & Configuration PubSub vars : Act as a distributed configuration manager AMIs Repo Scripts Repo Artifacts Repo AMIs contains a RoboConf agent
  • 12. Algorithm to exchange vars • foreach export: – subscribe to “import.$exportName” – publish exported vars on “export.$exportName” • foreach import: – subscribe to “export.$importName” – publish notification on “import.$importName” • if receive notification  publish exported vars on “export.$exportName” Asynchronous Exchanges → Instances can be configured in any order! → Application is dynamic! Component can be added without effort! 12
  • 13. Example with a simple JEE conf
  • 14. Roboconf for OSGi ● Motivations : OSGi PaaS  Deploy and configure OSGi containers and then «Distributed » OSGi applications on VM IaaS  Reuse/Share OSGi applications in same OSGi containers  Isolate OSGi applications in differents OSGi containers or VMs  Scripts  for Felix and Karaf Containers  for OSGi Applications  sets of bundles, features, CA cfgs and sys properties  Repos  OSGi containers (Felix, Karaf, ...)  Bundles (.jar, tgz of .jar, .cfg, .sysprop)  Private or Public (Felix OBR, Maven Central, ...)
  • 16. Demonstration SpecJMS like Configuration (DSL) VM2 IaaS : EC2 OSGi Container : Apache Karaf App : erzatz of SpecJMS benchmark VM3 VM1 Scripts Repo Bundles Repo roboconf console
  • 17. Demonstration SpecJMS like Configuration (DSL) VM2 IaaS : EC2 OSGi Container : Apache Karaf App : erzatz of SpecJMS benchmark KF VM3 KF VM1 KF Scripts Repo Bundles Repo roboconf console
  • 18. Demonstration SpecJMS like Configuration (DSL) VM2 IaaS : EC2 OSGi Container : Apache Karaf App : erzatz of SpecJMS benchmark KF JMS Sender VM3 KF JMS Receiver VM1 KF JMS Server JNDI Server Scripts Repo Containers & Bundles Repo roboconf console
  • 19. Add a new sender (from the console) VM2 KF JMS Sender VM3 KF JMS Receiver VM1 KF JMS Server JNDI Server Scripts Repo Containers & Bundles Repo VM4 KF JMS Sender KF JMS Sender roboconf console
  • 20. Add a new receiver (from the console) VM2 KF JMS Sender VM3 KF JMS Receiver VM1 KF JMS Server JNDI Server Scripts Repo Containers & Bundles Repo VM4 KF JMS Sender KF JMS Sender VM5 KF JMS Receiver roboconf console
  • 21. Conclusion & Perpectives  Deployment and Configuration for an OSGi PaaS  More IaaS : Google, Azure, OpenStack, ...  More scripting/configuration tools  OSGi JMX, Permission Admin, MetaType  Remote Deployment, Deployment Admin  Coordination with Cellar's Distributed CA  More lifecycle scripts : Ant, ...  More monitoring/design tools  Releasing to FOSS
  • 22. Un peu de pub ...  Ecole ICAR 2013 sur le Cloud Computing 26 au 30 Aout 2013 à Grenoble  http://erods.liglab.fr/icar2013/  Avec Microsoft, Intel, OVH, Eolas, OW2 ...
  • 23. Extra
  • 24. Puppet https://puppetlabs.com/ ● Popular Configuration manager ● Defines the desired state of the system ● using Packages, Files, Services