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:
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6012
user = root
log_facility = LOG_LOCAL2

[pipeline:main]
pipeline = gluster account-server

[app:account-server]
use = egg:swift#account

[filter:gluster]
use = egg:swift#gluster 

[account-replicator]
vm_test_mode = yes

[account-auditor]
[account-reaper]
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 0.0.0.0 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.