5.2.2. 풀
풀당 Ceph 배치 그룹당 Ceph 배치 그룹을 사용하여 radosgw
데몬이 생성할 풀에 적합한 개수의 배치 그룹을 계산하는 것이 좋습니다. Ceph 구성 데이터베이스에서 계산된 값을 기본값으로 설정합니다.
예제
ceph config set osd osd_pool_default_pg_num = 50 ceph config set osd osd_pool_default_pgp_num = 50
[root@mon ~]# ceph config set osd osd_pool_default_pg_num = 50
[root@mon ~]# ceph config set osd osd_pool_default_pgp_num = 50
참고
Ceph Object Gateway 인스턴스가 풀을 만들 때 Ceph 구성을 변경하면 이러한 기본값이 사용됩니다. 또는 수동으로 풀을 만들 수도 있습니다.
영역과 관련된 풀 이름은 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
-
us-east.rgw.buckets.non-ec
-
us-east.rgw.meta:users.keys
-
us-east.rgw.meta:users.email
-
us-east.rgw.meta:users.swift
-
us-east.rgw.meta:users.uid