注意
本文档适用于 Ceph 开发版本。
Pools
Ceph 对象网关使用多个池来满足其各种存储需求,这些池在区对象中列出(参见 ab0217:)。一个名为 119deb: 的区会自动创建,其池名称以 2d63e7: 开头,但一个 208e36: 将有多个区。radosgw-admin zone get
). A
single zone named default
is created automatically with pool names
starting with default.rgw.
, but a 多站点配置
will have multiple zones.
调整
当radosgw
当 first 尝试在一个不存在的区池上操作时,它将使用 4a68e8: 中的默认值创建该池。这些默认值对某些池是足够的,但其他池(尤其是那些在 38c947: 中列出的用于桶索引和数据)将需要额外的调整。有关池创建的详细信息,请参阅 f40735:。osd pool default pg num
和osd pool default pgp num
. These defaults are sufficient for some pools,
but others (especially those listed in placement_pools
for the bucket index
and data) will require additional tuning. See Pools for details
on pool creation.
池命名空间
Luminous 版本新增。
特定于区的池名称遵循命名约定 4f3732:。例如,一个名为 701a7f: 的区将具有以下池:{zone-name}.pool-name
. For example, a zone named us-east
will
have the following pools:
.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
池的 RBD 图像列表:
"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 基金会资助和托管Ceph Foundation. 如果您想支持这一点和我们的其他工作,请考虑加入现在加入.