Apache Mesos is an open source cluster manager developed at UC Berkeley. It provides resource isolation and sharing across distributed applications. Mesos consists of a master daemon that manages slave daemons running on each cluster node.Mesos frameworks are applications that runs on Mesos and run tasks on these slaves. Marathon is a container orchestration platform running on Mesos.Multiple container formats are supported and Docker is certainly the most common one!
Docker Container using Apache Mesos and Marathon explains how to setup Mesos and Marathon. The setup is quite involving and a bit flaky. It required to download and Install Mesos Master and Slave, ZooKeeper, Docker Engine, and Marathon.
Running a single node Couchbase may work during initial development phase. The need to start a multi-node Couchbase cluster becomes eminent as you move along further in development, and certainly needed during the production phase.
So, you’d like to run a Couchbase cluster on DC/OS?
Couchbase Cluster on DC/OS is complete walk through of how to setup a Couchbase cluster on DC/OS. It walks through the following steps:
- What is Couchbase?
- Couchbase Cluster
- Setup DC/OS on Amazon Web Services
- Configure CLI and Install Marathon Load Balancer
- Create Couchbase “startup” service
- Create Couchbase “node” service
- Scale Couchbase Cluster
- Rebalance Couchbase Cluster
DC/OS dashboard with a Couchbase cluster looks like:
For further information check out: