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

  1. If you are logged out, log back in to the Object Storage service.
    1. Using SSH, log in to the VMware Integrated OpenStack manager.
    2. From the VMware Integrated OpenStack manager, use SSH to log in to the controller01 node.
    3. Switch to root user.
      sudo su -
  2. Create the /etc/rsyncd.conf file.
    Note:
    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
  3. For the address setting, provide the IP address of the controller01 node.
  4. Change the RSYNC_ENABLE setting in the /etc/default/rsync file to true.
    RSYNC_ENABLE=true
  5. Start the rsync service.
    service rsync start
  6. 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.