Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Apache Mesos Cookbook
Apache Mesos Cookbook

Apache Mesos Cookbook: Efficiently handle and manage tasks in a distributed environment

Arrow left icon
Profile Icon Blomquist Profile Icon Marco Massenzio Profile Icon Tomasz Janiszewski
Arrow right icon
€15.99 €23.99
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1 (1 Ratings)
eBook Aug 2017 146 pages 1st Edition
eBook
€15.99 €23.99
Paperback
€29.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Blomquist Profile Icon Marco Massenzio Profile Icon Tomasz Janiszewski
Arrow right icon
€15.99 €23.99
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1 (1 Ratings)
eBook Aug 2017 146 pages 1st Edition
eBook
€15.99 €23.99
Paperback
€29.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€15.99 €23.99
Paperback
€29.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Table of content icon View table of contents Preview book icon Preview Book

Apache Mesos Cookbook

Implementing High Availability with Apache ZooKeeper

In this chapter, you will learn to how to configure Apache ZooKeeper with Mesos and run a highly available cluster:

  • Configuring ZooKeeper installed from packages
  • Configuring ZooKeeper installed from source
  • Running a standalone Mesos master with ZooKeeper
  • Running a high-availability Mesos cluster with ZooKeeper

Introduction

Apache ZooKeeper is a distributed key-value store that provides centralized coordination, synchronization, naming, and group services for distributed systems. ZooKeeper was developed as an independent system that can be integrated with other large distributed systems so that developers can focus on distributed application development and not on coordination services. Mesos depends on ZooKeeper for leader election so configuring Mesos with ZooKeeper is critical to running a highly available Mesos cluster. We will guide you through installing ZooKeeper and then configuring it with Mesos.

In the following recipes, we will give examples for configuring both a single development Mesos instance with ZooKeeper and for a highly available, multi-master Mesos cluster with ZooKeeper. ZooKeeper is not required to run a single instance of Mesos. However, you may need to deploy...

Configuring ZooKeeper installed from packages on Ubuntu 14.04, Ubuntu 16.04, CentOS 7, or RHEL 7

Getting ready

Please follow the instructions in Chapter 1, Getting Started with Apache Mesos for installing the Mesos packages from the Mesosphere repositories for your operating system prior to executing the following steps. ZooKeeper will be installed during the Mesos package installation. For a multi-master Mesos/ZooKeeper configuration, confirm that DNS A (host) and PTR (reverse lookup) records have been added to your DNS servers for your Mesos hosts.

How to do it...

This...

Configuring ZooKeeper on Ubuntu 14.04, 16.04, and OS X from source

Getting ready

Please follow the instructions in Chapter 1, Getting Started with Apache Mesos to install Mesos from source code prior to executing the following steps. For a multi-master Mesos/ZooKeeper configuration, confirm that DNS A (host) and PTR (reverse lookup) records have been added to your DNS servers for your Mesos hosts. DNS configuration is outside the scope of this book.

How to do it...

This recipe will work for both Ubuntu and OS X but we will use the following configuration on eight Ubuntu...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn to install and configure Mesos to suit the needs of your organization
  • Follow step-by-step instructions to deploy application frameworks on top of Mesos, saving you many hours of research and trial and error
  • Use this practical guide packed with powerful recipes to implement Mesos and easily integrate it with other application frameworks

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.

Who is this book for?

This book is for system administrators, engineers, and big data programmers. Basic experience with big data technologies such as Hadoop or Spark would be useful but is not essential. A working knowledge of Apache Mesos is expected.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 02, 2017
Length: 146 pages
Edition : 1st
Language : English
ISBN-13 : 9781785880933
Vendor :
Apache
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Aug 02, 2017
Length: 146 pages
Edition : 1st
Language : English
ISBN-13 : 9781785880933
Vendor :
Apache
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 117.97
Mastering Blockchain
€41.99
Mastering Mesos
€45.99
Apache Mesos Cookbook
€29.99
Total 117.97 Stars icon

Table of Contents

8 Chapters
Getting Started with Apache Mesos Chevron down icon Chevron up icon
Implementing High Availability with Apache ZooKeeper Chevron down icon Chevron up icon
Running and Maintaining Mesos Chevron down icon Chevron up icon
Understanding the Scheduler API Chevron down icon Chevron up icon
Managing Containers Chevron down icon Chevron up icon
Deploying PaaS with Marathon Chevron down icon Chevron up icon
Job Scheduling with Metronome Chevron down icon Chevron up icon
Continuous Integration with Jenkins Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
(1 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 100%
David Walters Oct 17, 2017
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
followed by several pages of how to install on three linuxes- two of which were ubuntuthe padding at the start of the book is like "conventions" and "where to download the source code" just annoyingly packt with not subject matterhey amazon wheres my refund button on this kindle thing?
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.