Issue link: https://read.uberflip.com/i/1334488
Chapter 4 95 Configuring Object Server Object Server contains the actual objects seen in our OpenStack Storage environment and the configuration of this is similar to configuring the Account Server and Container Server. Getting ready To begin with, log in to our openstack2 server. How to do it... As with configuring the Container Server, we follow a similar procedure for Object Server, creating the four different configuration files that correspond to a particular port and area on our disk. 1. We begin by creating an initial Object Server configuration file for our first node. Edit /etc/swift/object-server/1.conf with the following contents: [DEFAULT] devices = /srv/1/node mount_check = false bind_port = 6010 user = swift log_facility = LOG_LOCAL2 [pipeline:main] pipeline = object-server [app:object-server] use = egg:swift#object [object-replicator] vm_test_mode = yes [object-updater] [object-auditor] 2. We then use this to create the remaining three virtual nodes, each with their appropriate unique values, as follows: cd /etc/swift/object-server sed -e "s/srv\/1/srv\/2/" -e "s/601/602/" -e "s/LOG_LOCAL2/LOG_LOCAL3/" 1.conf | sudo tee -a 2.conf sed -e "s/srv\/1/srv\/3/" -e "s/601/603/" -e "s/LOG_LOCAL2/LOG_LOCAL4/" 1.conf | sudo tee -a 3.conf sed -e "s/srv\/1/srv\/4/" -e "s/601/604/" -e "s/LOG_LOCAL2/LOG_LOCAL5/" 1.conf | sudo tee -a 4.conf www.it-ebooks.info

