第3章 単一バックエンドの定義


重要

本項では、単一のバックエンドのデプロイメントについて説明します。Dell Storage Center バックエンドの複数のインスタンスをデプロイするには、カスタムのバックエンド設定 が必要です。手順については、Custom Block Storage Back End Deployment Guideを参照してください。

director のデプロイメントでは、単一の Dell Storage Center バックエンドを定義する最も簡単な方法は、統合環境ファイルを使用することです。このファイルは、アンダークラウドノードの以下のパスにあります。

/usr/share/openstack-tripleo-heat-templates/environments/cinder-dellsc-config.yaml

このファイルを、編集して後で呼び出すことができローカルパスにコピーします。たとえば、~/templates/ にコピーするには、以下のコマンドを実行します。

$ cp /usr/share/openstack-tripleo-heat-templates/environments/cinder-dellsc-config.yaml ~/templates/
Copy to Clipboard Toggle word wrap

その後、コピー (~/templates/cinder-dellsc-config.yaml) を開き、必要に応じてこれを編集します。以下のスニペットに、このファイルのデフォルトの内容を示します。

# A Heat environment file which can be used to enable a
# a Cinder  Dell Storage Center ISCSI backend, configured via puppet
resource_registry:
  OS::TripleO::ControllerExtraConfigPre: ../puppet/extraconfig/pre_deploy/controller/cinder-dellsc.yaml # 
1


parameter_defaults: # 
2

  CinderEnableDellScBackend: true # 
3

  CinderDellScBackendName: 'tripleo_dellsc'
  CinderDellScSanIp: ''
  CinderDellScSanLogin: 'Admin'
  CinderDellScSanPassword: ''
  CinderDellScSsn: '64702'
  CinderDellScIscsiIpAddress: ''
  CinderDellScIscsiPort: '3260'
  CinderDellScApiPort: '3033'
  CinderDellScServerFolder: 'dellsc_server'
  CinderDellScVolumeFolder: 'dellsc_volume'
Copy to Clipboard Toggle word wrap
1
resource_registry セクションの OS::TripleO::ControllerExtraConfigPre: パラメーターは、cinder-dellsc.yaml という名前の Heat テンプレートを参照します。これは、Director がバックエンドの設定に必要なリソースをロードするために使用するテンプレートです。デフォルトでは、このパラメーターは cinder-dellsc.yaml へのパスを比較的指定します。そのため、このパラメーターをファイルへの絶対パスで更新します。
resource_registry:
  OS::TripleO::ControllerExtraConfigPre: /usr/share/openstack-tripleo-heat-templates/puppet/extraconfig/pre_deploy/controller/cinder-dellsc.yaml
Copy to Clipboard Toggle word wrap
2
parameter_defaults セクションには、バックエンドの定義が含まれます。具体的には、director が cinder-dellsc.yaml で定義されたリソースに渡す必要があるパラメーターが含まれます。
3
CinderEnableDellScBackend: true の行は、Dell Storage Center バックエンドのデフォルト設定に必要な Puppet マニフェストを使用するように director に指示します。これには、Block Storage サービスが使用するボリュームドライバー(具体的には cinder.volume.drivers.dell_storagecenter_iscsi.DellStorageCenterISCSIDriver)の定義が含まれます。

Dell Storage Center バックエンドを定義するには、適宜parameter_defaults セクションの設定を編集します。以下の表は、各パラメーターと、対応する /etc/cinder/cinder.conf 設定のリストを示します。

Expand
表3.1 Dell Storage Center の設定
パラメーター/etc/cinder/cinder.conf setting説明

CinderDellScBackendName

volume_backend_name

(必須)ボリュームのバックエンドを識別する任意の名前。

CinderDellScSanIp

san_ip

(オプション)Dell Enterprise Manager に到達するのに使用される IP アドレス。

CinderDellScSanLogin

san_login

(必須)CinderDellScSanIp の Dell Enterprise Manager にログインするためのユーザー名。デフォルトのユーザー名は Admin です。

CinderDellScSanPassword

san_password

(オプション)CinderDellScSanLogin の対応するパスワード。

CinderDellScSsn

dell_sc_ssn

(必須)使用する Dell Storage Center のシリアル番号。

CinderDellScIscsiIpAddress

iscsi_ip_address

(オプション)ボリュームおよびスナップショットの作成に使用する Dell Storage Center ISCSI IP アドレス。

CinderDellScIscsiPort

iscsi_port

(オプション)Dell Storage Center アレイの ISCSI ポート。

CinderDellScApiPort

dell_sc_api_port

(オプション)Dell Enterprise Manager の API ポート。

CinderDellScServerFolder

dell_sc_server_folder

(必須)新しいサーバー定義が配置される Dell Storage Center のServer フォルダー。

CinderDellScVolumeFolder

dell_sc_volume_folder

(必須)新しいボリュームが作成される Dell Storage Center のServer フォルダー。

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat