Booting a Cluster on ceph1
Boot a Ceph container cluster on ceph1.
- Boot a Ceph cluster.
- Single node:
1cephadm bootstrap --mon-ip xxip --single-host-defaults --no-minimize-config
- Multiple nodes:
1cephadm bootstrap --mon-ip xxip --cluster-network xxx --no-minimize-config
xxx indicates the actual local IP address.
--mon-ip specifies the IP address of the front-end network.
--cluster-network specifies the IP address of the back-end network.

- Single node:
- Copy the public key to other nodes (if multiple nodes are used).
ssh-copy-id -f -i /etc/ceph/ceph.pub root@ceph2 ssh-copy-id -f -i /etc/ceph/ceph.pub root@ceph3
- Synchronize the local repository configuration to other nodes.
scp /etc/containers/registries.conf ceph2:/etc/containers/ scp /etc/containers/registries.conf ceph3:/etc/containers/
- Enter a Ceph cluster container.
1cephadm shell - Add hosts. (Wait for 3 to 5 minutes after the following commands are executed.)
1 2
ceph orch host add ceph2 ceph orch host add ceph3
- Check whether the hosts are added.
1ceph orch host ls

- Check the cluster status and ensure that the other two nodes are added to the cluster.
1ceph -s
Parent topic: Deploying Ceph