Book Image

Learn Apache Mesos

By : Manuj Aggarwal
Book Image

Learn Apache Mesos

By: Manuj Aggarwal

Overview of this book

Apache Mesos is an open source cluster manager that provides efficient resource isolation and sharing across distributed applications or frameworks. This book will help you build a strong foundation of Mesos' capabilities along with practical examples to support the concepts explained throughout the book. Learn Apache Mesos dives straight into how Mesos works. You will be introduced to the distributed system and its challenges and then learn how you can use Mesos and its framework to solve data problems. You will also gain a full understanding of Mesos' internal mechanisms and get equipped to use Mesos and develop applications. Furthermore, this book lets you explore all the steps required to create highly available clusters and build your own Mesos frameworks. You will also cover application deployment and monitoring. By the end of this book, you will have learned how to use Mesos to make full use of machines and how to simplify data center maintenance.
Table of Contents (10 chapters)

Configuration setup of Mesosphere

In this section, we will work on the configuration of our resources. In the following manner, we will configure ZooKeeper connection information for Mesos, and then we will work on the ZooKeeper configuration setup on our master servers.

We completed the installation part of our project in the previous section. During the ZooKeeper configuration setup, we will define a unique ID on all the master servers and then do a mapping of ZooKeeper IDs to actual hosts before restarting ZooKeeper. Then, we will perform Mesos configurations on the master server: we will set up a quorum, then we will configure our hostname and IP address, and then we will see how to start and stop the Mesos master. Then, we will have a look at how to configure Marathon services. We will first install Java, then we will set up ZooKeeper's configuration to connect to our...