Red Hat Training

A Red Hat training course is available for Red Hat Ceph Storage

Appendix C. Installing the Ceph Command Line Interface

The Ceph command-line interface (CLI) enables administrators to execute Ceph administrative commands. The CLI is provided by the ceph-common package and includes the following utilities:

  • ceph
  • ceph-authtool
  • ceph-dencoder
  • rados


  • A running Ceph storage cluster, preferably in the active + clean state.


  1. On the client node, enable the Red Hat Ceph Storage 3 Tools repository:

    $ sudo bash -c 'umask 0077; echo deb $(lsb_release -sc) main | tee /etc/apt/sources.list.d/Tools.list'
    $ sudo bash -c 'wget -O - | apt-key add -'
    $ sudo apt-get update
  2. On the client node, install the ceph-common package:

    $ sudo apt-get install ceph-common
  3. From the initial monitor node, copy the Ceph configuration file, in this case ceph.conf, and the administration keyring to the client node:


    # scp /etc/ceph/<cluster_name>.conf <user_name>@<client_host_name>:/etc/ceph/
    # scp /etc/ceph/<cluster_name>.client.admin.keyring <user_name>@<client_host_name:/etc/ceph/


    # scp /etc/ceph/ceph.conf root@node1:/etc/ceph/
    # scp /etc/ceph/ceph.client.admin.keyring root@node1:/etc/ceph/

    Replace <client_host_name> with the host name of the client node.