mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Merge PR #32291 into master
* refs/pull/32291/head: doc: update 'adding an MDS' Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
b561e57b80
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user