コントローラーノードのインストールと設定

コントローラーノードのインストールと設定

このセクションは、Block Storage サービスをコントローラーノードにインストールして設定する方法を説明します。このサービスでは、ボリュームをインスタンスに提供するストレージノードが少なくとも 1 つ必要です。

コンポーネントのインストールと設定

  1. パッケージをインストールします。

    # apt-get install cinder-api cinder-scheduler
    

    debconf のプロンプトに答えます。

  1. /etc/cinder/cinder.conf ファイルを編集し、以下の作業をすべて行います。

    • [DEFAULT] セクションで、コントローラーノードの管理インターフェースの IP アドレスを使用するように``my_ip`` オプションを設定します。

      [DEFAULT]
      ...
      my_ip = 10.0.0.11
      

Block Storage を使用するための Compute の設定

  • /etc/nova/nova.conf ファイルを編集し、以下を追加します。

    [cinder]
    os_region_name = RegionOne
    

インストールの最終作業

  1. Compute API サービスを再起動します。

    # service nova-api restart
    
  2. Block Storage サービスを再起動します。

    # service cinder-scheduler restart
    # service cinder-api restart
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.