SlideShare a Scribd company logo
© Copyright 2016 EMC Corporation. All rights reserved.© Copyright 2016 EMC Corporation. All rights reserved. 1
EXTENDING MESOS FOR STORAGE AS A GLOBAL RESOURCE
STEVE WONG
DEVELOPER ADVOCATE – EMC{code}
GREG MANN
SOFTWARE ENGINEER – Mesosphere
© Copyright 2016 EMC Corporation. All rights reserved. 2
GOT CONTAINERS AT SCALE?
YOU NEED A SCHEDULER…
© Copyright 2016 EMC Corporation. All rights reserved. 3
ASSUME 1000’S OF SERVICES
• How do you place an
assortment of
containers onto your
servers efficiently?
© Copyright 2016 EMC Corporation. All rights reserved. 4
WHAT’S A SCHEDULER?
• Manages compute nodes
– Takes reports from each node regarding their
health and available capacity
• Manages incoming work requests
– Accepts job requests
– Based on requirements, decides which node
should fulfill each request
– May attempt to optimize job placement to
maximize locality, utilization, etc.
on demand
scheduled
batch
© Copyright 2016 EMC Corporation. All rights reserved. 5
When you build a cluster, there’s no getting around it:
you are building a distributed system
• Difficult to design, build and operate
• Introduces complexity
Mesos takes on some of the "heavy lifting" of deploying and
operating a distributed system
MESOS AS A CLUSTER MANAGER
© Copyright 2016 EMC Corporation. All rights reserved. 6
A distributed systems kernel
• Abstracts many independent nodes into a single pool
• Negotiates among multiple schedulers
– Competing schedulers can suffer from resource starvation
– Mesos offers resources to frameworks to ensure fairness
WHAT IS MESOS?
© Copyright 2016 EMC Corporation. All rights reserved. 7
WHAT IS MESOS?
Marathon
© Copyright 2016 EMC Corporation. All rights reserved. 8
• Where it started
• Recent
enhancements
• Roadmap
MESOS AND STORAGE
© Copyright 2016 EMC Corporation. All rights reserved. 9
CLUSTER NODES OFFER LOCAL RESOURCES
© Copyright 2016 EMC Corporation. All rights reserved. 10
MESOS MASTER PRESENTS OFFERS TO
FRAMEWORKS
Marathon
© Copyright 2016 EMC Corporation. All rights reserved. 11
• Where it started
• Recent
enhancements
• Roadmap
MESOS AND STORAGE
© Copyright 2016 EMC Corporation. All rights reserved. 12
RESERVE CLUSTER NODE HOSTED VOLUME
© Copyright 2016 EMC Corporation. All rights reserved. 13
External volume
mounts were added
in 2015
• Provides
Availability + Scale
MOUNT A VOLUME FROM EXTERNAL STORAGE
© Copyright 2016 EMC Corporation. All rights reserved. 14
• Where it started
• Recent
enhancements
• Roadmap
MESOS AND STORAGE
© Copyright 2016 EMC Corporation. All rights reserved. 15
NOT ALL RESOURCES ARE LOCAL
© Copyright 2016 EMC Corporation. All rights reserved. 16
AGENT FAILURE
• Agents are the
source of truth for
resource
information
© Copyright 2016 EMC Corporation. All rights reserved. 17
AGENT FAILURE
• When an agent fails
this information is
lost, but so are the
resources!
© Copyright 2016 EMC Corporation. All rights reserved. 18
AGENT FAILURE
• When a failed
agent was using a
global resource,
the resource is still
available!
© Copyright 2016 EMC Corporation. All rights reserved. 19
AGENT FAILURE
• The state of this
resource must be
stored off the
agent
© Copyright 2016 EMC Corporation. All rights reserved. 20
NEED A NEW ABSTRACTION
• We need a third
entity to track the
use of global
resources
© Copyright 2016 EMC Corporation. All rights reserved. 21
• Option #1:
Integrate global
resources into the
Mesos offer cycle
HOW TO INTEGRATE GLOBAL RESOURCES?
© Copyright 2016 EMC Corporation. All rights reserved. 22
• Option #2: Handle
global resources
“out-of-band”
HOW TO INTEGRATE GLOBAL RESOURCES?
© Copyright 2016 EMC Corporation. All rights reserved. 23
Mesos was originally designed to manage compute
node resources
• Storage in this context meant DAS
A JIRA proposal exists to include global resources in
the Mesos offer model, but this may not be necessary.
• Feedback is welcome!
HOW TO INTEGRATE GLOBAL RESOURCES?
© Copyright 2016 EMC Corporation. All rights reserved. 24
HOW DO YOU TRACK WHAT STORAGE YOU
HAVE?
… AND WHERE IT’S IN USE?
© Copyright 2016 EMC Corporation. All rights reserved.
Create
Utilize
Retire
MESOS INTERFACES WITH STORAGE
Lifecycle management with
governance
Mount managementAssignment to applications
© Copyright 2016 EMC Corporation. All rights reserved. 26
A LARGE SCALE INSTALLATION NEEDS TO
ALLOW FOR MULTIPLE STORAGE PROVIDERS
What does this remind
you of?
© Copyright 2016 EMC Corporation. All rights reserved. 27
MESOS = 2 LEVEL CONTAINER SCHEDULER
© Copyright 2016 EMC Corporation. All rights reserved. 28
TWO LAYER EXTERNAL STORAGE SCHEDULING
© Copyright 2016 EMC Corporation. All rights reserved. 29
STORAGE SCHEDULER = DELIVER SCALE OUT
Scale out is not just about adding capacity.
A Storage Scheduler will let you:
• Add, remove, replace storage provider platforms
– in or out of public cloud
• Add, remove, replace schedulers
• This is about giving you flexibility and
shifting the burden of keeping up to vendors
© Copyright 2016 EMC Corporation. All rights reserved. 30
POLLY AS A MESOS FRAMEWORK
© Copyright 2016 EMC Corporation. All rights reserved. 31
DCOS: THE DATACENTER OPERATING SYSTEM
learn more at mesosphere.com
© Copyright 2016 EMC Corporation. All rights reserved.
Data Persistence in the New Container World
Wednesday 3PM
Joshua Bernstein
VP of Technology for ETD
Tobi Knaup
CEO & Co-Founder of Mesosphere
Guru Session
© Copyright 2016 EMC Corporation. All rights reserved.
@EMCcode
@cantbewong
mesosphere.com
emccode.com
community.emccode.com
Come visit us at
Booth #1044
or in the vLab
Questions?
© Copyright 2016 EMC Corporation. All rights reserved.© Copyright 2016 EMC Corporation. All rights reserved. 34
EMC World 2016 - code.04 Extending Mesos for Storage and External Resources

More Related Content

PPTX
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
PPTX
EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
PPTX
EMC World 2016 - code.11 Intimidate me not - How to Contribute to Large Open ...
PPTX
EMC World 2016 - code.01 Everything as Code - How did we get here?
PPTX
EMC World 2016 - cnaITL.01 Adopting An Open Source Strategy
PPTX
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
PPTX
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
PPTX
EMC World 2016 - code.09 Introduction to the Docker Platform
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
EMC World 2016 - code.11 Intimidate me not - How to Contribute to Large Open ...
EMC World 2016 - code.01 Everything as Code - How did we get here?
EMC World 2016 - cnaITL.01 Adopting An Open Source Strategy
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.09 Introduction to the Docker Platform

What's hot (20)

PPTX
EMC World 2016 - code.12 Managing a Large Open Source community at EMC and Do...
PPTX
IDC Architecture 2016 - Devops and Open Source
PDF
EMC {code} 2.0 - Charter, Principles, and Execution
PPTX
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
PPTX
EMC World 2016 - code.14 Deep Dive with Mesos and Persistent Storage for Appl...
PPTX
EMC World 2016 - cnaITL.06 Containers are not Cloud Native
PPTX
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
PPTX
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
PPTX
EMC World 2016 - code.03 Introduction to Containers
PPTX
Docker Training - June 2015
PPTX
EMC World 2016 - code.16 Running Stateful Services on Cloud Native Platforms ...
PPTX
Automating Your Data Center with RackHD - EMC World 2016
PPTX
EMC World 2016 - code.13 State of the Container Ecosystem with Persistent App...
PDF
Highly Available Persistent Applications in Containers - DockerCon16
PPTX
Open Source is Good for Both Business and Humanity - DockerCon 2016
PPTX
BrightTalk session-The right SDS for your OpenStack Cloud
PPTX
EMC World 2015 devops-st06 Containers and Converged Infrastructure Deployment
PPTX
EMCW2015 - Containers vs VMs
PPTX
Enterprise Ready OpenStack, Wiekus Beukes, Oracle
PDF
Re-Platforming All the Things
EMC World 2016 - code.12 Managing a Large Open Source community at EMC and Do...
IDC Architecture 2016 - Devops and Open Source
EMC {code} 2.0 - Charter, Principles, and Execution
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
EMC World 2016 - code.14 Deep Dive with Mesos and Persistent Storage for Appl...
EMC World 2016 - cnaITL.06 Containers are not Cloud Native
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
EMC World 2016 - code.03 Introduction to Containers
Docker Training - June 2015
EMC World 2016 - code.16 Running Stateful Services on Cloud Native Platforms ...
Automating Your Data Center with RackHD - EMC World 2016
EMC World 2016 - code.13 State of the Container Ecosystem with Persistent App...
Highly Available Persistent Applications in Containers - DockerCon16
Open Source is Good for Both Business and Humanity - DockerCon 2016
BrightTalk session-The right SDS for your OpenStack Cloud
EMC World 2015 devops-st06 Containers and Converged Infrastructure Deployment
EMCW2015 - Containers vs VMs
Enterprise Ready OpenStack, Wiekus Beukes, Oracle
Re-Platforming All the Things
Ad

Similar to EMC World 2016 - code.04 Extending Mesos for Storage and External Resources (20)

PPTX
EMC World 2016 - Deep Dive with Mesos and Persistent Storage for Applications
PPTX
EMC World 2016 - Introduction to Mesos and Mesosphere
PDF
Mesos and the Architecture of the New Datacenter
PPTX
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
PDF
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
PDF
Hyperscale Computing, Enterprise Agility with Mesosphere
PDF
DC/OS 1.8 Container Networking
PDF
Building the Glue for Service Discovery & Load Balancing Microservices
PDF
Erlang User Conference 2016: Container Networking: A Field Report
PDF
Deploying Containers in Production and at Scale
PDF
CI/CD with Docker, DC/OS, and Jenkins
PDF
Mesos, DC/OS and the Architecture of the New Datacenter
PDF
Container Orchestration Wars
PDF
Downtime is not an option - day 2 operations - Jörg Schad
PDF
Modern Container Orchestration (Without Breaking the Bank)
PPTX
Cloud Native Applications - DevOps, EMC and Cloud Foundry
PDF
Erlang containers
PDF
DOD 2016 - Jörg Schad - How Fast Data and Microservices Change the Datacenter.
PPTX
Scaling Like Twitter with Apache Mesos
PDF
Microservices Manchester: Keynote. Microservices are so 2015, What's Next? By...
EMC World 2016 - Deep Dive with Mesos and Persistent Storage for Applications
EMC World 2016 - Introduction to Mesos and Mesosphere
Mesos and the Architecture of the New Datacenter
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Hyperscale Computing, Enterprise Agility with Mesosphere
DC/OS 1.8 Container Networking
Building the Glue for Service Discovery & Load Balancing Microservices
Erlang User Conference 2016: Container Networking: A Field Report
Deploying Containers in Production and at Scale
CI/CD with Docker, DC/OS, and Jenkins
Mesos, DC/OS and the Architecture of the New Datacenter
Container Orchestration Wars
Downtime is not an option - day 2 operations - Jörg Schad
Modern Container Orchestration (Without Breaking the Bank)
Cloud Native Applications - DevOps, EMC and Cloud Foundry
Erlang containers
DOD 2016 - Jörg Schad - How Fast Data and Microservices Change the Datacenter.
Scaling Like Twitter with Apache Mesos
Microservices Manchester: Keynote. Microservices are so 2015, What's Next? By...
Ad

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Approach and Philosophy of On baking technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
Teaching material agriculture food technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
Unlocking AI with Model Context Protocol (MCP)
Approach and Philosophy of On baking technology
MYSQL Presentation for SQL database connectivity
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Big Data Technologies - Introduction.pptx
cuic standard and advanced reporting.pdf
Electronic commerce courselecture one. Pdf
sap open course for s4hana steps from ECC to s4
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Diabetes mellitus diagnosis method based random forest with bat algorithm
Teaching material agriculture food technology
20250228 LYD VKU AI Blended-Learning.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
“AI and Expert System Decision Support & Business Intelligence Systems”

EMC World 2016 - code.04 Extending Mesos for Storage and External Resources

  • 1. © Copyright 2016 EMC Corporation. All rights reserved.© Copyright 2016 EMC Corporation. All rights reserved. 1 EXTENDING MESOS FOR STORAGE AS A GLOBAL RESOURCE STEVE WONG DEVELOPER ADVOCATE – EMC{code} GREG MANN SOFTWARE ENGINEER – Mesosphere
  • 2. © Copyright 2016 EMC Corporation. All rights reserved. 2 GOT CONTAINERS AT SCALE? YOU NEED A SCHEDULER…
  • 3. © Copyright 2016 EMC Corporation. All rights reserved. 3 ASSUME 1000’S OF SERVICES • How do you place an assortment of containers onto your servers efficiently?
  • 4. © Copyright 2016 EMC Corporation. All rights reserved. 4 WHAT’S A SCHEDULER? • Manages compute nodes – Takes reports from each node regarding their health and available capacity • Manages incoming work requests – Accepts job requests – Based on requirements, decides which node should fulfill each request – May attempt to optimize job placement to maximize locality, utilization, etc. on demand scheduled batch
  • 5. © Copyright 2016 EMC Corporation. All rights reserved. 5 When you build a cluster, there’s no getting around it: you are building a distributed system • Difficult to design, build and operate • Introduces complexity Mesos takes on some of the "heavy lifting" of deploying and operating a distributed system MESOS AS A CLUSTER MANAGER
  • 6. © Copyright 2016 EMC Corporation. All rights reserved. 6 A distributed systems kernel • Abstracts many independent nodes into a single pool • Negotiates among multiple schedulers – Competing schedulers can suffer from resource starvation – Mesos offers resources to frameworks to ensure fairness WHAT IS MESOS?
  • 7. © Copyright 2016 EMC Corporation. All rights reserved. 7 WHAT IS MESOS? Marathon
  • 8. © Copyright 2016 EMC Corporation. All rights reserved. 8 • Where it started • Recent enhancements • Roadmap MESOS AND STORAGE
  • 9. © Copyright 2016 EMC Corporation. All rights reserved. 9 CLUSTER NODES OFFER LOCAL RESOURCES
  • 10. © Copyright 2016 EMC Corporation. All rights reserved. 10 MESOS MASTER PRESENTS OFFERS TO FRAMEWORKS Marathon
  • 11. © Copyright 2016 EMC Corporation. All rights reserved. 11 • Where it started • Recent enhancements • Roadmap MESOS AND STORAGE
  • 12. © Copyright 2016 EMC Corporation. All rights reserved. 12 RESERVE CLUSTER NODE HOSTED VOLUME
  • 13. © Copyright 2016 EMC Corporation. All rights reserved. 13 External volume mounts were added in 2015 • Provides Availability + Scale MOUNT A VOLUME FROM EXTERNAL STORAGE
  • 14. © Copyright 2016 EMC Corporation. All rights reserved. 14 • Where it started • Recent enhancements • Roadmap MESOS AND STORAGE
  • 15. © Copyright 2016 EMC Corporation. All rights reserved. 15 NOT ALL RESOURCES ARE LOCAL
  • 16. © Copyright 2016 EMC Corporation. All rights reserved. 16 AGENT FAILURE • Agents are the source of truth for resource information
  • 17. © Copyright 2016 EMC Corporation. All rights reserved. 17 AGENT FAILURE • When an agent fails this information is lost, but so are the resources!
  • 18. © Copyright 2016 EMC Corporation. All rights reserved. 18 AGENT FAILURE • When a failed agent was using a global resource, the resource is still available!
  • 19. © Copyright 2016 EMC Corporation. All rights reserved. 19 AGENT FAILURE • The state of this resource must be stored off the agent
  • 20. © Copyright 2016 EMC Corporation. All rights reserved. 20 NEED A NEW ABSTRACTION • We need a third entity to track the use of global resources
  • 21. © Copyright 2016 EMC Corporation. All rights reserved. 21 • Option #1: Integrate global resources into the Mesos offer cycle HOW TO INTEGRATE GLOBAL RESOURCES?
  • 22. © Copyright 2016 EMC Corporation. All rights reserved. 22 • Option #2: Handle global resources “out-of-band” HOW TO INTEGRATE GLOBAL RESOURCES?
  • 23. © Copyright 2016 EMC Corporation. All rights reserved. 23 Mesos was originally designed to manage compute node resources • Storage in this context meant DAS A JIRA proposal exists to include global resources in the Mesos offer model, but this may not be necessary. • Feedback is welcome! HOW TO INTEGRATE GLOBAL RESOURCES?
  • 24. © Copyright 2016 EMC Corporation. All rights reserved. 24 HOW DO YOU TRACK WHAT STORAGE YOU HAVE? … AND WHERE IT’S IN USE?
  • 25. © Copyright 2016 EMC Corporation. All rights reserved. Create Utilize Retire MESOS INTERFACES WITH STORAGE Lifecycle management with governance Mount managementAssignment to applications
  • 26. © Copyright 2016 EMC Corporation. All rights reserved. 26 A LARGE SCALE INSTALLATION NEEDS TO ALLOW FOR MULTIPLE STORAGE PROVIDERS What does this remind you of?
  • 27. © Copyright 2016 EMC Corporation. All rights reserved. 27 MESOS = 2 LEVEL CONTAINER SCHEDULER
  • 28. © Copyright 2016 EMC Corporation. All rights reserved. 28 TWO LAYER EXTERNAL STORAGE SCHEDULING
  • 29. © Copyright 2016 EMC Corporation. All rights reserved. 29 STORAGE SCHEDULER = DELIVER SCALE OUT Scale out is not just about adding capacity. A Storage Scheduler will let you: • Add, remove, replace storage provider platforms – in or out of public cloud • Add, remove, replace schedulers • This is about giving you flexibility and shifting the burden of keeping up to vendors
  • 30. © Copyright 2016 EMC Corporation. All rights reserved. 30 POLLY AS A MESOS FRAMEWORK
  • 31. © Copyright 2016 EMC Corporation. All rights reserved. 31 DCOS: THE DATACENTER OPERATING SYSTEM learn more at mesosphere.com
  • 32. © Copyright 2016 EMC Corporation. All rights reserved. Data Persistence in the New Container World Wednesday 3PM Joshua Bernstein VP of Technology for ETD Tobi Knaup CEO & Co-Founder of Mesosphere Guru Session
  • 33. © Copyright 2016 EMC Corporation. All rights reserved. @EMCcode @cantbewong mesosphere.com emccode.com community.emccode.com Come visit us at Booth #1044 or in the vLab Questions?
  • 34. © Copyright 2016 EMC Corporation. All rights reserved.© Copyright 2016 EMC Corporation. All rights reserved. 34

Editor's Notes

  • #4: Playing Tetris with manual load placement might seem fun for a minute or two, but this gets old quick Container placement ABOLUTELY must be automated,
  • #30: Schedulers can also enable end use self service, With controls, audit, and health monitoring
  • #32: Schedulers can also enable end use self service, With controls, audit, and health monitoring