コントローラーノードでの作業
Swift 設定ファイル( /etc/swift/swift.conf )をバックアップします。
[root@controller ~]# cp -rp /etc/swift/swift.conf /etc/swift/swift.conf.org [root@controller ~]# [root@controller ~]# ls -la /etc/swift/ 合計 132 drwxr-xr-x. 4 swift swift 4096 10月 31 21:31 . drwxr-xr-x. 97 root root 8192 10月 28 19:20 .. -rw-r--r--. 1 root root 9618 10月 30 22:45 account.builder -rw-r--r--. 1 root root 1498 10月 30 22:45 account.ring.gz drwxr-xr-x. 2 root root 4096 10月 30 22:54 backups -rw-r-----. 1 root swift 1415 8月 23 06:13 container-reconciler.conf -rw-r--r--. 1 root root 9618 10月 30 22:50 container.builder -rw-r--r--. 1 root root 1493 10月 30 22:50 container.ring.gz -rw-r-----. 1 root swift 291 8月 23 06:13 object-expirer.conf -rw-r--r--. 1 root root 9618 10月 30 22:54 object.builder -rw-r--r--. 1 root root 1482 10月 30 22:54 object.ring.gz drwxr-xr-x. 2 root root 6 8月 23 06:14 proxy-server -rw-r-----. 1 root swift 41955 10月 28 20:46 proxy-server.conf -rw-r-----. 1 root swift 2868 8月 23 06:13 proxy-server.conf.org -rw-r-----. 1 root swift 63 8月 23 06:13 swift.conf -rw-r-----. 1 root swift 63 8月 23 06:13 swift.conf.org [root@controller ~]#
設定で必要となる一意な値をまずは取得します。取得した値は、ハッシュパスのプレフィックス(swift_hash_path_prefix)とサフィックス(swift_hash_path_suffix)の値を設定する際に使用します。
swift_hash_path_suffix に設定する一意な値を取得する [root@controller ~]# openssl rand -hex 10 d5515b9d64a8a3bbcfee [root@controller ~]# swift_hash_path_prefix に設定する一意な値を取得する [root@controller ~]# openssl rand -hex 10 0f0527b8dea0e4a60136 [root@controller ~]#
Swift 設定ファイル( /etc/swift/swift.conf )を編集し、以下設定をします。
[root@controller ~]# vi /etc/swift/swift.conf
[swift-hash] セクションに、ハッシュパスのプレフィックス(swift_hash_path_prefix)とサフィックス(swift_hash_path_suffix)を設定します。
[swift-hash] ... swift_hash_path_suffix = d5515b9d64a8a3bbcfee swift_hash_path_prefix = 0f0527b8dea0e4a60136
[storage-policy:0] セクションで、デフォルトのストレージポリシーを設定します。
[storage-policy:0] ... name = Policy-0 default = yes
Swiftの設定ディレクトリーの現在の所有権を確認します。
[root@controller ~]# ls -la /etc/ 合計 1196 〜(省略)〜 -r--r-----. 1 root root 3938 6月 27 03:07 sudoers drwxr-x---. 2 root root 61 10月 21 15:48 sudoers.d drwxr-xr-x. 4 swift swift 4096 10月 31 21:39 swift drwxr-xr-x. 6 root root 4096 10月 21 13:36 sysconfig 〜(省略)〜 [root@controller ~]#
Swiftの設定ディレクトリーに適切な所有権を設定します。
[root@controller ~]# chown -R root:swift /etc/swift [root@controller ~]#
Swiftの設定ディレクトリーの設定後の所有権を確認します。
[root@controller ~]# ls -la /etc/ 合計 1196 〜(省略)〜 -r--r-----. 1 root root 3938 6月 27 03:07 sudoers drwxr-x---. 2 root root 61 10月 21 15:48 sudoers.d drwxr-xr-x. 4 root swift 4096 10月 31 21:39 swift drwxr-xr-x. 6 root root 4096 10月 21 13:36 sysconfig 〜(省略)〜 [root@controller ~]#
オブジェクトストレージノードでの作業
オブジェクトストレージノード 1 で Swift 設定ファイルをバックアップします。
[root@object1 swift]# cp -rp /etc/swift/swift.conf /etc/swift/swift.conf.org [root@object1 swift]# [root@object1 swift]# ls -la /etc/swift/ 合計 96 drwxr-xr-x. 5 swift swift 4096 10月 31 21:40 . drwxr-xr-x. 75 root root 8192 10月 30 22:15 .. drwxr-xr-x. 2 root root 6 8月 23 06:14 account-server -rw-r-----. 1 swift swift 9913 10月 29 22:54 account-server.conf -rw-r-----. 1 swift swift 427 8月 23 06:13 account-server.conf.org -rw-r--r--. 1 root root 1498 10月 30 22:45 account.ring.gz drwxr-xr-x. 2 root root 6 8月 23 06:14 container-server -rw-r-----. 1 swift swift 11164 10月 29 22:57 container-server.conf -rw-r-----. 1 swift swift 480 8月 23 06:13 container-server.conf.org -rw-r--r--. 1 root root 1493 10月 30 22:50 container.ring.gz -rw-r-----. 1 swift swift 1181 8月 23 06:13 internal-client.conf drwxr-xr-x. 2 root root 6 8月 23 06:14 object-server -rw-r-----. 1 swift swift 18342 10月 29 23:00 object-server.conf -rw-r-----. 1 swift swift 446 8月 23 06:13 object-server.conf.org -rw-r--r--. 1 root root 1482 10月 30 22:54 object.ring.gz -rw-r-----. 1 root swift 63 8月 23 06:13 swift.conf -rw-r-----. 1 root swift 63 8月 23 06:13 swift.conf.org [root@object1 swift]#
オブジェクトストレージノード 1 でコントローラーノードから Swift 設定ファイルをコピーします。
[root@object1 swift]# scp -p root@controller:/etc/swift/swift.conf /etc/swift/ root@controller's password: swift.conf 100% 7988 8.6MB/s 00:00 [root@object1 swift]#
Swiftの設定ディレクトリーに適切な所有権を設定します。
[root@object1 swift]# chown -R root:swift /etc/swift [root@object1 swift]#
オブジェクトストレージノード 2 で Swift 設定ファイルをバックアップします。
[root@object2 swift]# cp -rp /etc/swift/swift.conf /etc/swift/swift.conf.org [root@object2 swift]# [root@object2 swift]# [root@object2 swift]# ls -la /etc/swift/ 合計 96 drwxr-xr-x. 5 swift swift 4096 10月 31 21:42 . drwxr-xr-x. 75 root root 8192 10月 30 22:20 .. drwxr-xr-x. 2 root root 6 8月 23 06:14 account-server -rw-r-----. 1 swift swift 9913 10月 30 22:27 account-server.conf -rw-r-----. 1 swift swift 427 8月 23 06:13 account-server.conf.org -rw-r--r--. 1 root root 1498 10月 30 22:45 account.ring.gz drwxr-xr-x. 2 root root 6 8月 23 06:14 container-server -rw-r-----. 1 swift swift 11164 10月 30 22:30 container-server.conf -rw-r-----. 1 swift swift 480 8月 23 06:13 container-server.conf.org -rw-r--r--. 1 root root 1493 10月 30 22:50 container.ring.gz -rw-r-----. 1 swift swift 1181 8月 23 06:13 internal-client.conf drwxr-xr-x. 2 root root 6 8月 23 06:14 object-server -rw-r-----. 1 swift swift 18342 10月 30 22:32 object-server.conf -rw-r-----. 1 swift swift 446 8月 23 06:13 object-server.conf.org -rw-r--r--. 1 root root 1482 10月 30 22:54 object.ring.gz -rw-r-----. 1 root swift 63 8月 23 06:13 swift.conf -rw-r-----. 1 root swift 63 8月 23 06:13 swift.conf.org [root@object2 swift]#
オブジェクトストレージノード 2 でコントローラーノードから Swift 設定ファイルをコピーします。
[root@object2 swift]# scp -p root@controller:/etc/swift/swift.conf /etc/swift/ root@controller's password: swift.conf 100% 7988 9.0MB/s 00:00 [root@object2 swift]#
Swiftの設定ディレクトリーに適切な所有権を設定します。
[root@object2 swift]# chown -R root:swift /etc/swift [root@object2 swift]#
コントローラーノードでの作業
プロキシーサービスと memcached サービスの自動起動を有効化します。
■ 自動起動の有効化 [root@controller ~]# systemctl enable openstack-swift-proxy.service memcached.service Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-proxy.service to /usr/lib/systemd/system/openstack-swift-proxy.service. [root@controller ~]# ■ 自動起動の状態確認 [root@controller ~]# systemctl is-enabled openstack-swift-proxy.service memcached.service enabled enabled [root@controller ~]#
プロキシーサービスと memcached サービスを再起動します。
■ 再起動 [root@controller ~]# systemctl restart openstack-swift-proxy.service memcached.service [root@controller ~]# ■ 起動状態の確認 [root@controller ~]# systemctl status openstack-swift-proxy.service memcached.service ● openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy Server Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:51:56 JST; 8s ago Main PID: 9052 (swift-proxy-ser) CGroup: /system.slice/openstack-swift-proxy.service ├─9052 /usr/bin/python2 /usr/bin/swift-proxy-server /etc/swift/proxy-server.... ├─9069 /usr/bin/python2 /usr/bin/swift-proxy-server /etc/swift/proxy-server.... └─9070 /usr/bin/python2 /usr/bin/swift-proxy-server /etc/swift/proxy-server.... 10月 31 22:51:57 controller proxy-server[9070]: Adding required filter copy to pipel...10 10月 31 22:51:57 controller proxy-server[9070]: Adding required filter listing_forma... 5 10月 31 22:51:57 controller proxy-server[9070]: Pipeline was modified. New pipeline ...". 10月 31 22:51:57 controller proxy-server[9069]: Adding required filter copy to pipel...10 10月 31 22:51:57 controller proxy-server[9069]: Adding required filter listing_forma... 5 10月 31 22:51:57 controller proxy-server[9069]: Pipeline was modified. New pipeline ...". 10月 31 22:51:57 controller proxy-server[9070]: Starting Keystone auth_token middleware 10月 31 22:51:57 controller proxy-server[9070]: AuthToken middleware is set with key...e. 10月 31 22:51:57 controller proxy-server[9069]: Starting Keystone auth_token middleware 10月 31 22:51:57 controller proxy-server[9069]: AuthToken middleware is set with key...e. Hint: Some lines were ellipsized, use -l to show in full. ● memcached.service - memcached daemon Loaded: loaded (/usr/lib/systemd/system/memcached.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 21:48:19 JST; 7s ago Main PID: 7959 (memcached) CGroup: /system.slice/memcached.service └─7959 /usr/bin/memcached -p 11211 -u memcached -m 64 -c 1024 -l 127.0.0.1,:... 10月 31 21:48:19 controller systemd[1]: Started memcached daemon. 10月 31 21:48:19 controller systemd[1]: Starting memcached daemon... Hint: Some lines were ellipsized, use -l to show in full. [root@controller ~]#
オブジェクトストレージノードでの作業
Swift アカウントサービスの自動起動を有効化します。
■ 自動起動の有効化 [root@object1 swift]# systemctl enable openstack-swift-account.service openstack-swift-account-auditor.service \ > openstack-swift-account-reaper.service openstack-swift-account-replicator.service Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-account.service to /usr/lib/systemd/system/openstack-swift-account.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-account-auditor.service to /usr/lib/systemd/system/openstack-swift-account-auditor.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-account-reaper.service to /usr/lib/systemd/system/openstack-swift-account-reaper.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-account-replicator.service to /usr/lib/systemd/system/openstack-swift-account-replicator.service. [root@object1 swift]# ■ 自動起動の状態確認 [root@object1 swift]# systemctl is-enabled openstack-swift-account.service openstack-swift-account-auditor.service openstack-swift-account-reaper.service openstack-swift-account-replicator.service enabled enabled enabled enabled [root@object1 swift]#
Swift アカウントサービスを起動します。
■ 起動 [root@object1 swift]# systemctl start openstack-swift-account.service openstack-swift-account-auditor.service \ > openstack-swift-account-reaper.service openstack-swift-account-replicator.service [root@object1 swift]# ■ 起動状態の確認 [root@object1 swift]# systemctl status openstack-swift-account.service openstack-swift-account-auditor.service openstack-swift-account-reaper.service openstack-swift-account-replicator.service ● openstack-swift-account.service - OpenStack Object Storage (swift) - Account Server Loaded: loaded (/usr/lib/systemd/system/openstack-swift-account.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:55:46 JST; 11s ago Main PID: 2945 (swift-account-s) CGroup: /system.slice/openstack-swift-account.service ├─2945 /usr/bin/python2 /usr/bin/swift-account-server /etc/swift/a... └─2997 /usr/bin/python2 /usr/bin/swift-account-server /etc/swift/a... 10月 31 22:55:46 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:55:46 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:55:47 object1 account-server[2945]: Started child 2997 from pare...5 ● openstack-swift-account-auditor.service - OpenStack Object Storage (swift) - Account Auditor Loaded: loaded (/usr/lib/systemd/system/openstack-swift-account-auditor.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:55:46 JST; 11s ago Main PID: 2946 (swift-account-a) CGroup: /system.slice/openstack-swift-account-auditor.service └─2946 /usr/bin/python2 /usr/bin/swift-account-auditor /etc/swift/... 10月 31 22:55:46 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:55:46 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:55:47 object1 account-auditor[2946]: Starting 2946 ● openstack-swift-account-reaper.service - OpenStack Object Storage (swift) - Account Reaper Loaded: loaded (/usr/lib/systemd/system/openstack-swift-account-reaper.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:55:46 JST; 11s ago Main PID: 2947 (swift-account-r) CGroup: /system.slice/openstack-swift-account-reaper.service └─2947 /usr/bin/python2 /usr/bin/swift-account-reaper /etc/swift/a... 10月 31 22:55:46 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:55:46 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:55:47 object1 account-reaper[2947]: Starting 2947 ● openstack-swift-account-replicator.service - OpenStack Object Storage (swift) - Account Replicator Loaded: loaded (/usr/lib/systemd/system/openstack-swift-account-replicator.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:55:46 JST; 11s ago Main PID: 2948 (swift-account-r) CGroup: /system.slice/openstack-swift-account-replicator.service └─2948 /usr/bin/python2 /usr/bin/swift-account-replicator /etc/swi... 10月 31 22:55:46 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:55:46 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:55:47 object1 account-replicator[2948]: Starting 2948 Hint: Some lines were ellipsized, use -l to show in full. [root@object1 swift]#
Swift コンテナーサービスの自動起動を有効化します。
[root@object1 swift]# systemctl enable openstack-swift-container.service \ > openstack-swift-container-auditor.service openstack-swift-container-replicator.service \ > openstack-swift-container-updater.service Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-container.service to /usr/lib/systemd/system/openstack-swift-container.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-container-auditor.service to /usr/lib/systemd/system/openstack-swift-container-auditor.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-container-replicator.service to /usr/lib/systemd/system/openstack-swift-container-replicator.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-container-updater.service to /usr/lib/systemd/system/openstack-swift-container-updater.service. [root@object1 swift]# [root@object1 swift]# systemctl is-enabled openstack-swift-container.service openstack-swift-container-auditor.service openstack-swift-container-replicator.service openstack-swift-container-updater.service enabled enabled enabled enabled [root@object1 swift]#
Swift コンテナーサービスを起動します。
[root@object1 swift]# systemctl start openstack-swift-container.service \ > openstack-swift-container-auditor.service openstack-swift-container-replicator.service \ > openstack-swift-container-updater.service [root@object1 swift]# [root@object1 swift]# [root@object1 swift]# systemctl status openstack-swift-container.service openstack-swift-container-auditor.service openstack-swift-container-replicator.service openstack-swift-container-updater.service ● openstack-swift-container.service - OpenStack Object Storage (swift) - Container Server Loaded: loaded (/usr/lib/systemd/system/openstack-swift-container.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:56:42 JST; 16s ago Main PID: 3025 (swift-container) CGroup: /system.slice/openstack-swift-container.service ├─3025 /usr/bin/python2 /usr/bin/swift-container-server /etc/swift... └─3077 /usr/bin/python2 /usr/bin/swift-container-server /etc/swift... 10月 31 22:56:42 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:56:42 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:56:43 object1 container-server[3025]: Started child 3077 from par... ● openstack-swift-container-auditor.service - OpenStack Object Storage (swift) - Container Auditor Loaded: loaded (/usr/lib/systemd/system/openstack-swift-container-auditor.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:56:42 JST; 16s ago Main PID: 3026 (swift-container) CGroup: /system.slice/openstack-swift-container-auditor.service └─3026 /usr/bin/python2 /usr/bin/swift-container-auditor /etc/swif... 10月 31 22:56:42 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:56:42 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:56:43 object1 container-auditor[3026]: Starting 3026 ● openstack-swift-container-replicator.service - OpenStack Object Storage (swift) - Container Replicator Loaded: loaded (/usr/lib/systemd/system/openstack-swift-container-replicator.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:56:42 JST; 16s ago Main PID: 3027 (swift-container) CGroup: /system.slice/openstack-swift-container-replicator.service └─3027 /usr/bin/python2 /usr/bin/swift-container-replicator /etc/s... 10月 31 22:56:42 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:56:42 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:56:43 object1 container-replicator[3027]: Starting 3027 ● openstack-swift-container-updater.service - OpenStack Object Storage (swift) - Container Updater Loaded: loaded (/usr/lib/systemd/system/openstack-swift-container-updater.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:56:42 JST; 16s ago Main PID: 3028 (swift-container) CGroup: /system.slice/openstack-swift-container-updater.service └─3028 /usr/bin/python2 /usr/bin/swift-container-updater /etc/swif... 10月 31 22:56:42 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:56:42 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:56:43 object1 container-updater[3028]: Starting 3028 Hint: Some lines were ellipsized, use -l to show in full. [root@object1 swift]#
Swift オブジェクトサービスの自動起動を有効化します。
[root@object1 swift]# systemctl enable openstack-swift-object.service openstack-swift-object-auditor.service \ > openstack-swift-object-replicator.service openstack-swift-object-updater.service Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-object.service to /usr/lib/systemd/system/openstack-swift-object.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-object-auditor.service to /usr/lib/systemd/system/openstack-swift-object-auditor.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-object-replicator.service to /usr/lib/systemd/system/openstack-swift-object-replicator.service. Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-swift-object-updater.service to /usr/lib/systemd/system/openstack-swift-object-updater.service. [root@object1 swift]# [root@object1 swift]# systemctl is-enabled openstack-swift-object.service openstack-swift-object-auditor.service openstack-swift-object-replicator.service openstack-swift-object-updater.service enabled enabled enabled enabled [root@object1 swift]#
Swift オブジェクトサービスを起動します。
[root@object1 swift]# systemctl start openstack-swift-object.service openstack-swift-object-auditor.service \ > openstack-swift-object-replicator.service openstack-swift-object-updater.service [root@object1 swift]# [root@object1 swift]# systemctl status openstack-swift-object.service openstack-swift-object-auditor.service openstack-swift-object-replicator.service openstack-swift-object-updater.service ● openstack-swift-object.service - OpenStack Object Storage (swift) - Object Server Loaded: loaded (/usr/lib/systemd/system/openstack-swift-object.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:57:51 JST; 11s ago Main PID: 3105 (swift-object-se) CGroup: /system.slice/openstack-swift-object.service ├─3105 /usr/bin/python2 /usr/bin/swift-object-server /etc/swift/ob... └─3181 /usr/bin/python2 /usr/bin/swift-object-server /etc/swift/ob... 10月 31 22:57:51 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:57:51 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:57:52 object1 object-server[3105]: Started child 3181 from paren...5 ● openstack-swift-object-auditor.service - OpenStack Object Storage (swift) - Object Auditor Loaded: loaded (/usr/lib/systemd/system/openstack-swift-object-auditor.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:57:51 JST; 11s ago Main PID: 3106 (swift-object-au) CGroup: /system.slice/openstack-swift-object-auditor.service ├─3106 /usr/bin/python2 /usr/bin/swift-object-auditor /etc/swift/o... └─3184 /usr/bin/python2 /usr/bin/swift-object-auditor /etc/swift/o... 10月 31 22:57:51 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:57:51 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:57:52 object1 object-auditor[3106]: Starting 3106 10月 31 22:57:52 object1 object-auditor[3176]: Begin object audit "forever"...) 10月 31 22:57:52 object1 object-auditor[3176]: オブジェクト監査 (ALL) 「for….00 10月 31 22:57:52 object1 object-auditor[3175]: Begin object audit "forever"...) 10月 31 22:57:52 object1 object-auditor[3175]: オブジェクト監査 (ZBF) 「for….00 ● openstack-swift-object-replicator.service - OpenStack Object Storage (swift) - Object Replicator Loaded: loaded (/usr/lib/systemd/system/openstack-swift-object-replicator.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:57:51 JST; 11s ago Main PID: 3107 (swift-object-re) CGroup: /system.slice/openstack-swift-object-replicator.service └─3107 /usr/bin/python2 /usr/bin/swift-object-replicator /etc/swif... 10月 31 22:57:51 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:57:51 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:57:52 object1 object-replicator[3107]: Starting 3107 10月 31 22:57:52 object1 object-replicator[3107]: オブジェクトレプリケーター…。 10月 31 22:57:52 object1 object-replicator[3107]: オブジェクト複製パスを開始…。 10月 31 22:57:52 object1 object-replicator[3107]: ERROR creating /srv/node/v... 10月 31 22:57:52 object1 object-replicator[3107]: ERROR creating /srv/node/v... 10月 31 22:57:52 object1 object-replicator[3107]: 0.0221881866455 秒間で何も…。 10月 31 22:57:52 object1 object-replicator[3107]: オブジェクト複製が完了しま…) ● openstack-swift-object-updater.service - OpenStack Object Storage (swift) - Object Updater Loaded: loaded (/usr/lib/systemd/system/openstack-swift-object-updater.service; enabled; vendor preset: disabled) Active: active (running) since 水 2018-10-31 22:57:51 JST; 11s ago Main PID: 3108 (swift-object-up) CGroup: /system.slice/openstack-swift-object-updater.service └─3108 /usr/bin/python2 /usr/bin/swift-object-updater /etc/swift/o... 10月 31 22:57:51 object1 systemd[1]: Started OpenStack Object Storage (swi...r. 10月 31 22:57:51 object1 systemd[1]: Starting OpenStack Object Storage (sw..... 10月 31 22:57:52 object1 object-updater[3108]: Starting 3108 Hint: Some lines were ellipsized, use -l to show in full. [root@object1 swift]#
オブジェクトストレージノード2 でも上記同様の手順を実施し、オブジェクストレージノード2 の Swift アカウント、コンテナー、オブジェクトサービスを起動します。