Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Apache Mesos

You're reading from   Learn Apache Mesos A beginner's guide to scalable cluster management and deployment

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781789137385
Length 248 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Manuj Aggarwal Manuj Aggarwal
Author Profile Icon Manuj Aggarwal
Manuj Aggarwal
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Deploying Apache Mesos on AWS FREE CHAPTER 2. Setting up Mesos Single-Cluster Nodes 3. Installation of Mesosphere 4. Apache Mesos Administration 5. Deploying Services on Mesos Cluster 6. Persistent Volumes 7. Securing Mesos 8. Managing Resources in Mesos 9. Another Book You May Enjoy

Configuring the mesos-master servers

After installation, configuration is a particularly important step, as it forms the basis of the whole Mesos environment.

Following are the steps to follow to configure the mesos-master:

  1. First, let's set up connection information for ZooKeeper with these commands:
cd /etc/mesos
ls -rlt
cat zk

In the development environment, we had only added one mesos-master. We now need more master services, so let's add them. First, open the following file:

sudo vi zk

Now, edit the file by deleting the current entry, and inserting zk://10.0.1.42:2181,10.0..1.203,10.0.2.68:2181/mesos. So, basically, we have added the IP addresses of all three servers, followed by their active ports.

Save your changes and exit the file using :wq!. Repeat this step for all other master servers.

  1. Next, let's perform our ZooKeeper configuration for the master servers...
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 $19.99/month. Cancel anytime