Issue link: https://read.uberflip.com/i/1334488
Chapter 4 89 2. Once complete, we enable rsync and start the service, as follows: sudo sed -i 's/=false/=true/' /etc/default/rsync sudo service rsync start How it works... The vast majority of this section was configuring rsyncd.conf appropriately. What we have done is configure various rsync modules that become targets on our rsync server. For example, the object6020 module would be accessible using the following command: rsync localhost::object6020 It would have the contents of /srv/node/3/. Configuring OpenStack Storage Service Configuring our OpenStack Storage environment is quick and simple, as it involves just adding in a uniquely generated random alpha numeric string to the /etc/swift/swift.conf file. This random string will be included in all nodes as we scale out our environment, so keep it safe. Getting ready To begin with, log in to our openstack2 server. How to do it... Configuring the main OpenStack Storage configuration file for our sandbox environment is simply done with the following steps: 1. First, we generate our random string, as follows: < /dev/urandom tr -dc A-Za-z0-9_ | head -c16; echo 2. We then create the /etc/swift/swift.conf, file adding in the following contents, including our generated random string: [swift-hash] # Random unique string used on all nodes swift_hash_path_suffix = QAxxUPkzb7lP29OJ www.it-ebooks.info

