How to do it…

In the following recipe, we will discuss more Ceph user management by running some commands:

  1. To list the users in your cluster, execute the following command:
        # ceph auth list

The output of this command shows that for each daemon type, Ceph creates a user with different capabilities. It also lists the client.admin user, which is the cluster admin user.

  1. To retrieve a specific user, for example, client.admin, execute the following:
        # ceph auth get client.admin
  1. Create a user, client.rbd:
        # ceph auth get-or-create client.rbd

This will create the user, client.rbd, with no capabilities, and a user with no caps is of no use.

  1. Add capabilities to the client.rbd user and list the user's capabilities:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset