Installing and Configuring OpenStack in Oracle® Solaris 11.2

Exit Print View

Updated: April 2015
 
 

How to Configure the Block Storage Node

  1. Install the appropriate packages.
    storage# pkg install cinder python-mysql mysql-55/client
  2. Configure Cinder by either uncommenting or setting the parameters in the /etc/cinder/cinder.conf file.
    [DEFAULT]
    san_is_local=true
    my_ip=storage-IP
    rabbit_host=controller-fqdn
    glance_host=controller-IP
    zfs_volume_base=cinder/cinder
    
    [database]
    connection = mysql://cinder:service-password@controller-fqdn/cinder
    
    [DEFAULT]
    san_is_local=true
    my_ip=$VOLUME_IP
    rabbit_host=$CONTROLLER_ADM_NODE
    glance_host=$CONTROLLER_ADM_NODE
    zfs_volume_base=cinder/cinder
    
    [database]
    connection = mysql://cinder:cinder@$CONTROLLER_ADM_NODE/cinder
    
    [keystone_authtoken]
    auth_uri = http://$CONTROLLER_ADM_NODE:5000/v2.0
    identity_uri = http://$CONTROLLER_ADM_NODE:35357
    admin_user = cinder
    admin_password = service-password
    admin_tenant_name = tenant
    
  3. Start the Cinder services
    storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup
    storage# svcadm enable -rs iscsi/target