Deploying Ceph MDS

To configure the Meta Data Server for the Ceph Filesystem, you should have a running Ceph cluster. In earlier chapters, we learned to deploy the Ceph storage cluster; we will use the same cluster for MDS deployment.

How to do it…

  1. Use ceph-deploy from ceph-node1 to deploy and configure MDS on ceph-node2:
    # ceph-deploy --overwrite-conf mds create ceph-node2
    
    How to do it…
  2. The command should deploy the MDS and start its daemon on ceph-node2; however, we need to carry out a few more steps to get CephFS accessible:
    # ssh ceph-node2 service ceph status mds
    
  3. Create data and metadata pools for the Ceph Filesystem:
    # ceph osd pool create cephfs_data 64 ...

Get Ceph Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.