Abhishek Amralkar

Jan 25, 2017

3 min read

Introduction to Apache Mesos

What is Mesos?

ZooKeepers
Mesos masters
Mesos slaves
Frameworks
ZooKeeperApache ZooKeeper is a centralised configuration manager, used by distributed applications such as Mesos to coordinate activity across a cluster.Mesos uses ZooKeeper to elect a leading master and for slaves to join the cluster.Mesos mastersA Mesos master is a Mesos instance in control of the cluster.A cluster will typically have multiple Mesos masters to provide fault-tolerance, with one instance elected the leading master.Mesos slavesA Mesos slave is a Mesos instance which offers resources to the cluster.They are the ‘worker’ instances - tasks are allocated to the slaves by the Mesos master.FrameworksOn its own, Mesos only provides the basic “kernel” layer of your cluster. It lets other applications request resources in the cluster to perform tasks, but does nothing itself.Frameworks bridge the gap between the Mesos layer and your applications. They are higher level abstractions which simplify the process of launching tasks on the cluster.
Minimum
Nodes: 1
OS: Ubuntu
Processor: 4 cores
Memory: 32 GB RAM
Hard disk space: 120 GB
Recommended
Nodes: 3
OS: Ubuntu
Processor: 4 cores
Memory: 32 GB RAM
Hard disk space: 120 GB
Solid-state drive (SSD)
RAID controllers with a BBU
RAID controller cache configured in writeback mode
Minimum	
Nodes: 1
OS: Ubuntu
Processor: 2 cores
Memory: 16 GB RAM
Hard disk space: 60 GB
Nodes: 6
OS: Ubuntu
Processor: 2 cores
Memory: 16 GB RAM
Hard disk space: 60 GB
5050	Mesos master nodes
5051 Mesos agent nodes
8080 Marathon