O'Reilly logo

Mastering Mesos by Akhil Das, Dipa Dubhashi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multi-node Marathon cluster setup

To set this up, a high availability Mesos cluster needs to be set up, which will be explained in detail in Chapter 5, Mesos Cluster Deployment. For the time being, we assume that you already have a high availability Mesos cluster up and running. We'll now take a look at how to install Marathon on all the master machines in the cluster.

Log in to all the Mesos master machines and type in the following commands to set up Marathon.

On Debain/Ubuntu machines, run the following command:

# Update the repositories
# Setup
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E56151BF
$ DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
$ CODENAME=$(lsb_release -cs)

# Add the repository
$ echo "deb http://repos.mesosphere.com/${DISTRO} ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required