Begin by some notes about ceph monitors

This commit is contained in:
Nico Schottelius 2018-02-15 22:07:34 +01:00
commit 61a5d3174e

11
ceph-monitor-bootstrap Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
fname=/tmp/monkey
ceph-authtool --create-keyring "$fname" --gen-key -n mon.
ceph-authtool "$fname" --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow'
cat "$fname"
# ensure mon has persistent storage!
ceph-mon --mkfs -i mon.$(hostname) --keyring /tmp/monkey