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} ${CODENAME} main" | \ sudo tee /etc/apt/sources.list.d/mesosphere.list $ sudo apt-get update # Install Marathon $ sudo apt-get -y install marathon
On RedHat/CentOS machines, execute the following command:
$ sudo...