]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update 'adding an MDS' 32291/head
authorJos Collin <jcollin@redhat.com>
Tue, 17 Dec 2019 10:23:44 +0000 (15:53 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 17 Dec 2019 10:41:27 +0000 (16:11 +0530)
Fixes: https://tracker.ceph.com/issues/43162
Signed-off-by: Jos Collin <jcollin@redhat.com>
doc/cephfs/add-remove-mds.rst

index 275e7ab932d7b4de5db1c5285e54648ad607f35e..a3190fed2b4993429b168f922f959e9869c5c6f1 100644 (file)
@@ -64,18 +64,13 @@ Adding an MDS
 
 #. Create an mds data point ``/var/lib/ceph/mds/ceph-${id}``. The daemon only uses this directory to store its keyring.
 
-#. Edit ``ceph.conf`` and add MDS section. ::
-
-       [mds.${id}]
-       host = {hostname}
-
 #. Create the authentication key, if you use CephX. ::
 
        $ sudo ceph auth get-or-create mds.${id} mon 'profile mds' mgr 'profile mds' mds 'allow *' osd 'allow *' > /var/lib/ceph/mds/ceph-${id}/keyring
 
 #. Start the service. ::
 
-       $ sudo systemctl start mds.${id}
+       $ sudo systemctl start ceph-mds@${id}
 
 #. The status of the cluster should show: ::
 
@@ -95,7 +90,7 @@ the following method.
 
 #. Stop the MDS to be removed. ::
 
-       $ sudo systemctl stop mds.${id}
+       $ sudo systemctl stop ceph-mds@${id}
 
    The MDS will automatically notify the Ceph monitors that it is going down.
    This enables the monitors to perform instantaneous failover to an available