]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added mds page for ceph-deploy.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 30 Apr 2013 01:51:23 +0000 (18:51 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 30 Apr 2013 01:51:23 +0000 (18:51 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rados/deployment/ceph-deploy-mds.rst [new file with mode: 0644]

diff --git a/doc/rados/deployment/ceph-deploy-mds.rst b/doc/rados/deployment/ceph-deploy-mds.rst
new file mode 100644 (file)
index 0000000..c6a87ad
--- /dev/null
@@ -0,0 +1,43 @@
+============================
+ Add/Remove Metadata Server
+============================
+
+With ``ceph-deploy``, adding and removing metadata servers is a simple task. You
+just add or remove one or more metadata servers on the command line with one
+command.
+
+.. note:: CephFS is in production using 1 metadata server per cluster. You
+   **MUST** deploy at least one metadata server to use CephFS.
+
+See `MDS Config Reference`_ for details on configuring monitors.
+
+
+Add a Metadata Server
+=====================
+
+Once you deploy monitors and OSDs you may deploy the metadata server(s). ::
+
+       ceph-deploy mds create {host-name}[:{daemon-name}] [{host-name}[:{daemon-name}] ...]
+
+You may specify a daemon instance a name (optional) if you would like to run
+multiple daemons on a single server.
+
+
+Remove a Metadata Server
+========================
+
+If you have a metadata server in your cluster that you'd like to remove, you may use 
+the ``destroy`` option. :: 
+
+       ceph-deploy mds destroy {host-name}[:{daemon-name}] [{host-name}[:{daemon-name}] ...]
+
+You may specify a daemon instance a name (optional) if you would like to destroy
+a particular daemon that runs on a single server with multiple MDS daemons.
+
+.. note:: Ensure that if you remove a metadata server, the remaining metadata
+   servers will be able to service requests from CephFS clients. If that is not
+   possible, consider adding a metadata server before destroying the metadata 
+   server you would like to take offline.
+
+
+.. _MDS Config Reference: ../../../cephfs/mds-config-ref