X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdoc%2Frados%2Fdeployment%2Fceph-deploy-keys.rst;fp=src%2Fceph%2Fdoc%2Frados%2Fdeployment%2Fceph-deploy-keys.rst;h=3e106c9cf0a73e595437e24b206a067ce909a060;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/doc/rados/deployment/ceph-deploy-keys.rst b/src/ceph/doc/rados/deployment/ceph-deploy-keys.rst new file mode 100644 index 0000000..3e106c9 --- /dev/null +++ b/src/ceph/doc/rados/deployment/ceph-deploy-keys.rst @@ -0,0 +1,32 @@ +================= + Keys Management +================= + + +Gather Keys +=========== + +Before you can provision a host to run OSDs or metadata servers, you must gather +monitor keys and the OSD and MDS bootstrap keyrings. To gather keys, enter the +following:: + + ceph-deploy gatherkeys {monitor-host} + + +.. note:: To retrieve the keys, you specify a host that has a + Ceph monitor. + +.. note:: If you have specified multiple monitors in the setup of the cluster, + make sure, that all monitors are up and running. If the monitors haven't + formed quorum, ``ceph-create-keys`` will not finish and the keys are not + generated. + +Forget Keys +=========== + +When you are no longer using ``ceph-deploy`` (or if you are recreating a +cluster), you should delete the keys in the local directory of your admin host. +To delete keys, enter the following:: + + ceph-deploy forgetkeys +