Please follow the instructions in Chapter 1, Getting Started with Apache Mesos for installing the Mesos packages from the Mesosphere repositories for your operating system prior to executing the following steps. ZooKeeper will be installed during the Mesos package installation. For a multi-master Mesos/ZooKeeper configuration, confirm that DNS A (host) and PTR (reverse lookup) records have been added to your DNS servers for your Mesos hosts.
This recipe will work for both the Ubuntu and CentOS operating systems but we will use the following configuration on 10 CentOS 7 VMs for our demo cluster:
Function | IP address | Hostname | Cluster | myid | Quorum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| N/A | N/A | N/A |
|
|
| N/A | N/A | N/A |
|
|
| N/A | N/A | N/A |
|
|