第4章 CephFS バックエンドを使用して共有ファイルシステムサービスをデプロイする
/home/stack/templates/manila-cephfsnative-config.yaml を作成したら、アンダークラウドに stack ユーザーとしてログインします。次に、以下の環境ファイルを含めて、CephFS バックエンドを使用して共有ファイルシステムサービスをデプロイします。
-
/usr/share/openstack-tripleo-heat-templates/environments/services/ceph-mds.yaml- CephFS バックエンドを使用する場合に共有ファイルシステムサービスに必要な Ceph MDS を有効にします。 -
/usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml- Ceph クラスターをデプロイします。 -
/home/stack/templates/manila-cephfsnative-config.yaml- 3章環境ファイルの編集 で以前に作成され、/usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yamlで設定されたデフォルトをオーバーライドする設定が含まれています。
たとえば、OpenStack と Ceph の設定が /home/stack/templates/storage-environment.yaml で定義されている場合は、次を実行します。
openstack overcloud deploy --templates \ -e /home/stack/templates/storage-environment.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/services/ceph-mds.yaml \ -e /home/stack/templates/manila-cephfsnative-config.yaml \
$ openstack overcloud deploy --templates \
-e /home/stack/templates/storage-environment.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services/ceph-mds.yaml \
-e /home/stack/templates/manila-cephfsnative-config.yaml \
重要
オーバークラウドの作成時に追加の環境ファイルを渡した場合には、予定外の変更がオーバークラウドに加えられないように、ここで -e オプションを使用して環境ファイルを再度渡します。詳細は、director のインストールと使用方法ガイドの オーバークラウド環境の変更 を参照してください。