SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Cloud Controller Architecture
in Apache Stratos (incubation) 4.0.0

Reka Thirunavukkarasu
Committer and PPMC Member Apache Stratos (Incubating)
Software Engineer, WSO2 Inc
3rd of Dec 2013
Agenda
❖

Cloud Controller Architecture

❖

Topology handling
publishing complete topology
publishing all the events to topology

❖

Managing IaaS via jclouds
Inbuilt support for AWS ec2, openstack and vcloud
Ability to manage instances across different partitions(providers, regions and zones)
Allow to plug any IaaS

❖

Building information model from
Cartridge deployment
partition Vs IaasProvider
Subscription information
Managing instances

❖

Partition validation

❖

Hot deployment for cloud-controller.xml and cartridge definition

❖

Persistence storage for complete Topology and for information model

2
Connected over the message bus

3
Cloud Controller Architecture

4
Topology
{"serviceMap":{
"php":{
"serviceName":"php",
"clusterMap":{
"phptest.qmog.apache.stratos.com.php.domain":{
"serviceName":"php",
"clusterId":"test.apache.stratos.com.php.domain",
"hostName":"phptest.apache.stratos.com",
"tenantRange":"*",
"autoscalePolicyName":"economyPolicy",
"averageRequestsInFlight":0.0,
"requestsInFlightSecondDerivative":0.0,
"requestsInFlightGradient":0.0,
"memberMap":{..........................

5
Sample Topology
"memberMap":{
"test.apache.stratos.com.php.domain48c5587e-d1e8-4873-92d4-d4dad67be96f":{
"serviceName":"php",
"clusterId":"test.apache.stratos.com.php.domain ",
"memberId":"t1.apache.stratos.com.domain48c5587e-d1e8-4873-92d4-d4dad67be96f",
"status":"Activated",
"loadAverage":0.0,
"memoryConsumption":0.0,
"memberIp":"172.16.2.20",
"portMap":{
"http":{
"protocol":"http",
"value":8282,
"proxy":8280
}
}
}
}
}
}

6
Topology Handling
➢

One only publisher for the Topology

➢

Receive all the events to Topology

➢

➢

Publish events to Topology for
subscribers to build the Topology
Build it's own Topology and publish
complete Topology periodically

7
Managing nodes via jclouds
➢

Inbuilt support for Aws ec2, openstack and vlcoud.

➢

Any IaaS can be plugged

➢

Improved IaaS layer
support partitioning (provider, region, zone)
support permanent storage for nodes (openstack-volume)

8
Information Model

9
Building Information Model
➢

Cartridge deployment

➢

Cloud-controller.xml deployment

➢

Subscription

➢

Autoscaling decision

10
Identifying the instance state
➢

Subscriber to the instance.status topic.

instance.status

11
Partition Validation
➢

Partition gets validated in cloud controller

➢

Who defines the partition..?
Autoscaler defines the partition
<partitions>
<partition id="P1">
<!-- prvider is a required element -->
<provider>ec2</provider>
<property name="region" value="ap-southeast-1"/>
</partition>
</partitions>

➢

Validate deployment policy
Why policy needs a validation..?

12
Hot deployment
➢

Improved Cartridge schema
support any transport in the cartridge definition
dynamic payload handling

➢

Improved cloud-controller schema
nothing much..!

13
Partition Vs IaaSProvider
<iaasProvider type="openstack_region1" name="openstack specific details">
<className>org.wso2.carbon.stratos.cloud.controller.iaases.OpenstackNovaIaas</className>
<provider>openstack-nova</provider>
<identity svns:secretAlias="cloud.controller.openstack.identity">xxx:xxx</identity>
<credential svns:secretAlias="cloud.controller.openstack.credential">xxxxxxx</credential>
<property name="jclouds.endpoint" value="http://<xxxxx>:5000/v2.0" />
<property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/>
<property name="jclouds.api-version" value="2.0/" />

</iaasProvider>
<iaasProvider type="openstack_zone1" name="openstack specific details">
<className>org.wso2.carbon.stratos.cloud.controller.iaases.OpenstackNovaIaas</className>
<provider>openstack-nova</provider>
<identity svns:secretAlias="cloud.controller.openstack.identity">xxx:xxx</identity>
<credential svns:secretAlias="cloud.controller.openstack.credential">xxxxxxx</credential>
<property name="jclouds.endpoint" value="http://<xxxxx>:5000/v2.0" />
<property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/>
<property name="jclouds.api-version" value="2.0/" />

</iaasProvider>

14
How the Topology and Information model persist?
➢

Using registry to persist the Topology and the information
model

15
Thank you...!

Questions...?

16

Contenu connexe

Tendances

Apache stratos hangout 3
Apache stratos hangout   3Apache stratos hangout   3
Apache stratos hangout 3
Nirmal Fernando
 
Apache Stratos Incubator - hangout 2
Apache Stratos Incubator - hangout   2Apache Stratos Incubator - hangout   2
Apache Stratos Incubator - hangout 2
Nirmal Fernando
 
Overview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architectureOverview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architecture
Lakmal Warusawithana
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack Liberty
Stephen Gordon
 

Tendances (20)

Ceilometer Updates - Kilo Edition
Ceilometer Updates - Kilo EditionCeilometer Updates - Kilo Edition
Ceilometer Updates - Kilo Edition
 
State of openstack industry: Why we are doing this
State of openstack industry: Why we are doing thisState of openstack industry: Why we are doing this
State of openstack industry: Why we are doing this
 
Apache stratos hangout 3
Apache stratos hangout   3Apache stratos hangout   3
Apache stratos hangout 3
 
Prometheus
PrometheusPrometheus
Prometheus
 
Apache Stratos Incubator - hangout 2
Apache Stratos Incubator - hangout   2Apache Stratos Incubator - hangout   2
Apache Stratos Incubator - hangout 2
 
Overview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architectureOverview of apache stratos (incubation) 4.0 architecture
Overview of apache stratos (incubation) 4.0 architecture
 
Hey Relational Developer, Let's Go Crazy (Patrick McFadin, DataStax) | Cassan...
Hey Relational Developer, Let's Go Crazy (Patrick McFadin, DataStax) | Cassan...Hey Relational Developer, Let's Go Crazy (Patrick McFadin, DataStax) | Cassan...
Hey Relational Developer, Let's Go Crazy (Patrick McFadin, DataStax) | Cassan...
 
NFVO based on ManageIQ - OPNFV Summit 2016 Demo
NFVO based on ManageIQ - OPNFV Summit 2016 DemoNFVO based on ManageIQ - OPNFV Summit 2016 Demo
NFVO based on ManageIQ - OPNFV Summit 2016 Demo
 
Zabbix at scale with Elasticsearch
Zabbix at scale with ElasticsearchZabbix at scale with Elasticsearch
Zabbix at scale with Elasticsearch
 
Topologies of OpenStack
Topologies of OpenStackTopologies of OpenStack
Topologies of OpenStack
 
Run Containerized Database SQL Server 2017 Linux
Run Containerized Database SQL Server 2017 LinuxRun Containerized Database SQL Server 2017 Linux
Run Containerized Database SQL Server 2017 Linux
 
Glance Updates - Kilo Edition
Glance Updates - Kilo EditionGlance Updates - Kilo Edition
Glance Updates - Kilo Edition
 
Being Stateful in Kubernetes
Being Stateful in KubernetesBeing Stateful in Kubernetes
Being Stateful in Kubernetes
 
A Microservices approach with Cassandra and Quarkus | DevNation Tech Talk
A Microservices approach with Cassandra and Quarkus | DevNation Tech TalkA Microservices approach with Cassandra and Quarkus | DevNation Tech Talk
A Microservices approach with Cassandra and Quarkus | DevNation Tech Talk
 
Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018
Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018
Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018
 
Cloud Computing PPT
Cloud Computing PPTCloud Computing PPT
Cloud Computing PPT
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
CERN User Story
CERN User StoryCERN User Story
CERN User Story
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack Liberty
 
Being Stateful In Kubernetes
Being Stateful In KubernetesBeing Stateful In Kubernetes
Being Stateful In Kubernetes
 

En vedette

εργασια ιστοριας
εργασια ιστοριαςεργασια ιστοριας
εργασια ιστοριας
Baxevani Evi
 
Rangkuman teknologi pendidikan
Rangkuman teknologi pendidikanRangkuman teknologi pendidikan
Rangkuman teknologi pendidikan
Viki Dita
 
Get connected bender
Get connected benderGet connected bender
Get connected bender
Doina Morari
 

En vedette (20)

Hubungan fungsi trigonometri
Hubungan fungsi trigonometriHubungan fungsi trigonometri
Hubungan fungsi trigonometri
 
They Did It!
They Did It!They Did It!
They Did It!
 
εργασια ιστοριας
εργασια ιστοριαςεργασια ιστοριας
εργασια ιστοριας
 
Anavryta Unesco 2015
Anavryta Unesco 2015Anavryta Unesco 2015
Anavryta Unesco 2015
 
ANIMALIA
ANIMALIAANIMALIA
ANIMALIA
 
Synthesis presentation
Synthesis presentationSynthesis presentation
Synthesis presentation
 
Naturasep shampoo & cond
Naturasep shampoo & cond Naturasep shampoo & cond
Naturasep shampoo & cond
 
Synthesis presentation
Synthesis presentationSynthesis presentation
Synthesis presentation
 
Technical Diploma Health Information Technology
Technical Diploma Health Information TechnologyTechnical Diploma Health Information Technology
Technical Diploma Health Information Technology
 
Rangkuman teknologi pendidikan
Rangkuman teknologi pendidikanRangkuman teknologi pendidikan
Rangkuman teknologi pendidikan
 
In house-photos-myths
In house-photos-mythsIn house-photos-myths
In house-photos-myths
 
Get connected bender
Get connected benderGet connected bender
Get connected bender
 
Sistem berkas
Sistem berkasSistem berkas
Sistem berkas
 
брось природе спасательной круг
брось природе спасательной кругбрось природе спасательной круг
брось природе спасательной круг
 
motivation by matiullah
motivation by matiullahmotivation by matiullah
motivation by matiullah
 
OCR A2 Media Studies - Unit G324 - Shot List
OCR A2 Media Studies - Unit G324 - Shot ListOCR A2 Media Studies - Unit G324 - Shot List
OCR A2 Media Studies - Unit G324 - Shot List
 
Creative Inventions
Creative InventionsCreative Inventions
Creative Inventions
 
I-Lappy- the Future Laptop
I-Lappy- the Future LaptopI-Lappy- the Future Laptop
I-Lappy- the Future Laptop
 
Mobile sniffer project
Mobile sniffer projectMobile sniffer project
Mobile sniffer project
 
đE cuong thiet bị phu b3
đE cuong thiet bị phu b3đE cuong thiet bị phu b3
đE cuong thiet bị phu b3
 

Similaire à Cloud controller Architecture in Apache stratos 4.0 incubation

Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data CenterIris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Ryousei Takano
 

Similaire à Cloud controller Architecture in Apache stratos 4.0 incubation (20)

Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data CenterIris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
 
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
 
Cloud Computing Industrial Training In Chandigarh
Cloud Computing Industrial Training In ChandigarhCloud Computing Industrial Training In Chandigarh
Cloud Computing Industrial Training In Chandigarh
 
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
 
Stream and Batch Processing in the Cloud with Data Microservices
Stream and Batch Processing in the Cloud with Data MicroservicesStream and Batch Processing in the Cloud with Data Microservices
Stream and Batch Processing in the Cloud with Data Microservices
 
Secure Kafka at scale in true multi-tenant environment ( Vishnu Balusu & Asho...
Secure Kafka at scale in true multi-tenant environment ( Vishnu Balusu & Asho...Secure Kafka at scale in true multi-tenant environment ( Vishnu Balusu & Asho...
Secure Kafka at scale in true multi-tenant environment ( Vishnu Balusu & Asho...
 
Introduction To Apache Mesos
Introduction To Apache MesosIntroduction To Apache Mesos
Introduction To Apache Mesos
 
OpenStack APIs: Present and Future (Beta Talk)
OpenStack APIs: Present and Future (Beta Talk)OpenStack APIs: Present and Future (Beta Talk)
OpenStack APIs: Present and Future (Beta Talk)
 
Jetstream: Accessible cloud computing for the national science and engineerin...
Jetstream: Accessible cloud computing for the national science and engineerin...Jetstream: Accessible cloud computing for the national science and engineerin...
Jetstream: Accessible cloud computing for the national science and engineerin...
 
Deploying a 3 tier application using docker
Deploying a 3 tier application using dockerDeploying a 3 tier application using docker
Deploying a 3 tier application using docker
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on Mesos
 
Build cloud native solution using open source
Build cloud native solution using open source Build cloud native solution using open source
Build cloud native solution using open source
 
Changing landscapes in data integration - Kafka Connect for near real-time da...
Changing landscapes in data integration - Kafka Connect for near real-time da...Changing landscapes in data integration - Kafka Connect for near real-time da...
Changing landscapes in data integration - Kafka Connect for near real-time da...
 
«Практика построения высокодоступного решения на базе Cloud Foundry Paas»
«Практика построения высокодоступного решения на базе Cloud Foundry Paas»«Практика построения высокодоступного решения на базе Cloud Foundry Paas»
«Практика построения высокодоступного решения на базе Cloud Foundry Paas»
 
Cloud Computing Platform-CloudStack
Cloud Computing Platform-CloudStackCloud Computing Platform-CloudStack
Cloud Computing Platform-CloudStack
 
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
Continuous Deployment with Akka.Cluster and Kubernetes (Akka.NET)
 
The New Stack Container Summit Talk
The New Stack Container Summit TalkThe New Stack Container Summit Talk
The New Stack Container Summit Talk
 
Openstack on Fedora, Fedora on Openstack: An Introduction to cloud IaaS
Openstack on Fedora, Fedora on Openstack: An Introduction to cloud IaaSOpenstack on Fedora, Fedora on Openstack: An Introduction to cloud IaaS
Openstack on Fedora, Fedora on Openstack: An Introduction to cloud IaaS
 
Real time data pipeline with spark streaming and cassandra with mesos
Real time data pipeline with spark streaming and cassandra with mesosReal time data pipeline with spark streaming and cassandra with mesos
Real time data pipeline with spark streaming and cassandra with mesos
 
Realtime Data Pipeline with Spark Streaming and Cassandra with Mesos (Rahul K...
Realtime Data Pipeline with Spark Streaming and Cassandra with Mesos (Rahul K...Realtime Data Pipeline with Spark Streaming and Cassandra with Mesos (Rahul K...
Realtime Data Pipeline with Spark Streaming and Cassandra with Mesos (Rahul K...
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+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)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
+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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Cloud controller Architecture in Apache stratos 4.0 incubation