Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apache Mesos Cookbook

You're reading from  Apache Mesos Cookbook

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781785884627
Pages 146 pages
Edition 1st Edition
Languages
Authors (2):
David Blomquist David Blomquist
Profile icon David Blomquist
Tomasz Janiszewski Tomasz Janiszewski
Profile icon Tomasz Janiszewski
View More author details

Table of Contents (15) Chapters

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Getting Started with Apache Mesos Implementing High Availability with Apache ZooKeeper Running and Maintaining Mesos Understanding the Scheduler API Managing Containers Deploying PaaS with Marathon Job Scheduling with Metronome Continuous Integration with Jenkins

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 16.04 VMs for our source install demo cluster:

Function

IP address

Hostname

Cluster

myid

Quorum

Master

10.10.0.92

ubuntu1692

MesosUbuntu16

92

2

Master

10.10.0.93

ubuntu1693

MesosUbuntu16

93

2

Master

10.10.0.94

ubuntu1694

MesosUbuntu16

94

2

Agent

10.10.0.95

ubuntu1695

N/A

N/A

N/A

Agent

10.10.0.96

ubuntu1696

N/A

N/A

N/A

Agent

10.10.0.97

ubuntu1697

N/A

N/A

N/A

Agent

10.10.0.98

ubuntu1698

N/A

N/A

N/A

Agent

10.10.0.99

ubuntu1699

N/A

N/A

N/A

Configuring Mesos masters with ZooKeeper

  1. You...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}