Recommended cephadm bootstrap command options
Use a basic set of command options for cephadm bootstrap. You can
configure additional options after your initial cluster is up and running.
The cephadm bootstrap command has multiple options that allow you to specify
file locations, configure ssh settings, set passwords, and perform other initial
configuration tasks.
Specify the recommended options by using the following command:
cephadm bootstrap --ssh-user USER_NAME --mon-ip IP_ADDRESS --allow-fqdn-hostname --registry-json REGISTRY_JSON
[root@host01 ~]# cephadm bootstrap --ssh-user ceph --mon-ip 10.10.128.68 --allow-fqdn-hostname --registry-json /etc/mylogin.json
For non-root users, see Creating an Ansible user with sudo access and Enabling password-less SSH for Ansible for more details.
Reference
-
For more information about the
--registry-jsonoption, see Using a JSON file to protect login information. -
For more information about all available
cephadm bootstrapoptions, see Bootstrap command options. -
For more information about bootstrapping the storage cluster as a non-root user, see Bootstrapping the storage cluster as a non-root user.