It’s been a while that I heard that mkcephfs was deprecated, but for the benefit of which tool? I have named ceph-deploy. The project is young and it’s work in progress but at a reasonnable advancement. Let’s get a first impression!
So ceph-deploy acts as a replacement for the old mkcephfs. Does this mean that mkcephfs is dead? No of course but it will smoothly remove for ceph-deploy.
I. Installation
First clone the github: (installing git may be necessary)
optional arguments: -h, --help show this help message and exit -v, --verbose be more verbose --cluster NAME name of the cluster
commands: COMMAND description new Start deploying a new cluster, and write a CLUSTER.conf for it. install Install Ceph packages on remote hosts. mon Deploy ceph monitor on remote hosts. osd Deploy ceph osd on remote hosts. disk Prepare a data disk on remote host.
II. Ceph cluster in a minute!
II.1. Install Ceph on a new server
In this example, I used two machines:
ceph-deploy provisionning server
one node
ceph-deploy will attempt to connection through ssh to the specified node. Be sure that you can SSH passwordless from your ceph-dpeloy server to every ceph node.
$ ceph-deploy install ceph-1 OK
The output is pretty explicit, a more verbose mode can be enabled with the -v option.
I don’t want to go too deeper into the installation process since the Github documentation is complete.
This was a really short introduction to the successor of mkcephfs. Some features are missing but it’s work in progress. At the end, Tommi Virtanen has made an amazing job and the tool appears to be very promising.
Comments