The proxy server takes each request for an object and looks up locations for the account, container, or object and routes the requests correctly. The proxy server also handles API requests.

1

If you are logged out, log back in to the Object Storage service.

a

Using SSH, log in to the VMware Integrated OpenStack manager.

b

From the VMware Integrated OpenStack manager, use SSH to log in to the controller01 node.

c

Switch to root user.

sudo su -
2

Create the /etc/swift/proxy-server.conf file.

[DEFAULT]
bind_port = 8080
user = swift
 
[pipeline:main]
#pipeline = healthcheck cache authtoken keystoneauth proxy-server
pipeline = healthcheck tempurl authtoken keystoneauth proxy-server
 
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true
 
[filter:keystoneauth]
use = egg:swift#keystoneauth
operator_roles = _member_,admin,swiftoperator
 
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
 
# Delaying the auth decision is required to support token-less
# usage for anonymous referrers ('.r:*').
delay_auth_decision = true
 
# auth_* settings refer to the Keystone server
auth_protocol = http
auth_host = INTERNAL VIP
auth_port = 35357
 
# the service tenant and swift username and password created in Keystone
admin_tenant_name = service
admin_user = swift
admin_password = password
 
[filter:cache]
use = egg:swift#controller
 
[filter:catch_errors]
use = egg:swift#catch_errors
 
[filter:healthcheck]
use = egg:swift#healthcheck

[filter:tempurl]
use = egg:swift#tempurl
3

For the auth_host setting, provide the internal VIP.

You can now create and configure the Object Storage rings. See Create and Configure Object Storage Rings.