Apache Mesos Cookbook

Over 50 recipes on the core features of Apache Mesos and running big data frameworks in Mesos
Preview in Mapt

Apache Mesos Cookbook

David Blomquist, Tomasz Janiszewski

Over 50 recipes on the core features of Apache Mesos and running big data frameworks in Mesos
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $27.99
Save 64%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$34.99
$29.99 p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Apache Mesos Cookbook Book Cover
Apache Mesos Cookbook
$ 27.99
$ 10.00
Apache Camel Essentials Book Cover
Apache Camel Essentials
$ 19.99
$ 10.00
Buy 2 for $20.00
Save $27.98
Add to Cart

Book Details

ISBN 139781785884627
Paperback146 pages

Book Description

Apache Mesos is open source cluster sharing and management software. Deploying and managing scalable applications in large-scale clustered environments can be difficult, but Apache Mesos makes it easier with efficient resource isolation and sharing across application frameworks.

The goal of this book is to guide you through the practical implementation of the Mesos core along with a number of Mesos supported frameworks. You will begin by installing Mesos and then learn how to configure clusters and maintain them. You will also see how to deploy a cluster in a production environment with high availability using Zookeeper.

Next, you will get to grips with using Mesos, Marathon, and Docker to build and deploy a PaaS. You will see how to schedule jobs with Chronos. We’ll demonstrate how to integrate Mesos with big data frameworks such as Spark, Hadoop, and Storm. Practical solutions backed with clear examples will also show you how to deploy elastic big data jobs.

You will find out how to deploy a scalable continuous integration and delivery system on Mesos with Jenkins. Finally, you will configure and deploy a highly scalable distributed search engine with ElasticSearch.

Throughout the course of this book, you will get to know tips and tricks along with best practices to follow when working with Mesos.

Table of Contents

Chapter 1: Getting Started with Apache Mesos
Introduction
Installing Mesos on Ubuntu 16.04 from packages
Installing Mesos on Ubuntu 14.04 from packages
Installing Mesos on CentOS 7 and RHEL 7 from packages
Preparing Ubuntu 16.04 for a Mesos installation from source code
Preparing Ubuntu 14.04 for a Mesos installation from source code
Preparing OS X (Yosemite and El Capitan) for a Mesos Installation from source code
Downloading, building, and installing the Mesos source code
Chapter 2: Implementing High Availability with Apache ZooKeeper
Introduction
Configuring ZooKeeper installed from packages on Ubuntu 14.04, Ubuntu 16.04, CentOS 7, or RHEL 7
Configuring ZooKeeper on Ubuntu 14.04, 16.04, and OS X from source
Chapter 3: Running and Maintaining Mesos
Introduction
Logging and debugging
Monitoring
Setting attributes for agents
Defining roles and resources
Oversubscription
Controlling permissions using access control lists
Agent authentication
Encryption SSL
Upgrading Mesos
Chapter 4: Understanding the Scheduler API
Introduction
Installing Protobuf
Registering frameworks
Handling events
Declining offers
Scheduling tasks
Acknowledging task updates
Killing tasks
State persistence
Reconciliation
Chapter 5: Managing Containers
Introduction
Enabling the Mesos containerizer
Enabling POSIX isolators
Enabling the POSIX disk isolator
Configuring the shared filesystem isolator
Configuring cgroup isolators
Configuring the port mapping network isolator
Configuring Docker image support for the Mesos containerizer
Using the Docker containerizer
Running an image from a private repository
Using container network interface
Monitoring containers with Sysdig
Chapter 6: Deploying PaaS with Marathon
Introduction
Installing and configuring Marathon
Monitoring Marathon
Launching an application
Launching a Docker container
Setting up the discovery service
Enabling SSL
Enabling basic access authentication
Using a custom authentication plugin
Tuning Marathon
Chapter 7: Job Scheduling with Metronome
Introduction
Installing and configuring Metronome
Monitoring Metronome
Scheduling jobs
Chapter 8: Continuous Integration with Jenkins
Introduction
Building the Jenkins Mesos plugin
Installing Jenkins
Enabling the Jenkins Mesos plugin

What You Will Learn

  • Set up Mesos on different operating systems
  • Use the Marathon and Chronos frameworks to manage multiple applications
  • Work with Mesos and Docker
  • Integrate Mesos with Spark and other big data frameworks
  • Use networking features in Mesos for effective communication between containers
  • Configure Mesos for high availability using Zookeeper
  • Secure your Mesos clusters with SASL and Authorization ACLs
  • Solve everyday problems and discover the best practices

Authors

Table of Contents

Chapter 1: Getting Started with Apache Mesos
Introduction
Installing Mesos on Ubuntu 16.04 from packages
Installing Mesos on Ubuntu 14.04 from packages
Installing Mesos on CentOS 7 and RHEL 7 from packages
Preparing Ubuntu 16.04 for a Mesos installation from source code
Preparing Ubuntu 14.04 for a Mesos installation from source code
Preparing OS X (Yosemite and El Capitan) for a Mesos Installation from source code
Downloading, building, and installing the Mesos source code
Chapter 2: Implementing High Availability with Apache ZooKeeper
Introduction
Configuring ZooKeeper installed from packages on Ubuntu 14.04, Ubuntu 16.04, CentOS 7, or RHEL 7
Configuring ZooKeeper on Ubuntu 14.04, 16.04, and OS X from source
Chapter 3: Running and Maintaining Mesos
Introduction
Logging and debugging
Monitoring
Setting attributes for agents
Defining roles and resources
Oversubscription
Controlling permissions using access control lists
Agent authentication
Encryption SSL
Upgrading Mesos
Chapter 4: Understanding the Scheduler API
Introduction
Installing Protobuf
Registering frameworks
Handling events
Declining offers
Scheduling tasks
Acknowledging task updates
Killing tasks
State persistence
Reconciliation
Chapter 5: Managing Containers
Introduction
Enabling the Mesos containerizer
Enabling POSIX isolators
Enabling the POSIX disk isolator
Configuring the shared filesystem isolator
Configuring cgroup isolators
Configuring the port mapping network isolator
Configuring Docker image support for the Mesos containerizer
Using the Docker containerizer
Running an image from a private repository
Using container network interface
Monitoring containers with Sysdig
Chapter 6: Deploying PaaS with Marathon
Introduction
Installing and configuring Marathon
Monitoring Marathon
Launching an application
Launching a Docker container
Setting up the discovery service
Enabling SSL
Enabling basic access authentication
Using a custom authentication plugin
Tuning Marathon
Chapter 7: Job Scheduling with Metronome
Introduction
Installing and configuring Metronome
Monitoring Metronome
Scheduling jobs
Chapter 8: Continuous Integration with Jenkins
Introduction
Building the Jenkins Mesos plugin
Installing Jenkins
Enabling the Jenkins Mesos plugin

Book Details

ISBN 139781785884627
Paperback146 pages
Read More

Read More Reviews

Recommended for You

Mastering Mesos Book Cover
Mastering Mesos
$ 43.99
$ 10.00
Building Data Streaming Applications with Apache Kafka Book Cover
Building Data Streaming Applications with Apache Kafka
$ 35.99
$ 10.00
Mastering Kubernetes Book Cover
Mastering Kubernetes
$ 39.99
$ 10.00
Mastering Blockchain Book Cover
Mastering Blockchain
$ 39.99
$ 10.00
Learning Elasticsearch Book Cover
Learning Elasticsearch
$ 39.99
$ 10.00
Fast Data Processing Systems with SMACK Stack Book Cover
Fast Data Processing Systems with SMACK Stack
$ 39.99
$ 10.00