]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add ceph-create-keys.8 4412/head
authorKefu Chai <kchai@redhat.com>
Tue, 21 Apr 2015 06:59:32 +0000 (14:59 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 22 Apr 2015 13:35:01 +0000 (21:35 +0800)
Fixes: #10725
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in
debian/ceph.install
doc/man/8/ceph-create-keys.rst [new file with mode: 0644]
man/CMakeLists.txt
man/Makefile-server.am

index 3faae3e7a5f5345bc9da6aa83b7a6c2d11546597..638dd2ca408271088db68d0c779acb792fdaf031 100644 (file)
@@ -637,6 +637,7 @@ fi
 %config(noreplace) %{_sysconfdir}/logrotate.d/ceph
 %{_mandir}/man8/ceph-deploy.8*
 %{_mandir}/man8/ceph-disk.8*
+%{_mandir}/man8/ceph-create-keys.8*
 %{_mandir}/man8/ceph-mon.8*
 %{_mandir}/man8/ceph-mds.8*
 %{_mandir}/man8/ceph-osd.8*
index 0cd2666a96ceab154aa65e18998c0ff7f48062dc..dca7dab4f53a99032a491f9ca1e80ff4d96fb406 100644 (file)
@@ -22,6 +22,7 @@ usr/libexec/ceph/ceph-osd-prestart.sh
 usr/share/doc/ceph/sample.ceph.conf
 usr/share/doc/ceph/sample.fetch_config
 usr/share/man/man8/ceph-clsinfo.8
+usr/share/man/man8/ceph-create-keys.8
 usr/share/man/man8/ceph-debugpack.8
 usr/share/man/man8/ceph-deploy.8
 usr/share/man/man8/ceph-disk.8
diff --git a/doc/man/8/ceph-create-keys.rst b/doc/man/8/ceph-create-keys.rst
new file mode 100644 (file)
index 0000000..4f77a4b
--- /dev/null
@@ -0,0 +1,63 @@
+:orphan:
+
+===============================================
+ceph-create-keys -- ceph keyring generate tool
+===============================================
+
+.. program:: ceph-create-keys
+
+Synopsis
+========
+
+| **ceph-create-keys** [-h] [-v] [--cluster *name*] --id *id*
+
+
+Description
+===========
+
+:program:`ceph-create-keys` is a utility to generate bootstrap keyrings using
+the given monitor when it is ready.
+
+it creates following auth entities (or users)
+
+``client.admin``
+
+    and its key for your client host.
+
+``client.bootstrap-{osd, rgw, mds}``
+
+    and their keys for bootstrapping corresponding services
+
+To list all users in cluster::
+
+    ceph auth list
+
+
+Options
+=======
+
+.. option:: --cluster
+
+   name of the cluster (default 'ceph').
+
+.. option:: -i, --id
+
+   id of a ceph-mon that is coming up. **ceph-create-keys** will wait until it joins quorum.
+
+.. option:: -v, --verbose
+
+   be more verbose.
+
+
+Availability
+============
+
+**ceph-create-keys** is part of Ceph, a massively scalable, open-source, distributed storage system.  Please refer
+to the Ceph documentation at http://ceph.com/docs for more
+information.
+
+
+See also
+========
+
+:doc:`ceph <ceph>`\(8)
index f7896d6c7164927640bd5df63949db88d0bdc432..ea0ef47609c94936b4913f4524146f13ad4badb9 100644 (file)
@@ -11,6 +11,7 @@ install(FILES
        ceph-run.8
        ceph.8
        mount.ceph.8
+       ceph-create-keys.8
        radosgw.8
        radosgw-admin.8
        ceph-authtool.8
index 794275b543172fb9240215ee8c9f56a38237d128..a780ebe1e378cda924d8ccfd88053964df2ecfa0 100644 (file)
@@ -3,6 +3,7 @@ dist_man_MANS += \
        crushtool.8 \
        ceph-run.8 \
        mount.ceph.8 \
+       ceph-create-keys.8 \
        ceph-rest-api.8 \
        ceph-debugpack.8