Installing and Configuring OpenStack (Juno) in Oracle® Solaris

Exit Print View

Updated: June 2016
 
 

How to Configure the Block Storage Node

This procedure describes a typical configuration of a block storage. For other options to configure the storage component, see Options for Cinder Configuration and Deployment.

  1. Configure the NTP client.

    See Configuring the NTP Client.

  2. Configure Cinder by either uncommenting or setting the parameters in the /etc/cinder/cinder.conf file.
    [DEFAULT]
    san_is_local=true
    volume_driver=cinder.volume.drivers.solaris.zfs.ZFSISCSIDriver
    my_ip=$VOLUME_IP
    rabbit_host=$CONTROLLER_ADMIN_NODE
    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
    
    
  3. Set parameters in the /etc/cinder/api-paste.ini file.
    [filter:authtoken]
    admin_tenant_name = service
    admin_user = cinder
    admin_password = service-password
    
  4. Grant the Cinder service access to the block storage or volume node.
    1. Access the Controller node.
    2. Issue the following command:
      controller# mysql -u root -p
      Enter password: MySQL-root-password
      mysql> grant all privileges on cinder.* to 'cinder'@'$VOLUME_IP' identified by 'service-password';
      mysql> flush privileges
      mysql> quit
  5. On the Storage node, start the Cinder services.
    storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup
    storage# svcadm enable -rs iscsi/target