]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added transition from mkcephfs to ceph-deploy page.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 30 Apr 2013 01:53:12 +0000 (18:53 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 30 Apr 2013 01:53:12 +0000 (18:53 -0700)
fixes: #4756

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rados/deployment/ceph-deploy-transition.rst [new file with mode: 0644]

diff --git a/doc/rados/deployment/ceph-deploy-transition.rst b/doc/rados/deployment/ceph-deploy-transition.rst
new file mode 100644 (file)
index 0000000..74e28c4
--- /dev/null
@@ -0,0 +1,35 @@
+==============================
+ Transitioning to ceph-deploy
+==============================
+
+If you have an existing cluster that you deployed with ``mkcephfs``, 
+you will need to make a few changes to your configuration to 
+ensure that your cluster will work with ``ceph-deploy``.
+
+Monitor Keyring
+===============
+
+You will need to add ``caps mon = "allow *"`` to your monitor keyring if it is
+not already in the keyring. By default, the monitor keyring is located under
+``/var/lib/ceph/mon/ceph-$id/keyring``. When you have added the ``caps``
+setting, your monitor keyring should look something like this::
+
+       [mon.]
+               key = AQBJIHhRuHCwDRAAZjBTSJcIBIoGpdOR9ToiyQ==
+               caps mon = "allow *" 
+               
+Adding ``caps mon = "allow *"`` will ease the transition from ``mkcephfs`` to
+``ceph-deploy`` by allowing ``ceph-create-keys`` to use the ``mon.`` keyring
+file in ``$mon_data`` and get the caps it needs.
+
+
+Use Default Paths
+=================
+
+Under the ``/var/lib/ceph`` directory, the ``mon`` and ``osd`` directories need
+to use the default paths.
+
+- **OSDs**: The path should be ``/var/lib/ceph/osd/ceph-$id``
+- **MON**: The path should be  ``/var/lib/ceph/mon/ceph-$id``
+
+Under those directories, the keyring should be in a file named ``keyring``.
\ No newline at end of file