How to deploy a multi-node Ceph cluster using Vagrant

CephOne of the 50+ available cloud providers Storage Made Easy supports is Ceph, a distributed object storage based software storage platform. A number of our customers currently use Storage Made Easy to provide file share and sync capabilities to their end users with Ceph as their backend storage.

When integrating with Ceph, SME currently uses its S3 compatible interface through its Rados Gateway (RADOSGW) (see the picture below), which was a perfect fit, since we support a number of clouds that present such interfaces. However, recently, we have begun to evaluate building a connector using Ceph’s lower level APIs through Librados.

stack

Ceph is typically deployed with a cluster of object storage nodes, and so we wanted to create an environment that mimicked how our customers are using it. Deploying a number of VMs and configuring each one can be a time-consuming process, and so we looked for ways to spin up these machines without much effort.

Thankfully, other members of the community have also encountered such challenges, and we came across Chris Armstrong’s, multi node Ceph cluster, that makes creating a multi node Ceph cluster extremely effortless using Vagrant.

Setting up the Ceph cluster

Before installing the cluster, you need to ensure that you have the following installed on your system:

Once you have these, you can clone the repository.

git clone git@github.com:carmstrong/multinode-ceph-vagrant.git

Move yourself into the directory.

cd multinode-ceph-vagrant

Once you have done this, you can follow the steps listed on the main repository here:
https://github.com/carmstrong/multinode-ceph-vagrant#add-your-vagrant-key-to-the-ssh-agent

Once you have followed those instructions, you should now have a fully operational multi-node Ceph cluster that you can connect to.

Facebooktwitterredditpinterestlinkedinmailby feather
The following two tabs change content below.