Chapter 9. Managing pools on the Ceph dashboard

As a storage administrator, you can create, edit, and delete pools on the Red Hat Ceph Storage dashboard.

This section covers the following administrative tasks:

9.1. Creating pools on the Ceph dashboard

When you deploy a storage cluster without creating a pool, Ceph uses the default pools for storing data. You can create pools to logically partition your storage objects on the Red Hat Ceph Storage dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.

Procedure

  1. Log in to the dashboard.
  2. On the navigation menu, click Pools.
  3. Click Create.
  4. In the Create Pool window, set the following parameters:

    Figure 9.1. Creating pools

    Creating pools
    1. Set the name of the pool and select the pool type.
    2. Select either replicated or Erasure Coded (EC) pool type.
    3. Set the Placement Group (PG) number.
    4. Optional: If using a replicated pool type, set the replicated size.
    5. Optional: If using an EC pool type configure the following additional settings.
    6. Optional: To see the settings for the currently selected EC profile, click the question mark.
    7. Optional: Add a new EC profile by clicking the plus symbol.
    8. Optional: Click the pencil symbol to select an application for the pool.
    9. Optional: Set the CRUSH rule, if applicable.
    10. Optional: If compression is required, select passive, aggressive, or force.
    11. Optional: Set the Quotas.
    12. Optional: Set the Quality of Service configuration.
  5. Click Create Pool.
  6. You get a notification that the pool was created successfully.

Additional Resources

  • For more information, see Ceph pools section in the Red Hat Ceph Storage Architecture Guide for more details.

9.2. Editing pools on the Ceph dashboard

You can edit the pools on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool is created.

Procedure

  1. Log in to the dashboard.
  2. On the navigation menu, click Pools.
  3. To edit the pool, click its row.
  4. Select Edit In the Edit drop-down.
  5. In the Edit Pool window, edit the required parameters and click Edit Pool:

    Figure 9.2. Editing pools

    Editing pools
  6. You get a notification that the pool was created successfully.

Additional Resources

  • See the Ceph pools in the Red Hat Ceph Storage Architecture Guide for more information.
  • See the Pool values in the Red Hat Ceph Storage Storage Strategies Guide for more information on Compression Modes.

9.3. Deleting pools on the Ceph dashboard

You can delete the pools on the Red Hat Ceph Storage Dashboard. Ensure that value of mon_allow_pool_delete is set to True in Manager modules.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool is created.

Procedure

  1. Log in to the dashboard.
  2. On the navigation bar, in Cluster drop-down menu, click Configuration.
  3. In the Level drop-down menu, select Advanced:
  4. Search for mon_allow_pool_delete, click Edit
  5. Set all the values to true:

    Figure 9.3. Configuration to delete pools

    Edit Configuration to delete pools
  6. On the navigation bar, click Pools:
  7. To delete the pool, click on its row:
  8. From Edit drop-down menu, select Delete.
  9. In the Delete Pool window, Click the Yes, I am sure box and then Click Delete Pool to save the settings:

    Figure 9.4. Delete pools

    Delete pools

Additional Resources

  • See the Ceph pools in the Red Hat Ceph Storage Architecture Guide for more information.
  • See the Pool values in the Red Hat Ceph Storage Storage Strategies Guide for more information on Compression Modes.