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)

Installing Marathon

Marathon is similar to traditional init systems. Here, for Mesos, it is a that helps in launching long applications.

Go to the Marathon tab. We can install it by running the following command:

sudo yum -y install marathon

And that's it, we are done with installing marathon. Perform this for the other server as well.

You can see the status as FAILURE, which is a good sign, remember? We will start the services later on:

Validating services

Let's now validate everything we have done up until now by testing if all the services are running.

To validate our masters, go to a master's tab and enter the following command:

sudo service mesos-master start

Then, to check the status, run the following...