このコンテンツは選択した言語では利用できません。

Chapter 16. Management of buckets of a multi-site object configuration on the Ceph dashboard


As a storage administrator, you can edit buckets of one zone in another zone on the Red Hat Ceph Storage Dashboard. However, you can delete buckets of secondary sites in the primary site. You cannot delete the buckets of master zones of primary sites in other sites. For example, If the buckets are created in a zone in the secondary site, you can edit and delete those buckets in the master zone in the primary site.

Prerequisites

  • At least one running Red Hat Ceph Storage cluster deployed on both the sites.
  • Dashboard is installed.
  • The multi-site object gateway is configured on the primary and secondary sites.
  • Object gateway login credentials of the primary and secondary sites are added to the dashboard.
  • Object gateway users are created on the primary site.
  • Object gateway buckets are created on the primary site.
  • At least rgw-manager level of access on the Ceph dashboard.

16.1. Monitoring buckets of a multi-site object

Monitor the multi-site sync status of a bucket on the dashboard. You can view the source zones and sync status from Object→Multi-site on the Ceph Dashboard.

The multi-site sync status is divided into two sections:

Primary Source Zone
Displays the default realm, zonegroup, and the zone the Ceph Object Gateway is connected to.
Source Zones
View both the metadata sync status and data sync information progress. When you click the status, a breakdown of the shard syncing is displayed. The sync status shows the Last Synced time stamp with the relative time of the last sync occurrence in relation to the current time. When the sync is complete, this shows as Up to Date. When a sync is not caught up the status shows as Syncing. However, the Last sync shows the number of days the sync is not caught up. By clicking Syncing, it displays the details about shards which are not synced.

16.2. Editing buckets of a multi-site Object Gateway configuration on the Ceph Dashboard

You can edit and update the details of the buckets of one zone in another zone on the Red Hat Ceph Storage Dashboard in a multi-site object gateway configuration. You can edit the owner, versioning, multi-factor authentication and locking features of the buckets with this feature of the dashboard.

Prerequisites

  • At least one running Red Hat Ceph Storage cluster deployed on both the sites.
  • Dashboard is installed.
  • The multi-site object gateway is configured on the primary and secondary sites.
  • Object gateway login credentials of the primary and secondary sites are added to the dashboard.
  • Object gateway users are created on the primary site.
  • Object gateway buckets are created on the primary site.
  • At least rgw-manager level of access on the Ceph dashboard.

Procedure

  1. From the dashboard navigation of the secondary site, go to Object→Buckets.

    The Object Gateway buckets from the primary site are displayed.

  2. Select the bucket that you want to edit, and click Edit from the action drop-down.
  3. In the Edit Bucket form, edit the required prameters, and click Edit Bucket.

    A notification is displayed that the bucket is updated successfully.

    Figure 16.1. Edit buckets in a multi-site

16.3. Deleting buckets of a multi-site Object Gateway configuration on the Ceph Dashboard

You can delete buckets of secondary sites in primary sites on the Red Hat Ceph Storage Dashboard in a multi-site Object Gateway configuration.

Important

Red Hat does not recommend to delete buckets of primary site from secondary sites.

Prerequisites

  • At least one running Red Hat Ceph Storage cluster deployed on both the sites.
  • Dashboard is installed.
  • The multi-site object gateway is configured on the primary and secondary sites.
  • Object Gateway login credentials of the primary and secondary sites are added to the dashboard.
  • Object Gateway users are created on the primary site.
  • Object Gateway buckets are created on the primary site.
  • At least rgw-manager level of access on the Ceph dashboard.

Procedure

  1. From the dashboard navigation of the primary site, go to Object→Buckets.
  2. Select the bucket of the secondary site to be deleted, and click Delete from the action drop-down.
  3. In the Delete Bucket notification, select Yes, I am sure and click Delete bucket.

    The bucket is deleted from the Buckets table.

16.4. Configuring a multi-site object gateway on the Ceph dashboard

You can configure Ceph Object Gateway multi-site on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster deployed on both the sites.
  • At least one Ceph Object Gateway service installed at both the sites.

Procedure

  1. Enable the Ceph Object Gateway module for import/export on both the the primary and secondary sites.

    1. From the dashboard navigation of the secondary site, go to Object→Multi-site.
    2. In the In order to access the import/export feature, the rgw module must be enabled note, click Enable.
  2. On the primary site dashboard, create a default realm, zonegroup, and zone.

    1. Click Create Realm.
    2. In the Create Realm form, provide a realm name, and select Default.
    3. Click Create Realm.
    4. Click Create Zone Group from the action drop-down.
    5. In the Create Zone Group form, provide a zone group name, the Ceph Object Gateway endpoints, and select Default.
    6. Click Create Zone Group.
    7. Click Create Zone from the action drop-down.
    8. In the Create Zone form, provide a Zone Name, select Default, and provide the Ceph Object Gateway endpoints of the primary site. For the user, provide the access and secret key of the user with system privileges.

      Note

      While creating a zone, Red Hat recommends to give access key and secret key of the dashboard default user, dashboard.

    9. Click Create Zone.

      A warning is displayed to restart the Ceph Object Gateway service to complete the zone creation.

  3. Restart the Ceph Object Gateway service.

    1. From the dashboard navigation of the secondary site, go to Administration→Services.
    2. Select the Ceph Object Gateway service row and expand the row.
    3. From the Daemons tab, select the hostname.
    4. Click Restart from the action drop-down.
  4. From the dashboard navigataion, in Object→Overview you get an error that "The Object Gateway Service is not configured". This bug is a known issue. See BZ#2231072.

    1. As a workaround, set the Ceph Object Gateway credentials on the command-line interface.

      Syntax

      ceph dashboard set-rgw-credentials
      RGW credentials configured
      Copy to Clipboard Toggle word wrap

    2. Go to Object→Overview to verify that you are able to access the Ceph Object Gateway on the dashboard.
  5. Create a replication user on the primary site. You can use the following two options:

    • Create user using the CLI:

      Example

      [ceph: root@host01 /]# radosgw-admin user create --uid="uid" --display-name="displayname" --system
      Copy to Clipboard Toggle word wrap

    • Create user from the dashboard and modify the user from the CLI:

      Example

      [ceph: root@host01 /]# radosgw-admin user modify --uid="uid" --system
      Copy to Clipboard Toggle word wrap

  6. From the dashboard navigation, go to Object→Users.
  7. Expand the user row and from Keys, click Show.

    1. Use the Copy to Clipboard to copy the access and secret keys.

      These will be used in a later step.

  8. From the primary site dashboard, go to Object→Multi-site.

    1. From the Topology Viewer, select the zone and click the Edit icon.
    2. From the Edit Zone form, paste the access key in the S3 access key field and the secret key in the S3 secret key field. Use the keys that were copied previously.
    3. Click Edit Zone.
  9. Click Export.

    1. From the Export Multi-site Realm Token dialog, copy the token.
  10. From the secondary site, go to Object→Multi-site.
  11. Import the token from the primary zone, by clicking Import.

    1. In the Import Multi-site Token dialog, in the Zone section, paste the token that was copied earlier, and provide a secondary zone name.
    2. In the Service section, select the placement and the port where the new Ceph Object Gateway service is going to be created.
    3. Click Import.

      A warning is displayed to restart the Ceph Object Gateway service.

  12. Restart the Ceph Object Gateway service.

    1. From the dashboard navigation of the secondary site, go to Administration→Services.
    2. Select the Ceph Object Gateway service row and expand the row.
    3. From the Daemons tab, select the hostname.
    4. Click Restart from the action drop-down.

      Wait until the users are synced to the secondary site.

  13. Verify that the sync is complete using the following commands:

    Syntax

    radosgw-admin sync status
    radosgw-admin user list
    Copy to Clipboard Toggle word wrap

    Example

    [ceph: root@host01 /]# radosgw-admin sync status
    [ceph: root@host01 /]# radosgw-admin user list
    Copy to Clipboard Toggle word wrap

  14. In Object→Overview you get an error that "The Object Gateway Service is not configured". This bug is a known issue. See BZ#2231072.

    1. As a workaround, set the Ceph Object Gateway credentials on the command-line interface.

      Syntax

      ceph dashboard set-rgw-credentials
      RGW credentials configured
      Copy to Clipboard Toggle word wrap

    2. Go to Object→Overview to verify that you are able to access the Ceph Object Gateway on the dashboard.
  15. On the primary site, Object→Overview, in the Multi-Site Sync Status section, an error is displayed because on the secondary zone you can see that the endpoints and the hostname are not the IP address. This bug is a known issue while configuring multi-site. See BZ#2242994.

    1. As a workaround, from the secondary site dashboard, go to Object→Multi-site.
    2. Select the secondary zone and click the Edit icon.
    3. Edit the endpoints to reflect the IP address.
    4. Click Edit Zone.
  16. On the primary site and secondary site dashboards, from Object→Overview, in the Multi-Site Sync Status section, the status displays.

Verification

  • Create a user on the primary site. You see that the user syncs to the secondary site.
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る