If we don't want to use cloud services from Amazon, Google, or Microsoft; we can set up our cluster on out private data center. Here we assume that our data center has four machines, and we are going to install a Mesos cluster on all. We also assume that the each machine has the same CentOS 6.6 Linux.
For this example, our machines' IP addresses are:
machine-1: 192.168.2.190 machine-2: 192.168.2.191 machine-3: 192.168.2.192 machine-4: 192.168.2.193
For convenience, we chose machine-1
as the Mesos cluster master and machine-2
, machine-3
, and machine-4
will be slaves.
To install a multi node Mesos cluster on our data center we follow these steps: