This section will give you insights on how to set up a multi-node cluster.
We already have Marathon and master servers ready, but they are in our development environment. So, we will change some configurations, and then extend them to production! Further, we will be including more servers as well, as described in the architecture diagram in the previous section.
The steps to install the necessary packages are as follows:
- Add the Mesos repository with the following command:
rpm -Uvh http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
This needs to be run on both mesos-master and slave servers.
- After this, we can install mesos as follows:
sudo yum install mesos
On the master server, this will install both master and slave services, but we will stop the slave services from running on all three master servers. Run this installation...