After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 103 of 317

Chapter 4 93 How it works... What we have accomplished is to create the first Account Server device node, which we named 1.conf, under the /etc/swift/swift-account directory. This defined our Account Server for node 1, which will run on port 6012. We then took this file and made the subsequent Account Servers run on their respective ports, with a search and replace, using sed. We ended up with four files, under our swift-account configuration directory, which defined the following services: account-server 1: Port 6012, device /srv/1/node, Log Level LOCAL2 account-server 2: Port 6022, device /srv/2/node, Log Level LOCAL3 account-server 3: Port 6032, device /srv/3/node, Log Level LOCAL4 account-server 4: Port 6042, device /srv/4/node, Log Level LOCAL5 Configuring Container Server Container Servers contains Object Servers seen in our OpenStack Storage environment. The configuration of this is similar to configuring Account Server. Getting ready To begin with, log in to our openstack2 server. How to do it... As with configuring the Account Server, we follow a similar procedure for Container 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 Container Server configuration file for our first node. Edit /etc/swift/container-server/1.conf with the following contents: [DEFAULT] devices = /srv/1/node mount_check = false bind_port = 6011 user = swift log_facility = LOG_LOCAL2 [pipeline:main] pipeline = container-server www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook