6.5 HP StoreAll OS User Guide

2. For the container: List the configuration, set the weight, and check the weight.
a. List the container configuration by sending this command:
[root@swift1 ~]# swift-ring-builder
/ifs1/ObjectStore6/config/swift/container.builder
Sample output:
/ifs1/ObjectStore6/config/swift/container.builder, build version 2
4096 partitions, 1.000000 replicas, 1 regions, 1 zones, 2 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 0
Devices:
id region zone ip address port name weight partitions balance meta
0 1 1 10.21.19.43 6045 node010021019043 100.00 2048 0.00
1 1 1 10.21.19.44 6048 node010021019044 100.00 2048 0.00
b. Set the container weight by sending this command:
[root@swift1 ~]# swift-ring-builder
/ifs1/ObjectStore6/config/swift/container.builder set_weight
d0r1z1-10.21.19.43:6045/node010021019043 200.00
Sample output:
d0z1-10.21.19.43:6045/node010021019043_"" weight set to 200.0
c. Check that the object builder weight has been set correctly:
[root@swift1 ~]# swift-ring-builder
/ifs1/ObjectStore6/config/swift/container.builder
Sample output:
/ifs1/ObjectStore6/config/swift/container.builder, build version 3
4096 partitions, 1.000000 replicas, 1 regions, 1 zones, 2 devices, 50.00
balance
The minimum number of hours before a partition can be reassigned is 0
Devices:
id region zone ip address port name weight partitions balance meta
0 1 1 10.21.19.43 6045 node010021019043 200.00 2048 -25.00
1 1 1 10.21.19.44 6048 node010021019044 100.00 2048 50.00
162 Using Object Store