Managing the OSDs

Manage Ceph OSD lifecycle and maintenance tasks by using the IBM Storage Ceph Dashboard.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • A running IBM Storage Ceph cluster.
  • Dashboard is installed.
  • Hosts, Monitors, and Manager Daemons are added to the storage cluster.

About this task

Use the IBM Storage Ceph Dashboard to centrally manage Object Storage Daemons (OSDs) and perform common operational and maintenance tasks.

From the dashboard, you can complete the following OSD management actions:

  • Create new OSDs.
  • Edit the device class assigned to an OSD.
  • Set OSD flags, such as No Up, No Down, No In, or No Out.
  • Run scrub and deep-scrub operations on OSDs.
  • Reweight OSDs to rebalance data placement.
  • Change OSD state to Out, In, Down, or Lost.
  • Purge, destroy, or delete OSDs as part of decommissioning workflows.

To access OSD management, from the dashboard navigation, click Cluster > OSDs.

Creating an OSD

Procedure

  1. From the OSDs List page, click Create.
    Note: Ensure you have an available host and a few available devices. You can check for available devices in Cluster > Physical Disks.
  2. In the Create OSDs form, from the Deployment Options section, select a deployment option.
    Cost/Capacity-optimized
    The cluster gets deployed with all available HDDs.
    Throughput-optimized
    Slower devices are used to store data and faster devices are used to store journals/WALs.
    IOPS-optmized
    All the available NVMes are used to deploy OSDs.
  3. Optional: Add a additional devices in the Advanced Mode section, by clicking Add.
    Primary devices
    Primary storage devices contain all OSD data.
    WAL devices
    Write-Ahead-Log devices are used for BlueStore’s internal journal and are used only if the WAL device is faster than the primary device. For example, NVMes or SSDs.
    DB devices
    DB devices are used to store BlueStore’s internal metadata and are used only if the DB device is faster than the primary device. For example, NVMEs or SSDs.
  4. For security, select Encryption in the Features section.
  5. Click Create.
    A notification displays that the OSD was created successfully and the OSD status changes from in and down to in and up.

Editing an OSD

Procedure

  1. Select an OSD in the OSDs List, and click Edit.
  2. In the Edit OSD dialog, edit the device class and click Edit OSD.
    A notification displays that the OSD was updated successfully.

Marking OSD flags

Procedure

  1. Select the OSD in the OSDs List, and click Flags from the action drop-down.
  2. Select the flags needed and click Update.
    A notification displays that the OSD flags updated succesfully.

Scrubbing OSDs

Procedure

  1. Select the OSD in the OSDs List, and click Scrub from the action drop-down.
  2. In the OSDs Scrub dialog, click Update.
    A notification displays that the OSD scrubbing was initiated successfully.

Deep scrubbing

Procedure

  1. Select the OSD in the OSDs List, and click Deep Scrub from the action drop-down.
  2. In the OSDs Deep Scrub dialog, click Update.
    A notification displays that the OSD deep scrubbing was initiated successfully.

Reweighting OSDs

Procedure

  1. Select the OSD in the OSDs List, and click Reweight from the action drop-down.
  2. In the Reweight OSD dialog, enter a value between 0 and 1.
  3. Click Reweight.

Marking OSDs Out

Procedure

  1. Select the OSD in the OSDs List, and click Mark Out from the action drop-down.
  2. In the Mark OSD out notification, click Mark out.
    The OSD status changes to Out.

Marking OSDs In

Procedure

  1. Select the OSD in the OSDs List, and click Mark In from the action drop-down.
  2. In the Mark OSD in notification, click Mark in.
    The OSD status changes to In.

Marking OSDs Down

Procedure

  1. Select the OSD in the OSDs List, and click Mark Down from the action drop-down.
  2. In the Mark OSD down notification, click Mark Down.
    The OSD status changes to Down.

Marking OSDs Lost

Procedure

  1. Select the OSD that is in out and down status from the OSDs List.
  2. Click Mark Lost from the action drop-down.
  3. In the Mark OSD Lost dialog, select Yes, I am sure, and click Mark Lost.

Purging OSDs

Procedure

  1. Select the OSD that is in the down status from the OSDs List.
  2. Click Purge from the action drop-down.
  3. In the Purge OSDs dialog, select Yes, I am sure, and click Purge OSD.
    All the flags are reset and the OSD is back in in and up status.

Destroying OSDs

Procedure

  1. Select the OSD that is in the down status from the OSDs List.
  2. Click Detroy from the action drop-down.
  3. In the Destroy OSDs dialog, select Yes, I am sure, and click Destroy OSD.
    The status of the OSD changes to destroyed.

Deleting OSDs

Procedure

  1. Select the OSD that is in the down status from the OSDs List.
  2. Click Delete from the action drop-down.
  3. In the Delete OSDs dialog, select Yes, I am sure, and click Delete OSD.
    Note: You can preserve the OSD_ID when you have to replace the failed OSD.