After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 140 of 317

Administering OpenStack Storage 130 Getting ready Log in to the OpenStack Storage proxy server node as well as a new storage node (that will form the basis of our new zone). How to do it... To add an extra zone to our OpenStack Storage cluster, carry out the following: Proxy Server 1. We first need to add the following entries to the ring where STORAGE_LOCAL_NET_ IP is the IP address of our new node and ZONE is our new zone: cd /etc/swift ZONE=5 STORAGE_LOCAL_NET_IP=172.16.0.4 WEIGHT=100 DEVICE=sdb1 swift-ring-builder account.builder add z$ZONE-$STORAGE_LOCAL_NET_ IP:6002/$DEVICE $WEIGHT swift-ring-builder container.builder add z$ZONE-$STORAGE_LOCAL_ NET_IP:6001/$DEVICE $WEIGHT swift-ring-builder object.builder add z$ZONE-$STORAGE_LOCAL_NET_ IP:6000/$DEVICE $WEIGHT 2. We need to verify the contents of the rings by issuing the following commands: swift-ring-builder account.builder swift-ring-builder container.builder swift-ring-builder object.builder Ensure you run these commands while in the /etc/swift directory. 3. Finally, we rebalance the rings, which could take some time to run: swift-ring-builder account.builder rebalance swift-ring-builder container.builder rebalance swift-ring-builder object.builder rebalance www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook