Cette procédure décrit une configuration type de stockage par blocs. Pour les autres options permettant de configurer le composant de stockage, voir Options pour la configuration et le déploiement de Cinder.
[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
[filter:authtoken] admin_tenant_name = service admin_user = cinder admin_password = service-password
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
storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup storage# svcadm enable -rs iscsi/target