Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learn Apache Mesos
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learn Apache Mesos

Learn Apache Mesos

By : Aggarwal
close
close
Learn Apache Mesos

Learn Apache Mesos

By: 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)
close
close

Configuring Marathon

Marathon is a control system that can be used in Docker or in cgroups containers, and is cluster wide. It is a framework for Apache Mesos that helps you manage tasks through RESTful APIs.

Let's go back to the Marathon tab and follow these steps:

  1. Add a secret to the marathon file:
$ cd /etc/marathon 
  1. Go inside /etc/default and:
$ sudo touch mesos_authentication_secret 
$ sudo vi mesos 
  1. Insert marathon1_secret, save the file, and exit using :wq!
  2. Inform Marathon about the location of the credential file in the marathon1 tab:
$ sudo mkdir conf 
$ sudo cd conf 
$ sudo touch mesos_authentication_secret_file 
$ ll /etc/default/mesos 
$ ll /etc/default/mesos_authentication_secret 
  1. You will get a path, /etc/default/mesos_authentication_secret. Copy this path.
  2. Go to the conf directory:
$ cd conf/  
$ sudo vi authentication_secret_file 
  1. Paste the path that...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY