SlideShare a Scribd company logo
1 of 38
Download to read offline
BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA
HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Introducing Apache Mesos
Matthias Furrer
Bruno Fuss
A modern cluster manager optimizing resource utilization
Agenda
TechEvent March 2017 - Introducing Apache Mesos2 03/2017
1. Introduction
Architecture (components)
Distributions
Other Offerings
2. Frameworks
Service Scheduling and
Management Frameworks
Big Data Frameworks
3. HA Components
Zookeeper
Marathon
3. Configuration
Mesos
Marathon
Kafka
4. Live Demo
Mesos
Kafka
5. Summary
Use Cases / Benefits
TechEvent March 2017 - Introducing Apache Mesos3 03/2017
Introduction
Introducing Apache Mesos
A software layer to aggregate servers into one processing unit
TechEvent March 2017 - Introducing Apache Mesos4 03/2017
Distributed Cluster Management Software
System Resources (Memory, Storage) abstraction from Hardware
Metascheduler („scheduler of schedulers“)
Distributed Systems Kernel / Distributed Datacenter OS
Supports Mesos and Docker Containers
Open Source
– Runs under Apache License 2.0
Cross Plattform
– Written in C++
– Runs on Linux/Posix systems, Experimental for Windows
Architecture - Features
TechEvent March 2017 - Introducing Apache Mesos5 03/2017
Scalability
– Scales up to over 50‘000 nodes
Resource isolation
– Linux cgroups or Docker containers
Efficiency
– Resource scheduling accross multiple frameworks/applications
High availability
– Uses Apache Zookeeper (distributed configuration and synchronization service)
Monitoring Interface
– Web UI
Components
TechEvent March 2017 - Introducing Apache Mesos6 03/2017
Master
– Mediating agent resources
Agents
– Manage resources on individual nodes and executes
tasks
Frameworks
Applications
– Systems running on mesos consisting of a scheduler and an
executor (e.g. Spark, Storm ,Cassandra)
Chronos
– Fault tolerant job scheduler, can handle dependencies - acts
as a cron for mesos
Marathon
– Framework for running long-running services – init.d for
mesos
Architecture – High Level Overview
TechEvent March 2017 - Introducing Apache Mesos7 03/2017
Zookeeper ensures high availability of masters
Master daemon manages agent (slave) daemons
Mesos frameworks run tasks on agents (slaves)
Master decides how many resources to offer to each
framework according to a given organizational policy
(e.g fair sharing or strict priority).
Framework running on top of Mesos consists of two
components: a scheduler that registers with the master
to be offered resources, and an executor process that
is launched on agent nodes to run the framework’s
taskSource: https://mesos.apache.org/documentation/latest/architecture
Architecture – Resource Offering
TechEvent March 2017 - Introducing Apache Mesos8 03/2017
1. Agent 1 reports to the master that it has 4
CPUs and 4 GB of memory free. The master
then invokes the allocation policy module
2. The master sends a resource offer describing
what is available on agent 1 to framework
3. The framework’s scheduler replies to the
master with information about two tasks to
run on the agent
4. Master sends the tasks to the agent, which
allocates appropriate resources to the
framework’s executor, which launches the
two tasks. Because CPU/RAM Resources
are still unallocated, the allocation module
may now offer them to framework 2.
Source: https://mesos.apache.org/documentation/latest/architecture
Distributions– Mesosphere DC/OS
TechEvent March 2017 - Introducing Apache Mesos9 03/2017
Commercial version: Mesosphere Datacenter Operating System
Open Source version: DC/OS available - derived from Mesosphere’s Datacenter
Operating System
Based on Mesos and Marathon
Supports Docker as well as native Mesos containers
Container orchestration capabilities for Docker and Mesos containers including
automatic workload recovery, security, networking, service discovery
“Push-button installation” of complex distributed systems (including HDFS, Apache
Spark, Apache Kafka, Apache Cassandra and more) with DC/OS Universe
Runs on bare-metal, virtual (vSphere or OpenStack) and cloud (AWS, Azure, GCE)
Other Offerings
TechEvent March 2017 - Introducing Apache Mesos10 03/2017
Kubernetes (Google / Cloud Native Computing Foundation CNCF)
Docker Swarm (Docker, Inc.)
Rkt fleet (CoreOS, Inc.)
Shipyard (Shipyard Project)
CloudSlang (Hewlett Packard Enterprise)
Ranger (Ranger Labs)
Azure Service Fabric (Microsoft)
TechEvent March 2017 - Introducing Apache Mesos11 03/2017
Frameworks
Service Scheduling and Management Frameworks
TechEvent March 2017 - Introducing Apache Mesos12 03/2017
Marathon
– Launch and monitor long-running applications. Controlling a high availability
environment, checking the applications' health and restarting services if nodes go
down
Chronos
– Distributed, fully fault-tolerant job scheduler. Can interact with systems (e.g.
Hadoop) even if the Mesos worker machine does not have the system installed
Apache Aurora
– Manages long-running services, cron jobs, and ad-hoc jobs
Consul
– Service Discovery and orchestration
Big Data Frameworks
TechEvent March 2017 - Introducing Apache Mesos13 03/2017
Apache Hadoop
– Distributed Data Processing, MapReduce and Distributed File System (HDFS)
Apache Spark
– Execution engine for large-scale data processing. Batch processing, iterative
processing, near real-time processing, and stream processing. Caching data in
memory with Resilient Distributed Datasets (RDD)
Apache Storm
– Real-time distributed stream event-processing engine
Apache Cassandra
– Open source scalable NoSQL database. Provides query language Cassandra
Query Language or CQL to communicate with database
Big Data Frameworks (II)
TechEvent March 2017 - Introducing Apache Mesos14 03/2017
Apache Kafka
– distributed publish-subscribe messaging system designed for speed, scalability,
reliability, and durability
Apache Samza
– Distributed stream processing framework. Using Kafka for messaging and Hadoop
YARN for resource management
Elasticsearch-Logstash-Kibana (ELK) stack
– End-to-End log analytics solution: Elasticsearch for search capabilities, Logstash
as a log management software and Kibana as the visualization layer
Mesos API
– Develop custom frameworks – schedulers and executors
TechEvent March 2017 - Introducing Apache Mesos15 03/2017
High Availability
Components
Apache Zookeeper
TechEvent March 2017 - Introducing Apache Mesos16 03/2017
ZooKeeper
– is a centralized service for maintaining configuration information, naming, providing distributed
synchronization, and providing group services.
Independent Apache Project
Characteristics
– Central Key/Value Store
– Containing additional Information like time stamps, versioning, …
– Simple
– Fast
– Designed for High Availability
Apache Zookeeper
TechEvent March 2017 - Introducing Apache Mesos17 03/2017
High Availability
– one Leader
– two or more Followers
– Quorum
Follower
Apache Zookeeper
TechEvent March 2017 - Introducing Apache Mesos18 03/2017
Data Model
– Hierarchical Namespace
– Z-Nodes (Zookeeper Nodes)
– Nodes identified by Path
• Ex.: /app1/p_1
Ephemeral Nodes
Leader Election
Conditional updates and watches
Atomic Transactions
Apache Zookeeper on Mesos
Zookeeper takes hand in everywhere Mesos needs to store and call up distributed
dynamic information
– Service Locations
– Service States
– Client Notifications
– Leader election for Mesos Masters and Frameworks (e.g. Marathon, etc.)
03/2017 TechEvent March 2017 - Introducing Apache Mesos19
Marathon
Marathon is a Apache Mesos framework for container orchestration
– designed for long running and stateful Apps (e.g. Database, App. Server, etc.)
Marathon is a meta framework
– used for managing other Mesos Frameworks (Chronos, Storm, …)
Container Support
– Mesos Containers (default)
– Docker Constainers (must be configured)
03/2017 TechEvent March 2017 - Introducing Apache Mesos20
Marathon
Features
– High Availability
– Constraints
– Service Discovery & Load Balancing (Mesos-DNS, Marathon-LB)
– Health Checking
– Event Subscription
– User Interfaces for managing services (start, stop, check, …)
• Marathon UI (GUI)
• REST API
– Basic Security (Authorisation, SSL, …)
03/2017 TechEvent March 2017 - Introducing Apache Mesos21
Marathon Example
Mesos Master and Agents (Slaves),
Zookeeper and Marathon started by
OS on each server (initd, systemd)
Marathon starts frameworks on
Mesos Agents (Chronos, JBoss,
Jetty, Rails)
Chronos, a fault tolerant job
scheduler acts itself as framework
and starts jobs (e.g. dumps a
database, send Emails)
03/2017 TechEvent March 2017 - Introducing Apache Mesos22
TechEvent March 2017 - Introducing Apache Mesos23 03/2017
Installation & Configuration
Installing and Configuring Apache Mesos
Installation
– http://mesos.apache.org/gettingstarted
– Different between CentOS 6 / 7
• Different Requirements (OS Packages, Libraries, …)
– configure / make / make install
– Zookeeper included
03/2017 TechEvent March 2017 - Introducing Apache Mesos24
Installing and Configuring Apache Mesos
Configuration
– http://mesos.apache.org/documentation/latest/configuration
– Provide parameters by config file or as startup parameter
– Required parameters (M: on Master, A: on Agent)
--zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos" (M,A)
--quorum=2 (M)
--work_dir=<workdir_path> (M,A)
--containerizers=mesos,docker (A)
03/2017 TechEvent March 2017 - Introducing Apache Mesos25
Installing and Configuring Marathon
Requirements
• Apache Mesos 1.1.1+
• Apache ZooKeeper
• JDK 1.8+
• Default JVM set to Java 8
Installation
– https://mesosphere.github.io/marathon/docs/
– Dowload/unpack Kit (tar)
03/2017 TechEvent March 2017 - Introducing Apache Mesos26
Installing and Configuring Marathon
Configuration
– Library: MESOS_NATIVE_JAVA_LIBRARY
• searches the common installation paths, /usr/lib and /usr/local/lib, for the Mesos native library.
If the library lives elsewhere in your configuration, set the environment variable
MESOS_NATIVE_JAVA_LIBRARY to its full path.
– Parameters: Marathon uses --master to find the Mesos masters, and --zk to find
ZooKeepers for storing state
--master="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos"
--zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/marathon"
03/2017 TechEvent March 2017 - Introducing Apache Mesos27
Installing and Configuring Apache Kafka for Mesos
TechEvent March 2017 - Introducing Apache Mesos28 03/2017
Installation
• According to https://github.com/mesos/kafka
• Make sure to retrieve the Kafka download from https://archive.apache.org/dist/kafka from a
version containing a fitting Scala library (Version indicated on the Mesos page may not be
correct) to avoid java.lang.NoSuchMethodError
Configuration
• Set Mesos connection info in kafka-mesos.properties
• Start Scheduler on ONE Mesos agent (Marathon can be used to manage)
• Add Broker(s)
• Start Broker(s)
TechEvent March 2017 - Introducing Apache Mesos29 03/2017
Demo
mesos1 mesos2
mesos3 mesos4 mesosn
…
mesosn-1
TVD Mesos Platform / Server
extendable
• additional Servers (on-premise)
• Cloud
• …
03/2017 TechEvent March 2017 - Introducing Apache Mesos30
BF2
Slide 30
BF2 Bruno Fuss, 3/8/2017
mesos1 mesos2
mesos3 mesos4 mesosn
…
mesosn-1
Mesos
Master
Mesos
Master
Mesos
Agent
Mesos
Agent
TVD Mesos Platform / Mesos Components
Mesos
Agent
Mesos
Agent
HA concept Master: active/passive
03/2017 TechEvent March 2017 - Introducing Apache Mesos31
mesos1 mesos2
mesos3 mesos4
Mesos
Master
Mesos
Master
Mesos
Agent
Mesos
Agent
Zoo
keeper
Zoo
keeper
Zoo
keeper
TVD Mesos Platform / Zookeeper Components
HA concept: active/active
1 leader
2-n followers
Zookeeper quorum= 2
mesosn
…
mesosn-1
Mesos
Agent
Mesos
Agent
03/2017 TechEvent March 2017 - Introducing Apache Mesos32
BF3
Slide 32
BF3 Bruno Fuss, 3/8/2017
TechEvent March 2017 - Introducing Apache Mesos33 03/2017
Summary
Use Cases / Why use Mesos
TechEvent March 2017 - Introducing Apache Mesos34 03/2017
Enhance resilience against failure
Need for application-specific scaling
Increase resource utilization
Wide range of workloads must be supported – e.g. Batch (Hadoop), Analysis
(Spark), real-time (Storm), data storage (HDFS, Cassandra)
Open source with vivid community
Developer API – minimal considerations about infrastructure details
Matthias Furrer
Principal Consultant, Application Integration & SOA
matthias.furrer@trivadis.com
03/2017 TechEvent March 2017 - Introducing Apache Mesos35
Bruno Fuss
Senior Consultant, Infrastructure Managed Services
Bruno.fuss@trivadis.com
Session Feedback – now
TechEvent March 2017 - Introducing Apache Mesos36 03/2017
Please use the Trivadis Events mobile app to give feedback on each session
Use "My schedule" if you have registered for a session
Otherwise use "Agenda" and the search function
If the mobile app does not work (or if you have a Windows smartphone), use your
smartphone browser
– URL: http://trivadis.quickmobileplatform.eu/
– User name: <your_loginname> (such as “svv”)
– Password: sent by e-mail...

More Related Content

What's hot

An introduction to terraform
An introduction to terraformAn introduction to terraform
An introduction to terraformJulien Pivotto
 
Getting started with Spring Security
Getting started with Spring SecurityGetting started with Spring Security
Getting started with Spring SecurityKnoldus Inc.
 
Principles of Monitoring Microservices
Principles of Monitoring MicroservicesPrinciples of Monitoring Microservices
Principles of Monitoring MicroservicesMichael Ducy
 
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWSAmazon Web Services
 
Azure DevOps Presentation
Azure DevOps PresentationAzure DevOps Presentation
Azure DevOps PresentationInCycleSoftware
 
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...Amazon Web Services
 
Azure Security Center- Zero to Hero
Azure Security Center-  Zero to HeroAzure Security Center-  Zero to Hero
Azure Security Center- Zero to HeroKasun Rajapakse
 
2019 DevSecOps Reference Architectures
2019 DevSecOps Reference Architectures2019 DevSecOps Reference Architectures
2019 DevSecOps Reference ArchitecturesSonatype
 
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft AzureAdvanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft AzureKemp
 
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdfPrometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdfKnoldus Inc.
 
App Modernisation with Microsoft Azure
App Modernisation with Microsoft AzureApp Modernisation with Microsoft Azure
App Modernisation with Microsoft AzureAdam Stephensen
 
실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018
실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018
실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018Amazon Web Services Korea
 
Let's Talk About: Azure Networking
Let's Talk About: Azure NetworkingLet's Talk About: Azure Networking
Let's Talk About: Azure NetworkingPedro Sousa
 
AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20
AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20
AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20Amazon Web Services Korea
 
Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...Alexandr Savchenko
 
[Azure Governance] Lesson 4 : Azure Policy
[Azure Governance] Lesson 4 : Azure Policy[Azure Governance] Lesson 4 : Azure Policy
[Azure Governance] Lesson 4 : Azure Policy☁ Hicham KADIRI ☁
 

What's hot (20)

Microservice architecture
Microservice architectureMicroservice architecture
Microservice architecture
 
An introduction to terraform
An introduction to terraformAn introduction to terraform
An introduction to terraform
 
Bitbucket
BitbucketBitbucket
Bitbucket
 
Getting started with Spring Security
Getting started with Spring SecurityGetting started with Spring Security
Getting started with Spring Security
 
Principles of Monitoring Microservices
Principles of Monitoring MicroservicesPrinciples of Monitoring Microservices
Principles of Monitoring Microservices
 
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS
 
Azure DevOps Presentation
Azure DevOps PresentationAzure DevOps Presentation
Azure DevOps Presentation
 
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
Using HashiCorp’s Terraform to build your infrastructure on AWS - Pop-up Loft...
 
Azure Security Center- Zero to Hero
Azure Security Center-  Zero to HeroAzure Security Center-  Zero to Hero
Azure Security Center- Zero to Hero
 
2019 DevSecOps Reference Architectures
2019 DevSecOps Reference Architectures2019 DevSecOps Reference Architectures
2019 DevSecOps Reference Architectures
 
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft AzureAdvanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdfPrometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
 
App Modernisation with Microsoft Azure
App Modernisation with Microsoft AzureApp Modernisation with Microsoft Azure
App Modernisation with Microsoft Azure
 
실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018
실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018
실전 프로젝트로 이야기하는 AWS IoT::김민성::AWS Summit Seoul 2018
 
Let's Talk About: Azure Networking
Let's Talk About: Azure NetworkingLet's Talk About: Azure Networking
Let's Talk About: Azure Networking
 
AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20
AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20
AWS 기반의 마이크로 서비스 아키텍쳐 구현 방안 :: 김필중 :: AWS Summit Seoul 20
 
Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...
 
[Azure Governance] Lesson 4 : Azure Policy
[Azure Governance] Lesson 4 : Azure Policy[Azure Governance] Lesson 4 : Azure Policy
[Azure Governance] Lesson 4 : Azure Policy
 

Viewers also liked

Monitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMonitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMatthias Furrer
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShareSlideShare
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache MesosMorteza Zakeri
 
BigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems BiologyBigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems BiologyHarsha Rajasimha
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksSlideShare
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Revelation Technologies
 
FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台Fit2Cloud
 
FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台Fit2Cloud
 
混合云安全创新实践应用
混合云安全创新实践应用混合云安全创新实践应用
混合云安全创新实践应用Hardway Hou
 
Beware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstackBeware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstackShuquan Huang
 
Comarch Paiement Mobile
Comarch Paiement MobileComarch Paiement Mobile
Comarch Paiement MobileComarch SAS
 
Slide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in NigeriaSlide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in NigeriaMarc Zander
 
DevOps+Data: Working with Source Control
DevOps+Data: Working with Source ControlDevOps+Data: Working with Source Control
DevOps+Data: Working with Source ControlEd Leighton-Dick
 
CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務Yu Lung Shao
 
Data center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the ITData center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the ITAlessandro Guli
 
Melt iron heterogeneous computing - lspe v3
Melt iron   heterogeneous computing - lspe v3Melt iron   heterogeneous computing - lspe v3
Melt iron heterogeneous computing - lspe v3Rinka Singh
 
PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用Junichi Okamura
 
Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129Junichi Okamura
 
Paradigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and MesosParadigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and MesosSathiya Narayanan
 

Viewers also liked (20)

Monitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMonitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11g
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
 
BigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems BiologyBigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems Biology
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!
 
FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台
 
CloudTao
CloudTaoCloudTao
CloudTao
 
FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台
 
混合云安全创新实践应用
混合云安全创新实践应用混合云安全创新实践应用
混合云安全创新实践应用
 
Beware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstackBeware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstack
 
Comarch Paiement Mobile
Comarch Paiement MobileComarch Paiement Mobile
Comarch Paiement Mobile
 
Slide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in NigeriaSlide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in Nigeria
 
DevOps+Data: Working with Source Control
DevOps+Data: Working with Source ControlDevOps+Data: Working with Source Control
DevOps+Data: Working with Source Control
 
CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務
 
Data center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the ITData center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the IT
 
Melt iron heterogeneous computing - lspe v3
Melt iron   heterogeneous computing - lspe v3Melt iron   heterogeneous computing - lspe v3
Melt iron heterogeneous computing - lspe v3
 
PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用
 
Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129
 
Paradigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and MesosParadigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and Mesos
 

Similar to Introducing Apache Mesos

OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemOSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemNETWAYS
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache MesosKnoldus Inc.
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesCisco DevNet
 
Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos Rahul Kumar
 
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...GeeksLab Odessa
 
Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management SystemErhan Bagdemir
 
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup BerlinApache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup BerlinTill Rohrmann
 
Compass first meetup
Compass first meetupCompass first meetup
Compass first meetupShuo Yang
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on MesosJoe Stein
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of KubernetesMesosphere Inc.
 
Scaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOSScaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOSMax Neunhöffer
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosDataWorks Summit
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesosnelsonadpresent
 
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps.com
 
Ceph-Mesos framework
Ceph-Mesos frameworkCeph-Mesos framework
Ceph-Mesos frameworkZhongyue Luo
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OSAmita Ekbote
 

Similar to Introducing Apache Mesos (20)

OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemOSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData Services
 
Apache mesos - overview
Apache mesos - overviewApache mesos - overview
Apache mesos - overview
 
Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos
 
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
 
Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management System
 
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup BerlinApache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
 
Compass first meetup
Compass first meetupCompass first meetup
Compass first meetup
 
Mesos introduction
Mesos introductionMesos introduction
Mesos introduction
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on Mesos
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 
Scaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOSScaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOS
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesos
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesos
 
Apache Mesos
Apache MesosApache Mesos
Apache Mesos
 
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
 
Ceph-Mesos framework
Ceph-Mesos frameworkCeph-Mesos framework
Ceph-Mesos framework
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
 
Kosmos Filesystem
Kosmos FilesystemKosmos Filesystem
Kosmos Filesystem
 

Recently uploaded

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Recently uploaded (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

Introducing Apache Mesos

  • 1. BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Introducing Apache Mesos Matthias Furrer Bruno Fuss A modern cluster manager optimizing resource utilization
  • 2. Agenda TechEvent March 2017 - Introducing Apache Mesos2 03/2017 1. Introduction Architecture (components) Distributions Other Offerings 2. Frameworks Service Scheduling and Management Frameworks Big Data Frameworks 3. HA Components Zookeeper Marathon 3. Configuration Mesos Marathon Kafka 4. Live Demo Mesos Kafka 5. Summary Use Cases / Benefits
  • 3. TechEvent March 2017 - Introducing Apache Mesos3 03/2017 Introduction
  • 4. Introducing Apache Mesos A software layer to aggregate servers into one processing unit TechEvent March 2017 - Introducing Apache Mesos4 03/2017 Distributed Cluster Management Software System Resources (Memory, Storage) abstraction from Hardware Metascheduler („scheduler of schedulers“) Distributed Systems Kernel / Distributed Datacenter OS Supports Mesos and Docker Containers Open Source – Runs under Apache License 2.0 Cross Plattform – Written in C++ – Runs on Linux/Posix systems, Experimental for Windows
  • 5. Architecture - Features TechEvent March 2017 - Introducing Apache Mesos5 03/2017 Scalability – Scales up to over 50‘000 nodes Resource isolation – Linux cgroups or Docker containers Efficiency – Resource scheduling accross multiple frameworks/applications High availability – Uses Apache Zookeeper (distributed configuration and synchronization service) Monitoring Interface – Web UI
  • 6. Components TechEvent March 2017 - Introducing Apache Mesos6 03/2017 Master – Mediating agent resources Agents – Manage resources on individual nodes and executes tasks Frameworks Applications – Systems running on mesos consisting of a scheduler and an executor (e.g. Spark, Storm ,Cassandra) Chronos – Fault tolerant job scheduler, can handle dependencies - acts as a cron for mesos Marathon – Framework for running long-running services – init.d for mesos
  • 7. Architecture – High Level Overview TechEvent March 2017 - Introducing Apache Mesos7 03/2017 Zookeeper ensures high availability of masters Master daemon manages agent (slave) daemons Mesos frameworks run tasks on agents (slaves) Master decides how many resources to offer to each framework according to a given organizational policy (e.g fair sharing or strict priority). Framework running on top of Mesos consists of two components: a scheduler that registers with the master to be offered resources, and an executor process that is launched on agent nodes to run the framework’s taskSource: https://mesos.apache.org/documentation/latest/architecture
  • 8. Architecture – Resource Offering TechEvent March 2017 - Introducing Apache Mesos8 03/2017 1. Agent 1 reports to the master that it has 4 CPUs and 4 GB of memory free. The master then invokes the allocation policy module 2. The master sends a resource offer describing what is available on agent 1 to framework 3. The framework’s scheduler replies to the master with information about two tasks to run on the agent 4. Master sends the tasks to the agent, which allocates appropriate resources to the framework’s executor, which launches the two tasks. Because CPU/RAM Resources are still unallocated, the allocation module may now offer them to framework 2. Source: https://mesos.apache.org/documentation/latest/architecture
  • 9. Distributions– Mesosphere DC/OS TechEvent March 2017 - Introducing Apache Mesos9 03/2017 Commercial version: Mesosphere Datacenter Operating System Open Source version: DC/OS available - derived from Mesosphere’s Datacenter Operating System Based on Mesos and Marathon Supports Docker as well as native Mesos containers Container orchestration capabilities for Docker and Mesos containers including automatic workload recovery, security, networking, service discovery “Push-button installation” of complex distributed systems (including HDFS, Apache Spark, Apache Kafka, Apache Cassandra and more) with DC/OS Universe Runs on bare-metal, virtual (vSphere or OpenStack) and cloud (AWS, Azure, GCE)
  • 10. Other Offerings TechEvent March 2017 - Introducing Apache Mesos10 03/2017 Kubernetes (Google / Cloud Native Computing Foundation CNCF) Docker Swarm (Docker, Inc.) Rkt fleet (CoreOS, Inc.) Shipyard (Shipyard Project) CloudSlang (Hewlett Packard Enterprise) Ranger (Ranger Labs) Azure Service Fabric (Microsoft)
  • 11. TechEvent March 2017 - Introducing Apache Mesos11 03/2017 Frameworks
  • 12. Service Scheduling and Management Frameworks TechEvent March 2017 - Introducing Apache Mesos12 03/2017 Marathon – Launch and monitor long-running applications. Controlling a high availability environment, checking the applications' health and restarting services if nodes go down Chronos – Distributed, fully fault-tolerant job scheduler. Can interact with systems (e.g. Hadoop) even if the Mesos worker machine does not have the system installed Apache Aurora – Manages long-running services, cron jobs, and ad-hoc jobs Consul – Service Discovery and orchestration
  • 13. Big Data Frameworks TechEvent March 2017 - Introducing Apache Mesos13 03/2017 Apache Hadoop – Distributed Data Processing, MapReduce and Distributed File System (HDFS) Apache Spark – Execution engine for large-scale data processing. Batch processing, iterative processing, near real-time processing, and stream processing. Caching data in memory with Resilient Distributed Datasets (RDD) Apache Storm – Real-time distributed stream event-processing engine Apache Cassandra – Open source scalable NoSQL database. Provides query language Cassandra Query Language or CQL to communicate with database
  • 14. Big Data Frameworks (II) TechEvent March 2017 - Introducing Apache Mesos14 03/2017 Apache Kafka – distributed publish-subscribe messaging system designed for speed, scalability, reliability, and durability Apache Samza – Distributed stream processing framework. Using Kafka for messaging and Hadoop YARN for resource management Elasticsearch-Logstash-Kibana (ELK) stack – End-to-End log analytics solution: Elasticsearch for search capabilities, Logstash as a log management software and Kibana as the visualization layer Mesos API – Develop custom frameworks – schedulers and executors
  • 15. TechEvent March 2017 - Introducing Apache Mesos15 03/2017 High Availability Components
  • 16. Apache Zookeeper TechEvent March 2017 - Introducing Apache Mesos16 03/2017 ZooKeeper – is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. Independent Apache Project Characteristics – Central Key/Value Store – Containing additional Information like time stamps, versioning, … – Simple – Fast – Designed for High Availability
  • 17. Apache Zookeeper TechEvent March 2017 - Introducing Apache Mesos17 03/2017 High Availability – one Leader – two or more Followers – Quorum Follower
  • 18. Apache Zookeeper TechEvent March 2017 - Introducing Apache Mesos18 03/2017 Data Model – Hierarchical Namespace – Z-Nodes (Zookeeper Nodes) – Nodes identified by Path • Ex.: /app1/p_1 Ephemeral Nodes Leader Election Conditional updates and watches Atomic Transactions
  • 19. Apache Zookeeper on Mesos Zookeeper takes hand in everywhere Mesos needs to store and call up distributed dynamic information – Service Locations – Service States – Client Notifications – Leader election for Mesos Masters and Frameworks (e.g. Marathon, etc.) 03/2017 TechEvent March 2017 - Introducing Apache Mesos19
  • 20. Marathon Marathon is a Apache Mesos framework for container orchestration – designed for long running and stateful Apps (e.g. Database, App. Server, etc.) Marathon is a meta framework – used for managing other Mesos Frameworks (Chronos, Storm, …) Container Support – Mesos Containers (default) – Docker Constainers (must be configured) 03/2017 TechEvent March 2017 - Introducing Apache Mesos20
  • 21. Marathon Features – High Availability – Constraints – Service Discovery & Load Balancing (Mesos-DNS, Marathon-LB) – Health Checking – Event Subscription – User Interfaces for managing services (start, stop, check, …) • Marathon UI (GUI) • REST API – Basic Security (Authorisation, SSL, …) 03/2017 TechEvent March 2017 - Introducing Apache Mesos21
  • 22. Marathon Example Mesos Master and Agents (Slaves), Zookeeper and Marathon started by OS on each server (initd, systemd) Marathon starts frameworks on Mesos Agents (Chronos, JBoss, Jetty, Rails) Chronos, a fault tolerant job scheduler acts itself as framework and starts jobs (e.g. dumps a database, send Emails) 03/2017 TechEvent March 2017 - Introducing Apache Mesos22
  • 23. TechEvent March 2017 - Introducing Apache Mesos23 03/2017 Installation & Configuration
  • 24. Installing and Configuring Apache Mesos Installation – http://mesos.apache.org/gettingstarted – Different between CentOS 6 / 7 • Different Requirements (OS Packages, Libraries, …) – configure / make / make install – Zookeeper included 03/2017 TechEvent March 2017 - Introducing Apache Mesos24
  • 25. Installing and Configuring Apache Mesos Configuration – http://mesos.apache.org/documentation/latest/configuration – Provide parameters by config file or as startup parameter – Required parameters (M: on Master, A: on Agent) --zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos" (M,A) --quorum=2 (M) --work_dir=<workdir_path> (M,A) --containerizers=mesos,docker (A) 03/2017 TechEvent March 2017 - Introducing Apache Mesos25
  • 26. Installing and Configuring Marathon Requirements • Apache Mesos 1.1.1+ • Apache ZooKeeper • JDK 1.8+ • Default JVM set to Java 8 Installation – https://mesosphere.github.io/marathon/docs/ – Dowload/unpack Kit (tar) 03/2017 TechEvent March 2017 - Introducing Apache Mesos26
  • 27. Installing and Configuring Marathon Configuration – Library: MESOS_NATIVE_JAVA_LIBRARY • searches the common installation paths, /usr/lib and /usr/local/lib, for the Mesos native library. If the library lives elsewhere in your configuration, set the environment variable MESOS_NATIVE_JAVA_LIBRARY to its full path. – Parameters: Marathon uses --master to find the Mesos masters, and --zk to find ZooKeepers for storing state --master="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos" --zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/marathon" 03/2017 TechEvent March 2017 - Introducing Apache Mesos27
  • 28. Installing and Configuring Apache Kafka for Mesos TechEvent March 2017 - Introducing Apache Mesos28 03/2017 Installation • According to https://github.com/mesos/kafka • Make sure to retrieve the Kafka download from https://archive.apache.org/dist/kafka from a version containing a fitting Scala library (Version indicated on the Mesos page may not be correct) to avoid java.lang.NoSuchMethodError Configuration • Set Mesos connection info in kafka-mesos.properties • Start Scheduler on ONE Mesos agent (Marathon can be used to manage) • Add Broker(s) • Start Broker(s)
  • 29. TechEvent March 2017 - Introducing Apache Mesos29 03/2017 Demo
  • 30. mesos1 mesos2 mesos3 mesos4 mesosn … mesosn-1 TVD Mesos Platform / Server extendable • additional Servers (on-premise) • Cloud • … 03/2017 TechEvent March 2017 - Introducing Apache Mesos30 BF2
  • 31. Slide 30 BF2 Bruno Fuss, 3/8/2017
  • 32. mesos1 mesos2 mesos3 mesos4 mesosn … mesosn-1 Mesos Master Mesos Master Mesos Agent Mesos Agent TVD Mesos Platform / Mesos Components Mesos Agent Mesos Agent HA concept Master: active/passive 03/2017 TechEvent March 2017 - Introducing Apache Mesos31
  • 33. mesos1 mesos2 mesos3 mesos4 Mesos Master Mesos Master Mesos Agent Mesos Agent Zoo keeper Zoo keeper Zoo keeper TVD Mesos Platform / Zookeeper Components HA concept: active/active 1 leader 2-n followers Zookeeper quorum= 2 mesosn … mesosn-1 Mesos Agent Mesos Agent 03/2017 TechEvent March 2017 - Introducing Apache Mesos32 BF3
  • 34. Slide 32 BF3 Bruno Fuss, 3/8/2017
  • 35. TechEvent March 2017 - Introducing Apache Mesos33 03/2017 Summary
  • 36. Use Cases / Why use Mesos TechEvent March 2017 - Introducing Apache Mesos34 03/2017 Enhance resilience against failure Need for application-specific scaling Increase resource utilization Wide range of workloads must be supported – e.g. Batch (Hadoop), Analysis (Spark), real-time (Storm), data storage (HDFS, Cassandra) Open source with vivid community Developer API – minimal considerations about infrastructure details
  • 37. Matthias Furrer Principal Consultant, Application Integration & SOA matthias.furrer@trivadis.com 03/2017 TechEvent March 2017 - Introducing Apache Mesos35 Bruno Fuss Senior Consultant, Infrastructure Managed Services Bruno.fuss@trivadis.com
  • 38. Session Feedback – now TechEvent March 2017 - Introducing Apache Mesos36 03/2017 Please use the Trivadis Events mobile app to give feedback on each session Use "My schedule" if you have registered for a session Otherwise use "Agenda" and the search function If the mobile app does not work (or if you have a Windows smartphone), use your smartphone browser – URL: http://trivadis.quickmobileplatform.eu/ – User name: <your_loginname> (such as “svv”) – Password: sent by e-mail...