Couchbase Cluster on Mesos with DC/OS
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.
DC/OS is a distributed operating system using Mesos as its kernel. Couchbase on Mesos using DC/OS and Amazon explained how to run a single Couchbase container on DC/OS using CloudFormation templates.
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:
- Couchbase on Containers
- Couchbase Developer Portal
- Ask questions on Couchbase Forums or Stack Overflow
- Download Couchbase
|Reference:||Couchbase Cluster on Mesos with DC/OS from our JCG partner Arun Gupta at the Miles to go 3.0 … blog.|