Deleting a drive

You can delete a device such as a tape drive. Metadata for the device that you delete, such as the drive serial number, is removed from the IBM Guardium Key Lifecycle Manager database.

About this task

Before you begin, ensure that a current backup exists for the IBM Guardium Key Lifecycle Manager database. If you use the REST interface, obtain the UUID of the device that you intend to delete.

You can use the Delete menu item or Device Delete REST Service to delete a device. Your role must have permissions to the delete action and to the appropriate endpoint.

Procedure

  • Using the graphical user interface
    1. Log in to the graphical user interface.
    2. On the home page, click the menu icon (Menu icon) at the upper left of the page.
    3. Click Endpoint management > Configured endpoints.
    4. On the Configured endpoints page, select your LTO endpoint and click the overflow menu icon (Options).
    5. From the overflow menu options, click View.
    6. Alternatively, on the home page, click your LTO endpoint link in the Configured endpoints section.
    7. On the LTO endpoint management page, select a tape drive in the table and click the overflow menu icon.
    8. From the overflow menu options, click Delete.
    9. On the Confirm delete dialog, read the confirmation message before you delete the device. Metadata for the device that you delete, such as the drive serial number, is removed from the IBM Guardium Key Lifecycle Manager database. Click OK.
  • Using a REST interface
    1. Open the Swagger UI. For more information, see Using Swagger UI.
    2. Authenticate and authorize to access the REST APIs. For more information, see Authentication process for REST services.
    3. Use Device Delete REST Service to delete a device. Specify the device UUID. For example, you can send the following HTTP request by using a REST client.
      GET https://localhost:port/GKLM/rest/v1/devices?type=LTO
      Content-Type: application/json
      Accept : application/json
      Authorization : SKLMAuth userAuthId=37ea1939-1374-4db7-84cd-14e399be2d20
      Accept-Language : en
      DELETE https://localhost:port/GKLM/rest/v1/devices/DEVICE-74386920-148c-
      47b2-a1e2-d19194b315cf
      Content-Type: application/json
      Accept : application/json
      Authorization : SKLMAuth userAuthId=37ea1939-1374-4db7-84cd-14e399be2d20