Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
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 2. Setting up Mesos Single-Cluster Nodes FREE CHAPTER 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 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...
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 €18.99/month. Cancel anytime