Keys Management
Gather Keys
Before you can provision a host to run OSDs or metadata servers, you must gathermonitor keys and the OSD and MDS bootstrap keyrings. To gather keys, enter thefollowing:
- ceph-deploy gatherkeys {monitor-host}
Note
To retrieve the keys, you specify a host that has aCeph 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’tformed quorum, ceph-create-keys
will not finish and the keys are notgenerated.
Forget Keys
When you are no longer using ceph-deploy
(or if you are recreating acluster), you should delete the keys in the local directory of your admin host.To delete keys, enter the following:
- ceph-deploy forgetkeys