Deploy a Ceph MDS server
How-to quickly deploy a MDS server.
Assuming that /var/lib/ceph/mds/mds
is the mds data point.
Edit ceph.conf
and add a MDS section like so:
[mds]
mds data = /var/lib/ceph/mds/mds.$id
keyring = /var/lib/ceph/mds/mds.$id/mds.$id.keyring
[mds.0]
host = {hostname}
Create the authentication key (only if you use cephX):
$ sudo mkdir /var/lib/ceph/mds/mds.0 |
Eventually start the service
$ sudo service ceph start mds.0 |
Check the status of the cluster:
$ ceph -s |
Note if you want to add more MDSs, they will appear like this:
$ ceph -s |
Easy, isn’t it? FYI filesystem metadata live in RADOS cluster. So MDS servers are quite ephemeral daemons. Don’t be surprised if you don’t find anything (expect the MDS key) inside the mds data directory.
Comments