]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | ============================ |
2 | Add/Remove Metadata Server | |
3 | ============================ | |
4 | ||
5 | With ``ceph-deploy``, adding and removing metadata servers is a simple task. You | |
6 | just add or remove one or more metadata servers on the command line with one | |
7 | command. | |
8 | ||
7c673cae FG |
9 | See `MDS Config Reference`_ for details on configuring metadata servers. |
10 | ||
11 | ||
12 | Add a Metadata Server | |
13 | ===================== | |
14 | ||
15 | Once you deploy monitors and OSDs you may deploy the metadata server(s). :: | |
16 | ||
17 | ceph-deploy mds create {host-name}[:{daemon-name}] [{host-name}[:{daemon-name}] ...] | |
18 | ||
19 | You may specify a daemon instance a name (optional) if you would like to run | |
20 | multiple daemons on a single server. | |
21 | ||
22 | ||
23 | Remove a Metadata Server | |
24 | ======================== | |
25 | ||
26 | Coming soon... | |
27 | ||
28 | .. If you have a metadata server in your cluster that you'd like to remove, you may use | |
29 | .. the ``destroy`` option. :: | |
30 | ||
31 | .. ceph-deploy mds destroy {host-name}[:{daemon-name}] [{host-name}[:{daemon-name}] ...] | |
32 | ||
33 | .. You may specify a daemon instance a name (optional) if you would like to destroy | |
34 | .. a particular daemon that runs on a single server with multiple MDS daemons. | |
35 | ||
36 | .. .. note:: Ensure that if you remove a metadata server, the remaining metadata | |
37 | servers will be able to service requests from CephFS clients. If that is not | |
38 | possible, consider adding a metadata server before destroying the metadata | |
39 | server you would like to take offline. | |
40 | ||
41 | ||
42 | .. _MDS Config Reference: ../../../cephfs/mds-config-ref |