Manually add a ceph-mon

mkdir /tmp/cephmon

ceph auth get mon. -o /tmp/cephmon/mon.key


ceph mon getmap -o /tmp/cephmon/monmap

sudo ceph-mon -i mon-hostname --mkfs --monmap /tmp/cephmon/monmap --keyring /tmp/cephmon/mon.key


ceph-mon -i mon-hostname --public-addr 10.50.1.71


ps ax | grep ceph-mon
kill {mon-pid}


chown ceph:ceph /var/lib/ceph/mon/ -R
systemctl enable ceph-mon@mon-hostname.service
systemctl start ceph-mon@mon-hostname.service
systemctl status ceph-mon@mon-hostname.service