더북(TheBook)

11. 내려받은 /etc/swift/proxy-server.conf 파일을 열어 다음과 같이 환경설정을 합니다. 오픈스택 공식 매뉴얼을 참고해 설정합니다.

root@controller:~# vi /etc/swift/proxy-server.conf
[DEFAULT]
…
bind_port = 8080
swift_dir = /etc/swift
user = swift
…
[pipeline:main]
pipeline = catcherrors gatekeeper healthcheck proxy-logging cache container
sync bulk tempurl ratelimit authtoken keystoneauth container-quotas account-
quotas slo dlo versioned_writes proxy-logging proxy-server
…
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true

[filter:authtoken] paste.filter_factory = keystonemiddleware.auth_token:filter_factory auth_uri = http://192.168.56.101:5000 auth_url = http://192.168.56.101:35357 memcached_servers = 192.168.56.101:11211 auth_plugin = password project_domain_name = default user_domain_name = default project_name = service username = swift password = swiftpass delay_auth_decision = True

[filter:keystoneauth] use = egg:swift#keystoneauth operator_roles = admin, user

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

[filter:cache] use = egg:swift#memcache memcache_servers = 192.168.56.101:11211

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.