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} ...
Get Mastering Mesos now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.