Issue link: https://read.uberflip.com/i/1334488
Chapter 4 87 Rsync is responsible for performing the replication of the objects stored in our OpenStack Storage environment. Getting ready To begin with, log in to our openstack2 server. How to do it... Configuring replication in OpenStack Storage means configuring the Rsync service. The following steps set up synchronization modules configured to represent the different ports that we will eventually configure our OpenStack Storage service to run on. As we're configuring a single server, we use different paths and different ports to mimic the multiple servers that would normally be involved. 1. We first create our /etc/rsyncd.conf file in its entirety, as follows: uid = swift gid = swift log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid address = 127.0.0.1 [account6012] max connections = 25 path = /srv/1/node/ read only = false lock file = /var/lock/account6012.lock [account6022] max connections = 25 path = /srv/2/node/ read only = false lock file = /var/lock/account6022.lock [account6032] max connections = 25 path = /srv/3/node/ read only = false lock file = /var/lock/account6032.lock [account6042] max connections = 25 path = /srv/4/node/ read only = false lock file = /var/lock/account6042.lock www.it-ebooks.info

