============================= Deploying with ``mkcephfs`` ============================= Enable Login to Cluster Hosts as ``root`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To deploy with ``mkcephfs``, you will need to be able to login as ``root`` on each host without a password. For each host, perform the following:: sudo passwd root Enter a password for the root user. On the admin host, generate an ``ssh`` key without specifying a passphrase and use the default locations. :: ssh-keygen Generating public/private key pair. Enter file in which to save the key (/ceph-admin/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /ceph-admin/.ssh/id_rsa. Your public key has been saved in /ceph-admin/.ssh/id_rsa.pub. You may use RSA or DSA keys. Once you generate your keys, copy them to each OSD host. For example:: ssh-copy-id root@myserver01 ssh-copy-id root@myserver02 Modify your ``~/.ssh/config`` file to login as ``root``, as follows:: Host myserver01 Hostname myserver01.fully-qualified-domain.com User root Host myserver02 Hostname myserver02.fully-qualified-domain.com User root Copy Configuration File to All Hosts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ceph's ``mkcephfs`` deployment script does not copy the configuration file you created from the Administration host to the OSD Cluster hosts. Copy the configuration file you created (*i.e.,* ``mycluster.conf`` in the example below) from the Administration host to ``etc/ceph/ceph.conf`` on each OSD Cluster host if you are using ``mkcephfs`` to deploy Ceph. :: cd /etc/ceph ssh myserver01 sudo tee /etc/ceph/ceph.conf