Issue link: https://read.uberflip.com/i/1334488
Installing OpenStack Storage 96 How it works... What we have accomplished is to create the first Object Server node configuration file, which we named 1.conf, under the /etc/swift/swift-container directory. This defined our Object Server for node 1, which will run on port 6010. We then took this file and made subsequent Object Servers run on their respective ports, with a search and replace, using sed. We end up with four files, under our swift-object configuration directory, which defined the following: object-server 1: Port 6010, device /srv/1/node, Log Level LOCAL2 object-server 2: Port 6020, device /srv/2/node, Log Level LOCAL3 object-server 3: Port 6030, device /srv/3/node, Log Level LOCAL4 object-server 4: Port 6040, device /srv/4/node, Log Level LOCAL5 The three preceding sections have seen us configure Account Servers, Object Servers, and Container Servers, each running on their respective ports. These sections all tie up to the modules configured in our rsyncd.conf file. Making the Object, Account, and Container rings The final step is to create the Object ring, Account ring, and Container ring that each of our virtual nodes exist in. Getting ready To begin with, log in to our openstack2 server. How to do it... The OpenStack Storage ring keeps track of where our data exists in our cluster. There are three rings that OpenStack Storage understands, and they are the Account, Container, and Object rings. To facilitate quick rebuilding of the rings in our cluster, we will create a script that performs the necessary steps. 1. The most convenient way to create the rings for our OpenStack Storage environment is to create a script. Create /usr/local/bin/remakerings: #!/bin/bash cd /etc/swift www.it-ebooks.info

