Rings connect the account, container, and object services. Rings also provide load balancing and failover for services that are running on multiple nodes.

1

If you are logged out, log back in to the Object Storage service.

a

Using SSH, log in to the VMware Integrated OpenStack manager.

b

From the VMware Integrated OpenStack manager, use SSH to log in to the Object Storage node.

c

Switch to root user.

sudo su -
2

Create the account, container, and object rings.

cd /etc/swift
swift-ring-builder account.builder create 18 3 1
swift-ring-builder container.builder create 18 3 1
swift-ring-builder object.builder create 18 3 1
3

Add a storage device to each ring.

swift-ring-builder account.builder add z1-10.111.160.31:6002/sdb1 100
swift-ring-builder container.builder add z1-10.111.160.31:6001/sdb1 100
swift-ring-builder object.builder add z1-10.111.160.31:6000/sdb1 100
4

Verify the ring contents for each ring.

swift-ring-builder account.builder
swift-ring-builder container.builder
swift-ring-builder object.builder
5

Rebalance the rings.

swift-ring-builder account.builder rebalance
swift-ring-builder container.builder rebalance
swift-ring-builder object.builder rebalance
6

Ensure that the swift user owns all of the configuration files.

chown -R swift:swift /etc/swift