Chapter 11. Management of block devices using the Ceph dashboard

As a storage administrator, you can manage and monitor block device images on the Red Hat Ceph Storage dashboard. The functionality is divided between generic image functions, mirroring functions, and iSCSI functions. For example, you can create new images, view the state of images mirrored across clusters, manage or monitor iSCSI targets, and set IOPS limits on an image.

11.1. Management of Block device images on the Ceph dashboard

As a storage administrator, you can create, edit, copy, purge, and delete images using the Red Hat Ceph Storage dashboard.

You can also create, clone, copy, rollback, and delete snapshots of the images using the Ceph dashboard.

11.1.1. Creating images on the Ceph dashboard

You can create block device images on the Red Hat Ceph Storage dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Select Images.
  4. Click Create.
  5. In the Create RBD window, enter the parameters.
  6. Optional: Click Advanced and set the parameters.
  7. Click Create RBD.
  8. Create Block device image.

    Figure 11.1. Create Block device image

    Create Block device image
  9. You get a notification that the image was created successfully.

Additional Resources

11.1.2. Creating namespaces on the Ceph dashboard

You can create namespaces for the block device images on the Red Hat Ceph Storage dashboard.

Once the namespaces are created, you can give access to the users for those namespaces.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • A Block device image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Select Images.
  4. To create the namespace of the image, in the Namespaces tab, click Create.
  5. In the Create Namespace window, select the pool and enter a name for the namespace.
  6. Click Create.

    Figure 11.2. Create namespace

    Create namespace
  7. You get a notification that the namespace was created successfully.

Additional Resources

11.1.3. Editing images on the Ceph dashboard

You can edit block device images on the Red Hat Ceph Storage dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation bar, click the Block drop-down menu.
  3. Select Images.
  4. To edit the image, click its row.
  5. In the Edit drop-down menu, select Edit.
  6. In the Edit RBD window, edit the required parameters and click Edit RBD.

    Figure 11.3. Edit Block device image

    Edit Block device image
  7. You get a notification that the image was updated successfully.

Additional Resources

11.1.4. Copying images on the Ceph dashboard

You can copy block device images on the Red Hat Ceph Storage dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation bar, click the Block drop-down menu.
  3. Select Images.
  4. To copy the image, click its row.
  5. In the Edit drop-down menu, select Copy.
  6. In the Copy RBD window, set the required parameters and click Copy RBD.

    Figure 11.4. Copy Block device image

    Copy Block device image
  7. You get a notification that the image was copied successfully.

Additional Resources

11.1.5. Moving images to trash on the Ceph dashboard

You can move the block device images to trash before it is deleted on the Red Hat Ceph Storage dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images from the drop-down menu.
  4. To move the image to trash, click its row.
  5. Select Move to Trash in the Edit drop-down.
  6. In the Moving an image to trash window, edit the date till which the image needs protection, and then click Move.

    Figure 11.5. Moving images to trash

    Moving images to trash
  7. You get a notification that the image was moved to trash successfully.

11.1.6. Purging trash on the Ceph dashboard

You can purge trash using the Red Hat Ceph Storage dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is trashed.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation bar, click Block:
  3. Select Images.
  4. In the Trash tab, click Purge Trash.
  5. In the Purge Trash window, select the pool, and then click Purge Trash.

    Figure 11.6. Purge trash

    Purge Trash
  6. You get a notification that the pools in the trash were purged successfully.

Additional resources

11.1.7. Restoring images from trash on the Ceph dashboard

You can restore the images that were trashed and has an expiry date on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is trashed.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block:
  3. Select Images.
  4. To restore the image from Trash, in the Trash tab, click its row:
  5. Select Restore in the Restore drop-down.
  6. In the Restore Image window, enter the new name of the image , and then click Restore.

    Figure 11.7. Restore images from trash

    Restore images from trash
  7. You get a notification that the image was restored successfully.

Additional resources

  • See the Creating images section in the Red Hat Ceph Storage Dashboard Guide for more details on creating images in an RBD pool.

11.1.8. Deleting images on the Ceph dashboard.

You can delete the images only after the images are moved to trash. You can delete the cloned images and the copied images directly without moving them to trash.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created and is moved to trash.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation bar, click Block
  3. Select Images.
  4. To delete the image, in the Trash tab, click its row.
  5. Select Delete in the Restore drop-down menu.
  6. Optional: To remove the cloned images and copied images, select Delete from the Edit drop-down menu.
  7. In the Delete RBD dialog box, click the Yes, I am sure box and then Click Delete RBD to save the settings:

    Figure 11.8. Deleting images

    Deleting images
  8. You get a notification that the image was deleted successfully.

Additional resources

11.1.9. Deleting namespaces on the Ceph dashboard.

You can delete the namespaces of the images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created and is moved to trash.
  • A block device image and its namespaces is created

Procedure

  1. Log in to the Dashboard.
  2. On the navigation bar, click Block
  3. Select Images.
  4. To delete the namespace of the image, in the Namespaces tab, click its row.
  5. Click Delete.
  6. In the Delete Namespace dialog box, click the Yes, I am sure box and then Click Delete Namespace to save the settings:

    Figure 11.9. Deleting namespaces

    Deleting namespaces
  7. You get a notification that the namespace was deleted successfully.

11.1.10. Creating snapshots of images on the Ceph dashboard

You can take snapshots of the Ceph block device images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To take the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Create in the Create drop-down.
  6. In the Create RBD Snapshot dialog, enter the name and click Create RBD Snapshot:

    Figure 11.10. Creating snapshot of images

    Creating snapshot of images
  7. You get a notification that the snapshot was created successfully.

Additional Resources

11.1.11. Renaming snapshots of images on the Ceph dashboard

You can rename the snapshots of the Ceph block device images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To rename the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Rename in the the Rename drop-down.
  6. In the Rename RBD Snapshot dialog box, enter the name and click Rename RBD Snapshot:

    Figure 11.11. Renaming snapshot of images

    Renaming snapshot of images

Additional Resources

11.1.12. Protecting snapshots of images on the Ceph dashboard

You can protect the snapshots of the Ceph block device images on the Red Hat Ceph Storage Dashboard.

This is required when you need to clone the snapshots.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To protect the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Protect in the the Rename drop-down.
  6. The State of the snapshot changes from UNPROTECTED to PROTECTED.

Additional Resources

11.1.13. Cloning snapshots of images on the Ceph dashboard

You can clone the snapshots of images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created and protected.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To protect the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Clone in the the Rename drop-down.
  6. In the Clone RBD window, edit the parameters and click Clone RBD.

    Figure 11.12. Cloning snapshot of images

    Cloning snapshot of images
  7. You get a notification that the snapshot was cloned successfully. You can search for the cloned image in the Images tab.

Additional Resources

11.1.14. Copying snapshots of images on the Ceph dashboard

You can copy the snapshots of images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To protect the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Copy in the the Rename drop-down menu.
  6. In the Copy RBD window, enter the parameters and click the Copy RBD button:

    Figure 11.13. Copying snapshot of images

    Copying snapshot of images
  7. You get a notification that the snapshot was copied successfully. You can search for the copied image in the Images tab.

Additional Resources

11.1.15. Unprotecting snapshots of images on the Ceph dashboard

You can unprotect the snapshots of the Ceph block device images on the Red Hat Ceph Storage Dashboard.

This is required when you need to delete the snapshots.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created and protected.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To unprotect the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select UnProtect in the the Rename drop-down.
  6. The State of the snapshot changes from PROTECTED to UNPROTECTED.

Additional Resources

11.1.16. Rolling back snapshots of images on the Ceph dashboard

You can rollback the snapshots of the Ceph block device images on the Red Hat Ceph Storage Dashboard. Rolling back an image to a snapshot means overwriting the current version of the image with data from a snapshot. The time it takes to execute a rollback increases with the size of the image. It is faster to clone from a snapshot than to rollback an image to a snapshot, and it is the preferred method of returning to a pre-existing state.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To rollback the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Rollback in the the Rename drop-down.
  6. In the RBD snapshot rollback dialog box, click Rollback.

    Figure 11.14. Rolling back snapshot of images

    Rolling back snapshot of images

Additional Resources

11.1.17. Deleting snapshots of images on the Ceph dashboard

You can delete the snapshots of the Ceph block device images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • A snapshot of the image is created and is unprotected.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Select Images.
  4. To take the snapshot of the image, in the Images tab, click its row, and then click the Snapshots tab.
  5. Select Delete in the the Rename drop-down:

    Figure 11.15. Deleting snapshot of images

    Deleting snapshot of images
  6. You get a notification that the snapshot was deleted successfully.

Additional Resources

11.2. Management of mirroring functions on the Ceph dashboard

As a storage administrator, you can manage and monitor mirroring functions of the Block devices on the Red Hat Ceph Storage Dashboard.

You can add another layer of redundancy to Ceph block devices by mirroring data images between storage clusters. Understanding and using Ceph block device mirroring can provide you protection against data loss, such as a site failure. There are two configurations for mirroring Ceph block devices, one-way mirroring or two-way mirroring, and you can configure mirroring on pools and individual images.

11.2.1. Mirroring view on the Ceph dashboard

You can view the Block device mirroring on the Red Hat Ceph Storage Dashboard.

You can view the daemons, the site details, the pools, and the images that are configured for Block device mirroring.

Prerequisites

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

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Click Mirroring.

    Figure 11.16. View mirroring of Block devices

    View mirroring of Block devices

Additional Resources

  • For more information on mirroring, see Block Device Mirroring section in the Red Hat Ceph Storage Block Device Guide.

11.2.2. Editing mode of pools on the Ceph dashboard

You can edit mode of the overall state of mirroring functions, which includes pools and images on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • Mirroring is configured.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Click Mirroring.
  4. In the Pools tab, click the peer you want to delete.
  5. In the Edit Mode drop-down, select Edit Mode.
  6. In the Edit pool mirror mode window, select the mode from the drop-down, and then click Update:

    Figure 11.17. Editing mode in mirroring

    Editing mode in mirroring
  7. You get a notification that the pool was updated successfully.

Additional Resources

11.2.3. Adding peer in mirroring on the Ceph dashboard

You can add storage cluster peer for the`rbd-daemon` mirror to discover its peer storage cluster on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • Mirroring is configured.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Click Mirroring.
  4. In the Pools tab, click the peer you want to delete.
  5. In the Edit Mode drop-down, select Add peer.
  6. In the Add pool mirror peer window, enter the parameters, and then click Submit:

    Figure 11.18. Adding peer in mirroring

    Adding peer in mirroring
  7. You get a notification that the peer was created successfully.

Additional Resources

11.2.4. Editing peer in mirroring on the Ceph dashboard

You can edit storage cluster peer for the`rbd-daemon` mirror to discover its peer storage cluster in the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • Mirroring is configured.
  • A peer is added.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Click Mirroring.
  4. In the Pools tab, click the peer you want to delete.
  5. In the Edit Mode drop-down, select Edit peer.
  6. In the Edit pool mirror peer window, edit the parameters, and then click Submit:

    Figure 11.19. Editing peer in mirroring

    Editing peer in mirroring
  7. You get a notification that the peer was updated successfully.

Additional Resources

11.2.5. Deleting peer in mirroring on the Ceph dashboard

You can edit storage cluster peer for the`rbd-daemon` mirror to discover its peer storage cluster in the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • A pool with the rbd application enabled is created.
  • An image is created.
  • Mirroring is configured.
  • A peer is added.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click Block.
  3. Click Mirroring.
  4. In the Pools tab, click the peer you want to delete.
  5. In the Edit Mode drop-down, select Delete peer.
  6. In the Delete mirror peer dialog window, Click the Yes, I am sure box and then Click Delete mirror peer to save the settings:

    Figure 11.20. Delete peer in mirroring

    Delete peer in mirroring
  7. You get a notification that the peer was deleted successfully.

Additional Resources

11.3. Management of iSCSI functions using the Ceph dashboard

As a storage administrator, you can manage and monitor iSCSI images and targets on the Red Hat Ceph Storage Dashboard. Before you can use the dashboard to manage and monitor iSCSI images and targets, you must add gateways to it and enable the dashboard iSCSI feature.

11.3.1. Manually adding iSCSI gateways to the Ceph dashboard

You can manage iSCSI targets using the REST API provided by the rbd-target-api service of the Ceph iSCSI Gateway. You must add the API address to the dashboard before the dashboard can access it.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI nodes and containers are deployed.
Important

The Ceph iSCSI gateway requires at lest two gateways to provide high availability.

Procedure

  1. Log into the Cephadm shell:

    Example

    [root@host01 ~]# cephadm shell

  2. If the REST API for the iSCSI gateway is configured in HTTPS mode using a self-signed certificate, you must configure the dashboard to avoid SSL certificate verification when accessing the API. Run the following command to disable SSL verification.

    Syntax

    # ceph dashboard set-iscsi-api-ssl-verification false

    Example

    [ceph: root@host01 /]# ceph dashboard set-iscsi-api-ssl-verification false
    Option ISCSI_API_SSL_VERIFICATION updated

  3. List the gateways:

    Syntax

    ceph dashboard iscsi-gateway-list

    Example

    [ceph: root@host01 /]# ceph dashboard iscsi-gateway-list
    {"gateways": {"host01": {"service_url": "http://admin:admin@[2620:52:0:880:225:90ff:fefc:2538]:5000"}, "host03": {"service_url": "http://admin:admin@[2620:52:0:880:225:90ff:fefc:252c]:5000"}}}----

  4. Create a file for the first of atleast two gateways and add the service_url:

    Example

    [ceph: root@host01 /]# cat iscsigateway1
    http://admin:admin@[2620:52:0:880:225:90ff:fefc:2538]:5000

  5. Add the first of at least two gateways to the dashboard:

    Syntax

    ceph dashboard iscsi-gateway-add FILE HOSTNAME

    Example

    [ceph: root@host01 /]# ceph dashboard iscsi-gateway-add iscsigateway1 host01
    Success

  6. Create a file for the second of atleast two gateways:

    Example

    [ceph: root@host01 /]# cat iscsigateway2
    http://admin:admin@[2620:52:0:880:225:90ff:fefc:252c]:5000

  7. Add the second of at least two gateways to the dashboard:

    Syntax

    ceph dashboard iscsi-gateway-add FILE HOSTNAME

    Example

    [ceph: root@host01 /]# # ceph dashboard iscsi-gateway-add iscsigateway2 host03
    Success

Additional Resources

11.3.2. iSCSI overview on the Ceph dashboard

You can see the overview that displays iSCSI gateway hosts and images exported over iSCSI on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI gateway is installed.
  • iSCSI gateways are added to the dashboard.
  • The dashboard iSCSI feature is enabled.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Click iSCSI.

    Figure 11.21. iSCSI overview

    iSCSI overview

Additional Resources

11.3.3. Creating iSCSI targets on the Ceph dashboard

You can create iSCSI targets on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI gateway is installed with at least two gateways.
  • iSCSI gateways are added to the dashboard.
  • The dashboard iSCSI feature is enabled.
  • A replicated pool with the RBD application enabled.
  • An erasure coded pool with the RBD application enabled.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Click iSCSI.
  4. Click the Targets tab.
  5. Click Create from the Create drop-down menu.
  6. In the Create Target window, set the following parameters:

    1. Optional: Modify the Target IQN.
    2. Optional: Set advanced settings for the target.
    3. Click the +Add portal button and select the first of at least two gateways. Repeat this step for any additional gateways.
    4. Click the +Add image button and select an image to be exported by the target. Repeat this step for any additional images.
    5. Click the ACL authentication box.
    6. Click the Add group button.
    7. Click Create Target.

      Figure 11.22. Create iSCSI Target

      Create iSCSI Target

Additional Resources

  • For information on how to create a pool with the RBD application enabled, see Creating Block Device Pools in the Red Hat Ceph Storage Block device guide.
  • For information on how to create images see Creating block device images in the Red Hat Ceph Storage Block device guide.

11.3.4. Viewing iSCSI targets on the Ceph dashboard

You can view the iSCSI targets on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI gateway is installed.
  • An iSCSI target is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Click iSCSI.
  4. Click the Targets tab.
  5. To view details about a target, click on its row.

    1. You can see the iSCSI topology, including whether an initiator is logged in:
    2. Click an object to view detailed information about it:

      Figure 11.23. View iSCSI targets

      View iSCSI targets

Additional Resources

11.3.5. Editing iSCSI targets on the Ceph dashboard

You can edit iSCSI targets on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI gateway is installed with at least two gateways.
  • iSCSI gateways are added to the dashboard.
  • The dashboard iSCSI feature is enabled.
  • A replicated pool with the RBD application enabled.
  • An erasure coded pool with the RBD application enabled.
  • An iSCSI target is created.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Click iSCSI.
  4. Click the Targets tab.
  5. To edit details about a target, click on its row.
  6. In the Edit drop-dpwn menu, select Edit.
  7. In the Edit Target window, edit the parameters and click Edit Target.

    Figure 11.24. Edit iSCSI target

    Edit iSCSI target

Additional Resources

11.3.6. Deleting iSCSI targets on the Ceph dashboard

You can delete iSCSI targets on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI gateway is installed with at least two gateways.
  • iSCSI gateways are added to the dashboard.
  • The dashboard iSCSI feature is enabled.
  • An iSCSI target is created.
  • Disconnect all iSCSI Initiators.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Click iSCSI.
  4. Click the Targets tab.
  5. To delete a target, click on its row.
  6. In the Edit drop-down menu, select Delete.
  7. In the Delete iSCSI target dialog box, click the Yes, I am sure box and then Click Delete iSCSI to save the settings.

    Figure 11.25. Delete iSCSI target

    Delete iSCSI target

Additional Resources

11.3.7. Setting discovery authentication on the Ceph dashboard

The dashboard allows Discovery Authentication by using CHAP/CHAP_MUTUAL.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • The Ceph iSCSI gateway is installed with at least two gateways.
  • iSCSI gateways are added to the dashboard.
  • The dashboard iSCSI feature is enabled.

Procedure

  1. Log in to the Dashboard.
  2. On the navigation menu, click the Block drop-down menu.
  3. Click iSCSI.
  4. Click the Targets tab.
  5. Click Discovery authentication.
  6. In Discovery Authentication window, provide the details and then Click Submit.

    Figure 11.26. Discovery Authentication

    Discovery Authentication