Adding multiple hosts
Add multiple hosts at a time to the storage cluster, by using a YAML file.
Before you begin
Before you begin, make sure that you have the following prerequisites in place:
- A storage cluster is installed and bootstrapped.
- Root-level access to all nodes in the storage cluster.
About this task
Note: Be sure to create the hosts.yaml file within a host container, or create
the file on the local host and then use the
cephadm shell to mount the file within
the container. The cephadm shell automatically places mounted files in
/mnt. If you create the file directly on the local host and then apply the
hosts.yaml file instead of mounting it, a File does not exist
error message displays.