Swift/設定ファイルの作成
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
] [
リンク元
]
開始行:
*Swift/設定ファイルの作成 [#n8998c6b]
準備として、[[インストール>Swift/インストール方法]]は終わ...
インストールのページ同様、[[Swift All In Oneのページ>http...
設定項目の詳細についてはSwiftのページの[[Deployment Guide...
またそのため、構成としては1台のPC上で全てのサーバを動かす...
*各種設定ファイルの作成 [#s3689b93]
SwiftにはAuthサーバ、proxyサーバ、Containerサーバ、Object...
AuthサーバとProxyサーバ以外は、それぞれ4つ動かしており、...
設定内容は、[[Swift All In Oneのページ>http://swift.opens...
$userは使用しているユーザ名に置き換えてください。各種サー...
なお、これらの設定ファイルを生成するスクリプトも作成して...
/etc/swift/auth-server.conf
[DEFAULT]
user = $user
[pipeline:main]
pipeline = auth-server
[app:auth-server]
use = egg:swift#auth
default_cluster_url = http://127.0.0.1:8080/v1
# Highly recommended to change this.
super_admin_key = devauth
devauthは管理用パスワードとして機能し、後の操作で使用しま...
/etc/swift/proxy-server.conf
[DEFAULT]
bind_port = 8080
user = $user
[auth]
[pipeline:main]
pipeline = healthcheck cache auth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
[filter:auth]
use = egg:swift#auth
[filter:healthcheck]
use = egg:swift#healthcheck
[filter:cache]
use = egg:swift#memcache
/etc/swift/account-server/1.conf
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6012
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/account-server/2.conf
[DEFAULT]
devices = /srv/2/node
mount_check = false
bind_port = 6022
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/account-server/3.conf
[DEFAULT]
devices = /srv/3/node
mount_check = false
bind_port = 6032
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/account-server/4.conf
[DEFAULT]
devices = /srv/4/node
mount_check = false
bind_port = 6042
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/container-server/1.conf
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6011
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/container-server/2.conf
[DEFAULT]
devices = /srv/2/node
mount_check = false
bind_port = 6021
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/container-server/3.conf
[DEFAULT]
devices = /srv/3/node
mount_check = false
bind_port = 6031
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/container-server/4.conf
[DEFAULT]
devices = /srv/4/node
mount_check = false
bind_port = 6041
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/object-server/1.conf
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6010
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
/etc/swift/object-server/2.conf
[DEFAULT]
devices = /srv/2/node
mount_check = false
bind_port = 6020
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
/etc/swift/object-server/3.conf
[DEFAULT]
devices = /srv/3/node
mount_check = false
bind_port = 6030
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
/etc/swift/object-server/4.conf
[DEFAULT]
devices = /srv/4/node
mount_check = false
bind_port = 6040
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
終わったら続いて[[起動用スクリプトの作成>Swift/起動用スク...
*スクリプトからの生成 [#pcdbcd97]
添付してあるスクリプトから生成する場合は、以下のように実...
# swift_conf_gen <user> <count> <dev> <devauth>
~<user>にはユーザ名、<count>はデータを保存するサーバの数...
//*注意点 [#i118c4d6]
//Authサーバなら[auth-server]のように、サーバの名前と同じ...
//[[Swift All In Oneのページ>http://swift.openstack.org/d...
//※現行のバージョンでは省いても動作するようです。
*リンク [#n2007f4f]
-[[Swift All In One>http://swift.openstack.org/developmen...
-[[Deployment Guid>http://swift.openstack.org/deployment_...
-[[Installing Object Storage (Swift)>http://wiki.openstac...
-[[Configuring OpenStack Object Store (Swift)>http://wiki...
終了行:
*Swift/設定ファイルの作成 [#n8998c6b]
準備として、[[インストール>Swift/インストール方法]]は終わ...
インストールのページ同様、[[Swift All In Oneのページ>http...
設定項目の詳細についてはSwiftのページの[[Deployment Guide...
またそのため、構成としては1台のPC上で全てのサーバを動かす...
*各種設定ファイルの作成 [#s3689b93]
SwiftにはAuthサーバ、proxyサーバ、Containerサーバ、Object...
AuthサーバとProxyサーバ以外は、それぞれ4つ動かしており、...
設定内容は、[[Swift All In Oneのページ>http://swift.opens...
$userは使用しているユーザ名に置き換えてください。各種サー...
なお、これらの設定ファイルを生成するスクリプトも作成して...
/etc/swift/auth-server.conf
[DEFAULT]
user = $user
[pipeline:main]
pipeline = auth-server
[app:auth-server]
use = egg:swift#auth
default_cluster_url = http://127.0.0.1:8080/v1
# Highly recommended to change this.
super_admin_key = devauth
devauthは管理用パスワードとして機能し、後の操作で使用しま...
/etc/swift/proxy-server.conf
[DEFAULT]
bind_port = 8080
user = $user
[auth]
[pipeline:main]
pipeline = healthcheck cache auth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
[filter:auth]
use = egg:swift#auth
[filter:healthcheck]
use = egg:swift#healthcheck
[filter:cache]
use = egg:swift#memcache
/etc/swift/account-server/1.conf
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6012
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/account-server/2.conf
[DEFAULT]
devices = /srv/2/node
mount_check = false
bind_port = 6022
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/account-server/3.conf
[DEFAULT]
devices = /srv/3/node
mount_check = false
bind_port = 6032
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/account-server/4.conf
[DEFAULT]
devices = /srv/4/node
mount_check = false
bind_port = 6042
user = $user
[pipeline:main]
pipeline = account-server
[app:account-server]
use = egg:swift#account
[account-replicator]
vm_test_mode = yes
[account-auditor]
[account-reaper]
/etc/swift/container-server/1.conf
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6011
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/container-server/2.conf
[DEFAULT]
devices = /srv/2/node
mount_check = false
bind_port = 6021
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/container-server/3.conf
[DEFAULT]
devices = /srv/3/node
mount_check = false
bind_port = 6031
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/container-server/4.conf
[DEFAULT]
devices = /srv/4/node
mount_check = false
bind_port = 6041
user = $user
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
[container-replicator]
vm_test_mode = yes
[container-updater]
[container-auditor]
/etc/swift/object-server/1.conf
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6010
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
/etc/swift/object-server/2.conf
[DEFAULT]
devices = /srv/2/node
mount_check = false
bind_port = 6020
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
/etc/swift/object-server/3.conf
[DEFAULT]
devices = /srv/3/node
mount_check = false
bind_port = 6030
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
/etc/swift/object-server/4.conf
[DEFAULT]
devices = /srv/4/node
mount_check = false
bind_port = 6040
user = $user
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
終わったら続いて[[起動用スクリプトの作成>Swift/起動用スク...
*スクリプトからの生成 [#pcdbcd97]
添付してあるスクリプトから生成する場合は、以下のように実...
# swift_conf_gen <user> <count> <dev> <devauth>
~<user>にはユーザ名、<count>はデータを保存するサーバの数...
//*注意点 [#i118c4d6]
//Authサーバなら[auth-server]のように、サーバの名前と同じ...
//[[Swift All In Oneのページ>http://swift.openstack.org/d...
//※現行のバージョンでは省いても動作するようです。
*リンク [#n2007f4f]
-[[Swift All In One>http://swift.openstack.org/developmen...
-[[Deployment Guid>http://swift.openstack.org/deployment_...
-[[Installing Object Storage (Swift)>http://wiki.openstac...
-[[Configuring OpenStack Object Store (Swift)>http://wiki...
ページ名: