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)

Outlining goals

Until now, we have looked at a very basic architecture, featuring just one master server and one Marathon server, which, together, form our development environment. But now, as we have to develop a production environment, we will have to add more components. Accordingly, our plan of action includes the following:

  • Adding one Marathon server
  • Adding two more master servers
  • Adding three slave servers

This will cause our architecture to look like the following:

The packages that we will need to install on each of the components should be evident from the architecture shown in the above diagram. For Marathon servers, we will need to install the Marathon package; for Masters, we will install ZooKeeper; and on the slaves, we will install Docker, which is a container that will enable our applications to run. This is how we will be distributing our package installation...