-
Instale los paquetes adecuados.
storage# pkg install cinder python-mysql mysql-55/client
-
Configure Cinder quitando los comentarios de los parámetros o estableciendo dichos parámetros en el archivo /etc/cinder/cinder.conf.
[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
-
Inicie los servicios Cinder.
storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup
storage# svcadm enable -rs iscsi/target