注意

本文档适用于 Ceph 的开发版本。

Ceph 对象网关使用多个存储池来满足其各种存储需求,这些存储池列在 Zone 对象中(参见 radosgw-admin zone get)。一个名为 default 的单独区域会自动创建,其存储池名称以 default.rgw. 开头,但 多站点配置 将有多个区域。

调优

radosgw 首次尝试对不存在的区域存储池进行操作时,它将使用 osd pool default pg numosd pool default pgp num 中的默认值创建该存储池。这些默认值对于某些存储池来说足够了,但其他存储池(特别是那些在桶索引和数据中列出的 placement_pools)将需要额外的调优。有关存储池创建的详细信息,请参阅 存储池

存储池命名空间

New in version Luminous.

特定于区域的存储池遵循命名约定 {zone-name}.pool-name。例如,名为 us-east 的区域将具有以下存储池:

  • .rgw.root

  • us-east.rgw.control

  • us-east.rgw.meta

  • us-east.rgw.log

  • us-east.rgw.buckets.index

  • us-east.rgw.buckets.data

区域定义列出了比这更多的存储池,但其中许多通过使用 rados 命名空间进行了整合。例如,以下所有存储池条目都使用 us-east.rgw.meta 存储池的命名空间:

"user_keys_pool": "us-east.rgw.meta:users.keys",
"user_email_pool": "us-east.rgw.meta:users.email",
"user_swift_pool": "us-east.rgw.meta:users.swift",
"user_uid_pool": "us-east.rgw.meta:users.uid",

由 Ceph 基金会为您呈现

Ceph 文档是由非营利性 Ceph 基金会 资助和托管的社区资源。如果您希望支持这项工作和我们的其他努力,请考虑 立即加入