# ceph status
cluster:
id: 46a122a0-8670-4935-b644-399e744c1c03
health: HEALTH_OK
services:
mon: 1 daemons, quorum lingcod
mgr: lingcod(active)
mds: NIO-1/1/1 up {0=lingcod=up:active}
osd: 18 osds: 18 up, 18 in
data:
pools: 4 pools, 1700 pgs
objects: 77489 objects, 301 GB
usage: 906 GB used, 112 TB / 113 TB avail
pgs: 1700 active+clean
# scp -p ${initial_monitor_ip}:/etc/ceph/ceph.client.admin.keyring /etc/ceph/
# ceph-authtool --create-keyring /etc/ceph/${cluster_name}.mon.keyring --gen-key -n mon. --cap mon 'allow *'
# ceph-authtool /etc/ceph/${cluster_name}.mon.keyring --import-keyring /etc/ceph/${cluster_name}.client.admin.keyring
# ceph auth caps client.admin osd 'allow *' mds 'allow *' mon 'allow *' mgr 'allow *'
# monmaptool --create --add ${hostname} ${ip_address} --fsid ${uuid} /etc/ceph/monmap
# mkdir /var/lib/ceph/mon/${cluster_name}-${hostname}
# chown -R ceph:ceph /var/lib/ceph/mon/${cluster_name}-${hostname}
# chmod +r /etc/ceph/${cluster_name}.mon.keyring
# chmod +r /etc/ceph/monmap
# sudo -u ceph ceph-mon --cluster ${cluster_name} --mkfs -i ${hostname} --monmap /etc/ceph/monmap --keyring /etc/ceph/${cluster_name}.mon.keyring --fsid ${uuid}
# touch /var/lib/ceph/mon/${cluster_name}-${hostname}/done
# systemctl start ceph-mon@${hostname}
# ceph daemon mon.taulog add_bootstrap_peer_hint lingcod
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com