2.15.7. コマンドラインインターフェイスを使用したトピック管理
コマンドラインインターフェイスを使用して、トピックを一覧表示、取得、および削除できます。
前提条件
- Ceph Object Gateway ノードへのルートレベルのアクセスがある。
手順
ユーザーのすべてのトピックのリストを取得するには、以下を実行します。
構文
radosgw-admin topic list --uid=USER_ID例
[root@rgw ~]# radosgw-admin topic list --uid=example特定のトピックの設定を取得するには、以下を実行します。
構文
radosgw-admin topic get --uid=USER_ID --topic=TOPIC_NAME例
[root@rgw ~]# radosgw-admin topic get --uid=example --topic=example-topic特定のトピックを削除するには、以下を実行します。
構文
radosgw-admin topic rm --uid=USER_ID --topic=TOPIC_NAME例
[root@rgw ~]# radosgw-admin topic rm --uid=example --topic=example-topic