Home - michaelsevilla/mantle-popper GitHub Wiki
Welcome to the mantle-popper wiki!
This repository shows you how to deploy Mantle images built with docker-cephdev. We use roles written by the Ceph team and our lab at UC Santa Cruz. All the code for deploying Ceph and running experiments can be found in the experiments folder.
Other approaches
Running Mantle on a single node:
Running the metadata load balancing on a single node may not produce realistic results. Some of the balancers are dependent on CPU utilization. For example, when the CPU utilization reaches a certain level (in the paper we used 30%), then migrate load to the next MDS. If you run everything on one node, the CPU utilization will not stay steady enough because the node is running OSDs, MDSs, MONs, and clients. Just something to think about.
Deploying Ceph
There are many tools that deploy Ceph from scratch. These tools format disks, setup the keyrings, setup configuration files, and start the daemons. Doing it by hand is very difficult. Most people use ceph-deploy but I don't like installing a bunch of packages on my host machine, so I use ceph-ansible. Since you are using single node, you do not need the cluster-wide orchestration that ceph-deploy and ceph-ansible provide. Instead, you can use something like vstart.sh. vstart.sh starts all the Ceph daemons on the localhost and has a number of facilities for speeding up the development process. This is the easiest to use and something like:
cd ceph/src
OSD=2 MON=1 MDS=3 ./vstart.sh -n -l
should bring up a simple cluster on your machine.