Begin by some notes about ceph monitors
This commit is contained in:
commit
61a5d3174e
1 changed files with 11 additions and 0 deletions
11
ceph-monitor-bootstrap
Normal file
11
ceph-monitor-bootstrap
Normal 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
|
Loading…
Reference in a new issue