To enable the rsync service for the Object Storage service, you must create the /etc/rsyncd.conf file, modify the default rsync configuration, and manually start the rsync service.
Procedure
- If you are logged out, log back in to the Object Storage service.
- Using SSH, log in to the VMware Integrated OpenStack manager.
- From the VMware Integrated OpenStack manager, use SSH to log in to the controller01 node.
- Switch to root user.
- Create the /etc/rsyncd.conf file.
uid = swift
gid = swift
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
address = controller01 NODE IP ADDRESS
[account]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/account.lock
[container]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/container.lock
[object]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/object.lock
- For the address setting, provide the IP address of the controller01 node.
- Change the RSYNC_ENABLE setting in the /etc/default/rsync file to true.
- Start the rsync service.
- Create the swift rcon cache directory
mkdir -p /var/swift/recon
chown -R swift:swift /var/swift/recon
What to do next
You can now configure and start the Object Storage proxy service. See Configure the Object Storage Proxy Server.