Oracle® Solaris での OpenStack (Kilo) のインストールと構成

印刷ビューの終了

更新: 2016 年 6 月
 
 

ブロックストレージノードを構成する方法

この手順では、ブロックストレージの標準的な構成について説明します。ストレージコンポーネントを構成するためのその他のオプションについては、Cinder の構成と配備のためのオプションを参照してください。

  1. NTP クライアントを構成します。

    NTP クライアントの構成を参照してください。

  2. /etc/cinder/cinder.conf ファイルでパラメータをコメント解除または設定することで、Cinder を構成します。
    [DEFAULT]
    san_is_local=true
    volume_driver=cinder.volume.drivers.solaris.zfs.ZFSISCSIDriver
    my_ip=$VOLUME_IP
    glance_host=$CONTROLLER_ADMIN_NODE
    zfs_volume_base=cinder/cinder
    
    [database]
    connection = mysql://cinder:service-password@$CONTROLLER_ADMIN_NODE/cinder
    
    [keystone_authtoken]
    auth_uri = http://$CONTROLLER_ADMIN_NODE:5000/v2.0
    identity_uri = http://$CONTROLLER_ADMIN_NODE:35357
    admin_user = cinder
    admin_password = service-password
    admin_tenant_name = service
    
    [oslo_messaging_rabbit]
    rabbit_host=$CONTROLLER_ADMIN_NODE
    
  3. /etc/cinder/api-paste.ini ファイル内のパラメータを設定します。
    [filter:authtoken]
    admin_tenant_name = service
    admin_user = cinder
    admin_password = service-password
    
  4. Cinder サービスを起動します
    storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup
    storage# svcadm enable -rs iscsi/target