Installing and Configuring OpenStack (Juno) in Oracle® Solaris

Exit Print View

Updated: June 2016
 
 

Installing Cinder

The Cinder configuration must specify at least the following information:

  • Authorization information to authenticate with Keystone.

  • The class of volumes to be created.

How to Install and Configure Cinder

The steps in this procedure refer to the configuration of Cinder endpoint services, not the Cinder or volume node.

  1. Configure Cinder by either uncommenting or setting the parameters in the /etc/cinder/cinder.conf file.

    For the volume_driver parameter, multiple drivers are available for you to select. In the following example, only the selected driver for volume_driver is shown. The other available drivers that are commented out are excluded.

    [DEFAULT]
    volume_driver=cinder.volume.drivers.solaris.zfs.ZFSISCSIDriver
    my_ip=$CONTROLLER_ADMIN_NODE
    
    [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_tenant_name = service
    admin_user = cinder
    admin_password = service-password
    
  2. Configure parameters in the /etc/cinder/api-paste.ini file.
    [filter:authtoken]
    admin_tenant_name = service
    admin_user = cinder
    admin_password = service-password
    
  3. If iSCSI targets are configured, enable the corresponding SMF services.
    controller# svcadm enable iscsi/target stmf
  4. Enable the Cinder SMF services.
    controller# svcadm enable -rs cinder-db
    controller# svcadm enable -rs cinder-api cinder-scheduler
    

See also

See also How to Build OpenStack Block Storage on ZFS.