Deploying a new Ceph Octopus cluster
Before you start
Very important remark if you reinstall a ceph cluster: make sure to power off the nodes from a previous cluster deployment, otherwise the mon nodes will spawn a mon on the first machine to reach the quorum and the boostrap will fail! (The other nodes are not aware that you reinstall a new cluster.)
Another important remark: for all the Ceph commands, you must type them in the ceph shell that you launch with:
# cephadm shell
Bootstrap a new cluster
- Reinstall ceph1 that will be the ceph adm machine, ie the machine that will be used to bootstrap the ceph cluster and deploy all the other ceph node. The object template need contain the line:
include 'config/ceph/adm';
- Once the machine is quattor-installed, log in to it and do the following:
# mkdir -p /etc/ceph # cephadm bootstrap --mon-ip *<ceph1-ip>* --allow-fqdn-hostname
Take note of the "admin" password that is generated, you'll need it to connect to the Ceph Dashboard.