18.4.7. Configuring Account Server

The Account Server is very similar to the Container Server, except that it is responsible for listing of containers rather than objects. In Unified File and Object Storage, each Red Hat Storage volume is an account.
The configurable options pertaining to account server are stored in /etc/swift/account-server/1.conf file. The following is the sample account-server/1.conf file:
devices = /srv/1/node
mount_check = false
bind_port = 6012
user = root
log_facility = LOG_LOCAL2

pipeline = gluster account-server

use = egg:swift#account

use = egg:swift#gluster 

vm_test_mode = yes

The following are the configurable options:

Table 18.7. Account Server - Configurable Default Options

Option Default Description
swift_dir /etc/swift Swift configuration directory.
devices /srv/node Mount parent directory where devices are mounted.
mount_check true Whether or not check if the devices are mounted to prevent accidentally writing to the root device.
bind_ip IP address for server to bind.
bind_port 6002 Port for server to bind.
workers 1 Number of workers to fork.
user swift Swift user.

Table 18.8. Account Server - Configurable Server Options

Option Default Description
use egg:swift#container Entry point for paste.deploy for the container server.
log_name account-server Label used when logging.
log_facility LOG_LOCAL0 Syslog log facility.
log_level INFO Logging level.