此过程介绍块存储的典型配置。对于配置存储组件的其他选项,请参见用于 Cinder 配置和部署的选项。
请参见配置 NTP 客户机。
[DEFAULT] san_is_local=true volume_driver=cinder.volume.drivers.solaris.zfs.ZFSISCSIDriver my_ip=$VOLUME_IP 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 [oslo_messaging_rabbit] rabbit_host=$CONTROLLER_ADMIN_NODE
[filter:authtoken] admin_tenant_name = service admin_user = cinder admin_password = service-password
storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup storage# svcadm enable -rs iscsi/target