Set Object Storage ring partition power values
You can only set the partition power parameter for new containers and their objects, so you must configure this value before initial deployment.
About this task
The default partition power value is 10. Refer to the following table to select an appropriate partition power if you use three replicas:
|
Partition Power |
Maximum number of disks |
|
10 |
~ 35 |
|
11 |
~ 75 |
|
12 |
~ 150 |
|
13 |
~ 250 |
|
14 |
~ 500 |
Setting an excessively high partition power value (for example, 14 for only 40 disks) negatively impacts replication times.
Procedure
OpenStackControlPlane CR file, openstack_control_plane.yaml, and change the value for partPower under the swiftRing parameter in the swift template:
apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
metadata:
name: openstack-control-plane
namespace: openstack
spec:
...
swift:
enabled: true
template:
swiftProxy:
replicas: 2
swiftRing:
partPower: 12
ringReplicas: 3
...
- Replace
<12>with the value you want to set for partition power.Tip You can also configure an additional object server ring for new containers. This is useful if you want to add more disks to an Object Storage service deployment that initially uses a low partition power.