6.5 HP StoreAll OS User Guide

1. For the object builder configuration: List the configuration, set the weight, and check the weight.
a. List the object builder configuration by sending this command:
[root@swift1 ~]# swift-ring-builder
/ifs1/ObjectStore6/config/swift/object.builder
Sample output:
/ifs1/ObjectStore6/config/swift/object.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 6044 node010021019043 100.00 2048 0.00
1 1 1 10.21.19.44 6047 node010021019044 100.00 2048 0.00
b. Set the object builder weight by sending this command:
[root@swift1 ~]# swift-ring-builder
/ifs1/ObjectStore6/config/swift/object.builder set_weight
d0r1z1-10.21.19.43:6044/node010021019043 200.00
Sample output:
d0z1-10.21.19.43:6044/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/object.builder
Sample output:
/ifs1/ObjectStore6/config/swift/object.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 6044 node010021019043 200.00 2048 -25.00
1 1 1 10.21.19.44 6047 node010021019044 100.00 2048 50.00
Managing and monitoring Object Store 161