2013-04-26 21:05:06 +00:00
|
|
|
=================
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
2013-10-23 12:40:32 +00:00
|
|
|
.. note:: To retrieve the keys, you specify a host that has a
|
2013-04-26 21:05:06 +00:00
|
|
|
Ceph monitor.
|
|
|
|
|
2013-10-23 12:40:32 +00:00
|
|
|
.. 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
|
2017-07-27 16:46:53 +00:00
|
|
|
formed quorum, ``ceph-create-keys`` will not finish and the keys are not
|
2013-10-23 12:40:32 +00:00
|
|
|
generated.
|
2013-04-26 21:05:06 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|